On Oct 7, 11:14 am, "Jim Higson (Aberystwyth University)"
<[EMAIL PROTECTED]> wrote:
> On Oct 7, 11:07 am, "Barry Hunter" <[EMAIL PROTECTED]>
> In your code you have:
>
> function get_directions(thatform) {
>         saddr = thatform.saddr.value;
>         daddr = thatform.daddr.value;
>
>         dirn.load("from: "+saddr+" to: "+daddr, {getSteps:true});
>
>         return false;
>
> }

A little more investigation, and it seems the {getSteps:true} is what
makes this work.

On our test page, not passing that GDirectionsOptions in (and getting
the API from .co.uk) causes directions to fail for cities such as
Birmingham. Whereas with that they return as usual.

I'm still not completely convinced this isn't an issue with a cache
somewhere between us and Google, but seems to work for now.

Jim

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to