I need to create an interface to create routes. The user will click
over the map for every point of the route s/he wants to create...
every click will generate a loadFromWatPoints of the GDirections
object... the problem is that this call will clear the map, clearing
the previous part of the route.

One solution is passing the entire array every time to the
loadFromWayPoints, function- which is a bad solution indeed.

Maybe the more efficient solution would be to parse myself the results
of this call (I think I can do it if i don't specify a map on the
constructor...). Another solution is creating a new GDirections object
everytime, but this is not efficient.


Does anyone knows the better approach?


Thanks,

Sergi.

-- 
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