googleDirections - To Here - plugin Tutorial 03: Travel Modes
Written by kksou   
Wednesday, 08 February 2012

This is part 3 of a series of tutorial for the googleDirections - To Here - 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_tohere width=320 height=360 dir_width=275 mode=driving
    home_addr="900 N Point St, San Francisco, CA 94109"}
    

    You can use this address for testing: 333 Post St, San Francisco, CA 94108

    MapDirections
    Coming from:

  3. WALKING
  4. {googleDir_tohere width=320 height=360 dir_width=275 mode=walking 
    home_addr="900 N Point St, San Francisco, CA 94109"}
    

    You can use this address for testing: 333 Post St, San Francisco, CA 94108

    MapDirections
    Coming from:

  5. BICYCLING
  6. {googleDir_tohere width=320 height=360 dir_width=275 mode=bicycling 
    home_addr="900 N Point St, San Francisco, CA 94109"}
    

    You can use this address for testing: 333 Post St, San Francisco, CA 94108

    MapDirections
    Coming from:

Tutorials for the googleMaps plugin

Tutorials for the googleDirections plugin

Tutorials for the googleDirections_to_here plugin


 
< Prev   Next >

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