Thanks Mike, that was it. I clobbered my GPolyline "lines" array with
"var lines=xml.documentElement.getElementsByTagName('line')" later on
the same page. Nothing like a different pair of eyes - damn that was
stupid of me, thanks again.

On Mar 2, 4:05 pm, Mike Williams <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to