> The problem: If the user drags a Marker to another position or deletes > a Marker, I use the functions deleteVertex(i) and insertVertex(i, > point), but the Polyline display's the new position of the Marker, > but also the old position is hold in the line.So the line gets to many > bends. The Gpolyline doesn’t reflect the deletion of the old point.
Your webpage calls for API version 2.111, but it doesn't get it. It will now get 2.140 as described here - http://groups.google.com/group/Google-Maps-API/browse_thread/thread/bef32423e1b0fba2# See this issue - http://code.google.com/p/gmaps-api-issues/issues/detail?id=971 There's a problem with calling deleteVertex() on polylines between versions 2.119 and 2.141. It doesn't work unless you've called enableEditing() on the polyline. Fix : go to version 2.142 or higher Have you seen this tool? http://gmaps-samples.googlecode.com/svn/trunk/poly/mymapstoolbar.html cheers, Ross K > > The procedure has worked correct; I think before going to API version > 2.140 (10-07-2009). > > Can anybody give me some advice to correct the procedure? > > I tried to start a discussion on this subject already on 27/07, but > get no response. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
