What's going on here in CreatePolygon() ?
     var i, p;
     ...
     Polygons[i] = new Array();
'i' is undefined, did you really mean to set Polygons[undefined] to an
empty array?   I'm amazed it works at all, but it does seem to.

Observing the mouse cursor when rubber-banding your line is giving a
hint ;  sometimes its a grabby hand, sometimes its a pointy finger.
Your line is created 'clickable' by default ; what happens if the user
clicks on your stretchy line?  I think you need to set the line
options as non-clickable so that the click gets to the map listener.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to