laurenceokite / hop-to

0 stars 0 forks source link

Add div for Starting Location #9

Closed alexo-a closed 4 years ago

alexo-a commented 4 years ago

Allow user to input via current location or provided address where they'd like the trip to start (and end) at.

alexo-a commented 4 years ago

Put this button/divs in the area right of the Breweries/Tour toggle, only when the user is on the Tour

TheBobbyLlama commented 4 years ago

When this div closes, it will need to call into Bing Maps API to get latitude/longitude, and fill them into startingLatitude and startingLongitude. Then it can call refreshMap() to update the tour route.

You can use the API call in initialize() as a guide. The div should also use the existing starting address elements to store and retrieve from.