On Nov 23, 6:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Nov 23, 6:46 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> > I'm trying to bring all the points from a databse onto the Map, but I
> > need them placed on the nearest street. ( very bad GPS hardware ) The
> > problem is that the Gevent.addListener behaves strange - I can't
> > access global variables and such things.
> > The site is:http://gps.tcpcgi.net/main_map.php
> > As you can see only one point is shown - but there are 5 points. I'm
> > not so good in javascript ( usually I use more perl and php ) so maybe
> > something really easy that I don't know about javascript.
> > Thanks in advance for any help or suggestion
>
> You need to understand the asynchronous nature of
> GDirections:http://econym.org.uk/gmap/async.htm
>
> You are sending lots of requests in a loop, never waiting for the
> result.
>
> You may also want to look at this page:
> Part 17 Geocoding multiple addresseshttp://econym.org.uk/gmap/geomulti.htm
>
> -- Larry
Thanks,
I'm really not that good familiar with the hole ajax concept ... I'll
check the links you wrote me :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---