Trace destination from address or zip code using Google Maps API

Asked

Viewed 648 times

0

Does anyone know how to make a map like this

http://yuejermano.com/#location/ceremony

where the person enters the address or the zip code and he traces the route to the intended destination?

I searched the Internet but couldn’t find

1 answer

0

To run this. You need 3 Google Apis: Javascript, Geocoding and Directions. Basically, what you need to do is do the geocoding request process through the zip code or the address and, if it exists. create a route using the Directions API to display on the screen. The links above describe how these processes work and how to apply them properly. The only reason I don’t give you the source code is because it’s too much work and because copying and pasting a code would be too easy. :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.