Thank you - really apprecaite it

On Jun 9, 12:22 am, "[email protected]" <[email protected]>
wrote:
> On Jun 8, 4:07 pm, Graham <[email protected]> wrote:
>
>
>
>
>
>
>
> > On this link
>
> >http://www.cs.nott.ac.uk/~gxk/download/map.html
>
> > (which is based on the google maps example)
>
> > I am able to capture various elements (straight line distance, driving
> > distance etc.) as is evidenced by the GLog display and the message
> > under the map.
>
> > However, I cannot display the driving distance under the map. It
> > simply displays as its initialised value. I know the function is
> > working (as it displays in GLog), so it must be something to do with
> > the syncronous nature of the map?
>
> > Is there a way I can display all the correct information under the
> > map?
>
> Yes.  Update the "message" div with the driving distance in the
> GDirections "load" listener.
> (right now you have it updated "after" it in the code, but it is
> executed before the "load" event happens).
>
>   -- Larry
--~--~---------~--~----~------------~-------~--~----~
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