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
- DRIVING
{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"}
- WALKING
{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"}
- BICYCLING
{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"}
Tutorials for the googleMaps plugin
Tutorials for the googleDirections plugin
Tutorials for the googleDirections_to_here plugin
|