googleDirections plugin Tutorial 03: Travel Modes

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"}
    

  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"}
    

  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"}
    

Tutorials for the googleMaps plugin

Tutorials for the googleDirections plugin

Tutorials for the googleDirections_to_here plugin

Comments   

0 # Lacho 2012-10-30 16:26
Hello,
In my country the "By bus" travel mode is not available and it seems that it will take years before the transportation companies arrange something with google to add it. The reason why I am writing is because I want to ask you if there is a way of adding the routes by myself and use your extension to show directions with the "Custom Route" (regarding buses routes of my city). If it is possible could you tell how to make it possible, maybe a specific manual of "how to" using your app or an app customization applies. I know that this is not exactly what you offer with this extension, but I'm sure you have the expertise to do that and since the app accepts Google API v3 it should be possible. I'm open to receive a quotation and evaluate if I can afford it or donate (of course I'm an individual, not big money in the pocket, just wanting to make something good for my city).
Thank you!
Reply | Reply with quote | Quote

Add comment


Security code
Refresh