You are using undocumented features in the lines
poly.enableEditing({onEvent: 'mouseover'});
poly.disableEditing({onEvent: 'mouseout'});
There is no documented option 'onEvent':
http://code.google.com/apis/maps/documentation/reference.html#GPolyEditingOptions
You're also using version 2.x which is experimental.
--
Marcelo - http://maps.forum.nu
--
On May 1, 3:45 pm, Metheus <[email protected]> wrote:
> Giving this post a bump since it cannot be found using the groups
> search (though it can be found using the normal Google search).
>
> I tried a workaround of triggering a click on the map at the point of
> the last vertex. This is close, but instead of closing the polygon,
> it added another vertex to it. I also tried triggering the click on
> the polygon, which had no effect.
>
> Perhaps if I could trigger the click on the vertex node itself. Does
> anyone know how what that little square is, how to get a hold of it,
> and what its click event looks like?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---