> > I wonder if there's a way to turn off the listener for the overlay, > > but leave it active for the map? > > See documentation. > http://code.google.com/apis/maps/documentation/reference.html#GPolygon > refer to GPolygonOptions for {clickable : false}
Bear in mind that only disables clicks for a user created polygon ; infowindows, zoom bars etc. are all GOverlays too, so there is still a possibility of getting a click with null lat/lon. So you'd still need to modify your map click listener as Andrew suggested. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
