On Oct 7, 11:07 am, "Barry Hunter" <[EMAIL PROTECTED]>
wrote:
> I just tried it here:http://www.nearby.org.uk/google/directions.php
> works great.

Very strange. For us this seems to make no difference.

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

so the string you pass to GDirections.load when searching to
Birmingham to Aberystwyth is:

"from:Birmingham to:Aberystwyth"

which works fine on your site.

However, the exact same string for us returns
G_GEO_UNKNOWN_DIRECTIONS.

I'll take another look at this later, and provide a test URI. Most
odd!

Thanks,
Jim Higson

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