On Dec 3, 9:39 am, Aiswarya krishna <[email protected]> wrote:
> I have drawn route taking waypoints.when i click on a button i want to
> redraw the map with new points.how will i do this?

There is an undocumented (or at least it was when I first heard about
it) property of the route "via_waypoints":
http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=via_waypoints&qt_g=Search+this+group

Which may let you do that.  It is conceivable that you could have more
than 8 waypoints in that array, in which case you wouldn't be able to
recreate the route with a single call in the Free API (23 waypoints
with a premier license).

You could capture the route information (polyline and steps, etc) then
redraw the polyline and any markers (not easy).  Proof of concept
example:
http://www.geocodezip.com/v3_GoogleEx_directions-draggable2Xml.html

Note that to meet the terms of use, any data captured this way _must_
be for use on a Google Map.

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to