On Nov 25, 10:48 am, Maxo <[email protected]> wrote:
> i have a problem. I know that in google maps, the
> GDirections.loadFromWayPoints has limit of 25 GLatLng objects.

That limitation is there for a reason.

>
> So i what i want is to make a route of, maybe, 300 points.

Is it a fixed route?  Or will the user be allowed to change it?

>
> how can i do that? because the solution i thought was using arrays of
> 25 positions, and then do the loadFromWaypoints, another array of 25
> positions, and loadFromWayPoints..
>
> can i reuse dinamycally my Gdirection object?

Probably not the way you are thinking.

> So each time i have 25
> positions in the array, i make my GDirection object and i use
> loadFromWaypoints..  then i start filling the array and again...
> and my loop stops when i have no more points in my database...

The GDirections service is subject to a quota and rate limit, doing
that will probably take some time.

>
> please help

Have you searched the group?  This question has come up before.
Do you have a link to your map?

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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