of the Google Maps Javascript API V3 Demo Gallery:
http://code.google.com/intl/sv-SE/apis/maps/documentation/javascript/demogallery.html
the route doesn't appear if the travelMode is set to BICYCLING.
Line 47 of example source:
travelMode: google.maps.DirectionsTravelMode.DRIVING
How to display the BICYCLING route in this example?
Thanks and regards.
So you should check what that status actually is (hint: it returns
"ZERO RESULTS"). I suspect that the mapping for Australia doesn't
include the bicycle routing that can be found in the US. (I checked in
a few places around Sydney, and always got the status "ZERO RESULTS".)
- Jeff
On Dec 3, 1:07 pm, samz <alf....@gmail.com> wrote:
> Hello,
> In this example(*):http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-directions...
>
> of the Google Maps Javascript API V3 Demo Gallery:http://code.google.com/intl/sv-SE/apis/maps/documentation/javascript/...
When you calculate directions, you may specify
which transportation mode to use. By default,
directions are calculated as driving directions. The following
travel modes are currently supported:
driving (default) 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).