HI all,

First i'm sorry for not providing a demo and thank for being kind
enough to give me some pointer.

As for the GeoLocation i do already have a geolocation cache to speed
up thing, so i only convert geoLocation if the location is more then 6
month old or there is no location yet.

Please keep in mind that my javascript is not optimized yet.

There's a example of what i have done and is working fine :

http://www.royaume.com/google_test1.php?type=network

On this example you can see all the Polyline already configured.

Now with the same data but trying to link each different point with
GDirection  :

http://www.royaume.com/google.php?type=network

You will see that there is missing link, and if you reload the link
will change, you will also notice a longer delay before the map finish
loading.

I hope there is enough information for you guys to give me some help,
if not please feel free to ask.

Regards
Spidersea


On Dec 15, 1:52 am, "[email protected]" <[email protected]>
wrote:
> On Dec 14, 7:08 pm, Spidersea <[email protected]> wrote:
>
>
>
> > Hi all,
>
> > Right now i'm using google map api to show up around 100/150 point.
>
> > Those point show up correctly with there respective icon.
>
> > If i Link them with createPolyline everything work fine.
>
> > If i try to link them with GDirections, i have no problem if i have
> > less then 5 link.
>
> > If i try to link the 100+ point together using GDirections, everytime
> > i reload the page there is between 2 to 5 link showing up and none of
> > them is the same as the previous display of the page.
>
> > What i need on the map to be view is a link following all the road so
> > using basic polyline is not suitable for this.
>
> > So i was wondering if there is some special setting to apply to have
> > GDirections work with more then 5 anchors or if i should use something
> > else and if so what should i do.
>
> The best thing to do would be not to do it every time you load the
> page.  If the 100/150 points are always the same, generate the
> directions for them, save the polyline (or encode it) then save it
> along with the points.
> I use this page:http://www.geocodezip.com/example_geo2.asp
> It allows me to create an xml file that I can display with a API based
> page.
>
> If you can't do that you will have to add some code to listen for
> GDirections "errors" and when the error is G_GEO_TOO_MANY_QUERIES
> (620), delay and try again.
> You should be able to do 25 waypoints per GDirections query.
>
> If none of the above helps, read and follow the posting guidelines
> (post a link to your map that shows the problem...)
>
>   -- Larry
>
>
>
> > Thank in advance for your time.
> > Cédric
--~--~---------~--~----~------------~-------~--~----~
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