On Jul 14, 6:53 pm, newbie <[email protected]> wrote:
> Hi There
> I am trying to basically show a polyline route on a map with heaps of
> points
> is there a limit on the number of point entries
> The load fromway points has a limit of 25 but I use load
>
>  directions = new GDirections(map);
>   GEvent.addListener(directions, 'load', onGDirectionsLoad);
>   directions.load(routes, {getPolyline:true});
>
> Also I tried using just the polyline and giving it a array of LatLngs
> but they all seem to be originating from one point I want the route
> polyline to be in an orderly fashion i.e from (40,-83) to (39.9,-83)
> and so on....
>
>   var routes='from: 40 , -83 to: 39.95653 , -83.04347 to: 41.02898 ,
> -81.97102 to: 40.62318 , -82.37682 to: 40.72463 , -82.27537........";

If you are looking for something like this:
http://www.geocodezip.com/example_geo2.asp?waypts=yes&addr1=(40,-83)&addr2=(40.72463,-82.27537)&waypt=(39.95653,-83.04347)&waypt=(41.02898,-81.97102)&waypt=(40.62318%20,-82.37682)&geocode=1&geocode=2

Then 25 waypoints is the maximum you can do for a dynamically
generated route.  If it is not dynamic, you can capture the pieces of
the route (25 at a time) and combine them.

What are you trying to accomplish?

  -- Larry

> Any help would be appreciated
> Cheers
> Priya
--~--~---------~--~----~------------~-------~--~----~
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