Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus 🗺 map on pickup area #19

Closed
9 tasks
TalAter opened this issue Nov 6, 2017 · 2 comments
Closed
9 tasks

Focus 🗺 map on pickup area #19

TalAter opened this issue Nov 6, 2017 · 2 comments

Comments

@TalAter
Copy link
Member

TalAter commented Nov 6, 2017

Knowabunga! 🐢🐢🐢🐢

This issue is tagged Knowabunga. It is only open for participants of the Knowabunga/DAV hackathon!

Thank you for your help ❤️

What is this project?

DAV (Decentralized Autonomous Vehicles) is a new foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.

The specific project you are looking at is Missions. Missions is the client facing side of the marketplace connecting DAV users looking to ship packages, with autonomous vehicles such as drones.

How you can help

When users look for a drone to pick up a package, they click order pickup, fill out a form, and click Find drones.

The next screen shows the map again, centered on the area the user was looking at and not the pickup location. To see this happening, enter the form and enter a different coordinate for the pickup location (e.g., 41.1, 23.1).

Modify the code so that when the order is submitted and the SearchingScreen is shown it will be focused on the pickup coordinates the user entered in the form. These coordinates can be found in the redux store.

You can read more about Mapbox GL JS (our mapping library) here: https://www.mapbox.com/mapbox-gl-js/example/center-on-symbol/

Contributing to Missions

  • Make sure no one has commented below that they are starting to work on this already.
  • Comment in this issue that you would like to do it.
  • Fork the repository from the Missions GitHub page.
  • Clone a copy to your local machine with $ git clone git@github.com:YOUR-GITHUB-USER-NAME/missions.git
  • Code, code, code!
  • Once you've made sure all your changes work correctly and committed all your changes, push your local changes back to github with $ git push -u origin master
  • Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/missions) and create a pull request for your changes.
  • Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: #6)
  • Get hooked on open source!
@TalAter TalAter changed the title When ordering a pickup, focus map on pickup and dropoff area When ordering a pickup, focus 🗺map on pickup and dropoff area Nov 6, 2017
@TalAter TalAter changed the title When ordering a pickup, focus 🗺map on pickup and dropoff area When ordering a pickup, focus 🗺 map on pickup and dropoff area Nov 6, 2017
@TalAter TalAter changed the title When ordering a pickup, focus 🗺 map on pickup and dropoff area Focus 🗺 map on pickup and dropoff area Nov 6, 2017
@TalAter TalAter changed the title Focus 🗺 map on pickup and dropoff area Focus 🗺 map on pickup area Nov 6, 2017
@TalAter TalAter added the Mapping label Nov 6, 2017
@TalAter
Copy link
Member Author

TalAter commented Nov 10, 2017

@filip-ph-johansson this one would be a natural extension of the work you've done so far. Would you like to pick this up?

@filip-ph-johansson
Copy link
Contributor

Yes, I'll take a look at this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants