Got it.
We do our own note processing and so we don't target a map nor hidden
directions.
var oDirections = new GDirections();
was resulting in error 500 for GDirections when using WALKING mode.
However:
var oDirections = new GDirections(null,
document.getElementById("hidden_div"));
allows us to load the WALKING directions and then process them using
our own handler:
GEvent.addListener(oDirections, "load", function() {
// ..
});
Thanks for all your assistance with this...
Cheers,
-Kevin
On Oct 28, 9:53 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Oct 28, 8:40 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > On Oct 28, 7:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > On Oct 28, 7:24 am, kevinC <[EMAIL PROTECTED]> wrote:
>
> > > > I'm finding the same thing... The strange part is that it works
> > > > correctly when strTravelMode is set to G_TRAVEL_MODE_DRIVING, however
> > > > when I go into WALKING MODE, I get an Error Code 500.
>
> > > > When I look at the firebug response for the JS call, I can't
> > > > distinguish any failure of the nav.js (see included)
>
> > > > Here is the code I'm using:
>
> > > Please, please, please post a link to you map, not code...
> > > Not enough information...
>
> > > Are you providing a place to put the text directions?
>
> Described in the
> documentation:http://code.google.com/apis/maps/documentation/services.html#TravelModes
>
>
>
> > Walking directions work for me:
>
> http://www.geocodezip.com/example_geo2.asp?addr1=Meyersville,%20NJ&ad...
>
>
>
>
>
> > > -- Larry
>
> > > > I'm using v2 for the Google Map API
>
> > > > -Kevin- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---