Hi,
When the page is loaded it should show the map and driving directions
of :
Ter Zale 30, 8200 Brugge, Belgium to Keizerstraat 16, 8310 Brugge,
Belgium (in travel mode walking).
That works fine. Under the destination adres (here Keizerstraat 16,
8310 Brugge, Belgium, or another adres typed by the user) I would like
to get the walking-distance and on the right side of the two adresses
there should be the latitude and longitude of both adresses.
The problem is that I get the map (with walking travelmode) and the
directionpanel, but not the distance and not the latitudes and
longitudes. When you press the button 'calculate distance', the
script does the same thing like it was loaded. So showing the map and
directionpanel. After pressing several times the button I get the
distance in the field and the longitudes and latitudes, and for
testing purpose the alert("test"). Sometimes you need to press the
button 5 times and sometimes 2, etc...
It seems that you have problem with the adress Ter Zale 30, so I
changed it to Ter Zale 28, because the number 30 is a new adress.
I hope this clears something out for you.
Thanks for helping me out with this problem.
On 18 jan, 11:38, Andrew Leach <[email protected]> wrote:
> On Jan 18, 10:20 am, "[email protected]" <[email protected]>
> wrote:
>
> > Hi,
>
> > Many thanks for all the helping answers, but as I said, I'm a newbie
> > in this subject. As mentioned I changed the gDir.getDistance() to
> > directions.getDistance() seehttp://www.advani.be/Getdirections.htm
>
> OK: I see seven text boxes and a button which says "calculate
> distance" in Flemish. What do I do?
>
> Please provide complete instructions of what to enter where in order
> to reproduce the problem. You know how your page works; no-one else
> does.
>
> [If I just click the button, I get a message "Sorry, Ter Zale 30, 8200
> Brugge, Belgium is niet gevonden" which doesn't bode well]
>
> 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.