googleDirections plugin Tutorial 03: Travel Modes
Written by kksou   
Thursday, 05 January 2012

This is part 3 of a series of tutorial for the googleDirections plugin.

When displaying Google directions, you need to specify which transportation mode to use. The following travel modes are currently supported by Google:

  • DRIVING indicates standard driving directions using the road network.
  • WALKING requests walking directions via pedestrian paths & sidewalks (where available).
  • BICYCLING
  • requests bicycling directions via bicycle paths & preferred streets (currently only available in the US).

If you do not specify any travel mode, the default used is DRIVING.


Travel Modes

  1. DRIVING
  2. {googleDir width=360 height=360 dir_width=275 mode=driving
    from="333 Post St, San Francisco, CA 94108" 
    to="900 N Point St, San Francisco, CA 94109"}
    

    MapDirections

  3. WALKING
  4. {googleDir width=360 height=360 dir_width=275 mode=walking 
    from="333 Post St, San Francisco, CA 94108" 
    to="900 N Point St, San Francisco, CA 94109"}
    

    MapDirections

  5. BICYCLING
  6. {googleDir width=360 height=360 dir_width=275 mode=bicycling
    from="333 Post St, San Francisco, CA 94108" 
    to="900 N Point St, San Francisco, CA 94109"}
    

    MapDirections

Tutorials for the googleMaps plugin

Tutorials for the googleDirections plugin

Tutorials for the googleDirections_to_here plugin


 

Add comment


Security code
Refresh

< Prev   Next >

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