drum
drum

Reputation: 5661

Getting coordinates by clicking over a circle overlay

I have a script that gets the coordinate of a map by clicking. At the same time, there are circle overlays spread across the map. I can get the coordinate of anywhere but the area covered by the overlays. What is a good work-around for this problem?

Upvotes: 0

Views: 197

Answers (1)

geocodezip
geocodezip

Reputation: 161404

Either make the circles with {clickable: false} or capture the click event on the circles also

Upvotes: 1

Related Questions