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 
from="Stanford University~37.4264280, -122.1660901" 
to="Borders Univ Ave~37.4476812, -122.1598134
to: Google Inc.~37.4219720,-122.0841430
to: Yahoo Inc.~37.4163228,-122.0250403"}

Note: The foramt for from and to is: label, followed by '~', and then then latitude and longitude.

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

Code used:

{googleDir width=400 height=360 dir_on_right=1 
from="Stanford Unversity~37.4264280, -122.1660901" 
to="Borders Univ Ave~37.4476812, -122.1598134
to: Google Inc.~37.4219720,-122.0841430
to: Yahoo Inc.~37.4163228,-122.0250403"}

MapDirections


User reviews

There are no user reviews yet.

Note: You have to be a registered member to leave a comment. Free registration here.

 
< Prev   Next >

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