jeancochrane/mellow-bike-map

Offer "Use my location" as a start/end option for routes

Closed this issue · 1 comments

Use the geolocation API to request the user's location.

From an interface perspective, I think it would make the most sense to request the user's location when the page first loads, and if the user grants permission then show their location on the map. Then, in the Source input dropdown, offer Use my location as an option.

As of #16 we're asking for the user's location on load, rescoping this to focus on offering Use my location as a routing option.