With your polygons you use the arrays polys[] = XML Elements polygons[] = GPolygons
With your polylines you use the arrays lines[] = XML Elements You can enableEditing on a GPolygon or a GPolyline. You can't enableEditing on an XML Element that contains information about a polyline. Try creating a polylines[] array similar to your polygons[] array, then polylines[polylines.length-1].enableEditing -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
