javascript - Google Maps dynamic URL generation -


i have source , destination coordinates , plot path between two. using google maps urls generated maps website have seen them search , pin-point place names. since pass source , destination coordinates have no idea how done.

a sample url https://maps.google.com/maps?saddr=wall+street,+new+york,+ny,+united+states&daddr=new+york,+ny&hl=en&sll=40.714353,-74.005973&sspn=0.312274,0.441513&geocode=fuunbqidpriw-ynxkrreplrcitea7wmmak6ydw%3bfxfabqidk8kw-yk7cd_tpu_citfi_nfhbo8lya&oq=wall&mra=ls&t=m&z=16

here can see name of place passed 1 set of coordinates. enlighten me on how can map source , destination coordinates. hence

a sample url https://maps.google.com/maps?saddr=(sourcecoordinate)&daddr=(destinationcoordinates)&hl=en&typeofdirections=walking

the last point still stuck..

this works me: https://maps.google.com/maps?saddr=40,-117&daddr=45,-114&hl=en


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -