Thanks for your answer Andrew. The coordinates I used in the example
are random used;-)
I think the problem was that the coordinates I used in my test
application were not close enougjh to a road. I will try with other
coordinates
I'll let you know when I succeeded (will be one of these days when I'm
working again on it)
Fred
On Nov 5, 3:48 pm, "warden [Andrew Leach - Maps API Guru]"
<[EMAIL PROTECTED]> wrote:
> On Nov 5, 2:27 pm, Fred <[EMAIL PROTECTED]> wrote:
>
> > Does anybody know how to use the function
> > directions.load("from: ........ to: .......") with coordinates? Like
> > directions.load("from: 52.5666, 4.456 to: 65.677, 5.5667") for
> > example? I have search all over the place but didnt' find an answer to
> > this 'easy' question;-)
>
> That will work, but you need to make sure your locations are
> reasonably close to roads (I can't remember what the tolerance is),
> and that there is a route between them. In the case of your example,
> you get error 604, which indicates that no route can be found.
>
> In fact 52.5666, 4.456 is in the North Sea and 65.677, 5.5667 in the
> Norwegian Sea, so it's not particularly surprising...
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---