Hello,
I have a question about remove GPolyline after insertVertex.
like this:
map = new GMap2(document.getElementById("map_canvas"));
map.addControl(new GLargeMapControl());
map.setCenter(new GLatLng(25.039998, 121.511964), 16);
map.setMapType(G_NORMAL_MAP);
var arrLatLng = new Array();
arrLatLng.push(new GLatLng(25.039998, 121.511964));
arrLatLng.push(new GLatLng(25.043000, 121.511964));
var Line = new GPolyline(arrLatLng);
map.addOverlay(Line);
Line.insertVertex(2, new GLatLng(25.039998, 121.514964));
map.removeOverlay(Line);
But it isn't work, and the line will be 'fixed' when zoom in or zoom
out.
Is it a bug?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---