Google Maps directions for multiple destinations using geographical coordinates
Written by kksou   
Monday, 25 May 2009

The following sample shows how to display Google Map directions for multiple destinations using geographical coordinates (i.e. longitude and latitude) with the googleDirections plugin.

To insert a Google Map with directions using longitude and latitude, use the following syntax:

{googleDir width=400 height=360 dir_on_right=1 
from="37.4264280, -122.1660901" 
to="37.4163228,-122.0250403"
stopover="37.4476812, -122.1598134; 37.4219720,-122.0841430"}

Note: The foramt for each stopover are latitude/longitude pair delimited by ';'

Very Important! This feature only works with googleDirections plugin version 1.04/1.54 and above.

Please also refer to Google Directions with Multiple Stopovers
for more detailed description of how to display Google Directions with multiple stopovers.

Code used:

{googleDir width=400 height=360 dir_on_right=1 
from="37.4264280, -122.1660901" 
to="37.4163228,-122.0250403"
stopover="37.4476812, -122.1598134; 37.4219720,-122.0841430"}

MapDirections


 

Add comment


Security code
Refresh

< Prev   Next >

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved