> The problem occurs when clicking inside the shape (if i put 5 points
> that define a shape and the sixth inside the shape) the shape
> dissapears and firebug shows me this error: a is undefined 
> inhttp://maps.gstatic.com/intl/en_ALL/mapfiles/250a/maps2.api/main.js.

You probably want to make your new polygon non-clickable.
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GPolygonOptions.clickable
If you click on a polygon, your map click listener gets different
arguments than clicking on the bare map, and doesn't test to see if
they are valid before trying to use them.
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.click

-- 
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