Adding same google map search to my site -


i have google map few markers on it. when user clicks get directions button, i'd search box same functionality google map's. when users type address/postcode in it, "directions" button , if clicked on calculate , draw distance between address typed in , closest marker it. i've had @ api, page https://developers.google.com/maps/documentation/javascript/places couldn't find matches google search box , functionalities. know if above doable?

you can use places search box far implementing similar google maps. however, you've said, rather places, can away input box, unless need places data. if need directions, you'll want incorporate directions api. input box origin , nearest marker destination, can calculate directions.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -