Google Maps + Directions sample 2
Written by kksou   
Wednesday, 13 May 2009

The following sample shows two maps - one with the driving directions on the left (the default), and the other with the driving directions on the right.


Directions on left

The following shows the driving directions displayed on the left.
from: 500 Memorial Drive, Cambridge, MA
to: 4 Yawkey Way, Boston, MA 02215 (Fenway Park)

code used:

{googleDir width=400 height=480 dir_width=275 
from="500 Memorial Drive, Cambridge, MA" 
to="4 Yawkey Way, Boston, MA 02215"}
MapDirections

Directions on right

The following shows the driving directions displayed on the right.

code used:

{googleDir width=400 height=480 dir_width=275 dir_on_right=1
from="500 Memorial Drive, Cambridge, MA" 
to="4 Yawkey Way, Boston, MA 02215"}

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