First, the examples. Both are identical, except the first uses v=2.118 in the maps api url and the second uses v=2 in the api url. Any version later than 2.118 will exibit the failure.
http://test.deltalert.com/circleTest1.xhtml - This example works. You click the circle button, you click a location on the map and more or less draw a circle. http://test.deltalert.com/circleTest2.xhtml - This example does NOT work. The only difference is that this example uses v=2 Background: Users need to draw a circle (or other polygons of other specific shape). To do this, we create an overlay when they click and then update the vertexes on the mouse move event. The vertexes are added and removed in such a way that the first and last vertex are ALWAY the same point, and there are never less than 4 vertexes in the polygon. Thus the polygon is always valid. The rendering seems to occur smoother if we hide and the show the polygon before and after update, but the code use to work either way. The code that does the added and deleting of vertexes is: http://test.deltalert.com/js/map.js at around line 934 This worked fine with v=2 as late as 1:00AM CST on Jan 6. By 7:30AM, Jan 6 the code no longer removed the vertexes resulting in a jumbled of conjoined circles. It appears that the API now requires you to be in edit mode to delete vertexes. This doesn't work in our context were we have tools to create polygons of specific shape and where we don't want users to be able to edit them. It also doesn't work because the performance of updating the vertexes in mass with the edit markers visible is to poor. Further we don't want the vertexes highlighted visually... It just looks bad. The documentation on deleteVertex is basically none-existent. It only tells me exactly what the name of the method already told me... None of the threads I've read related to it have been helpful and I've read quite a few. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
