Hi there, again! xD

I've read the info on asynchronous nature of those methos.
I was getting it the wrong way.
But I still can't make some things.

I have a path, snaped to the road (the points are read from a XML
file).

I would like to have that polyline with arrows, as we can see in this
page: 
http://code.google.com/apis/maps/documentation/examples/directions-advanced.html,
when we click the direction on the left panel.

Is that possible, but on the "main" polyline (without the need for the
panel)?


Also, assuming I have multiple points on the path, is it possible to
know the distance between each (once again, without the use of the
panel) instead of knowing only the total distance?

Thanks!


On Oct 11, 4:22 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Oct 9, 10:44 am, Mini0n <[EMAIL PROTECTED]> wrote:
>
> > Hello again!
>
> > I'm trying to get those damn polylines, but got some issues...
>
> > I have successfully gather the info from the .xml, but the polylines
> > won't appear.
>
> > Locally it began giving the "a is undefined" error.
>
> > I've uploaded the code tohttp://gmapstest.awardspace.com/butit
> > might have some differences, as locally I have other things. I believe
> > I've made the correct changes, making both sites equal, except one is
> > dynamic (local) and the other is static (gmapstest).
>
> > Can you see something wrong?
>
> It looks like you don't understand the asynchronous nature of
> GXmlHttp.
>
> You send a request for 1234.xml then before it has completed, you
> reuse the request object to send a request for 5678.xml.  You have to
> wait for it to be finished before  you reuse it.
>
> See Mike Williams' explanation in his tutorial:
> Part 2 Asynchronous I/Ohttp://econym.org.uk/gmap/async.htm
>
>   -- 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