{"action":"created","issue":{"url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/660","labels_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/660/comments","events_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/660/events","html_url":"https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/660","id":110045116,"number":660,"title":"Map click handler","user":{"login":"joewoodhouse","id":3168135,"avatar_url":"https://avatars.githubusercontent.com/u/3168135?v=3","gravatar_id":"","url":"https://api.github.com/users/joewoodhouse","html_url":"https://github.com/joewoodhouse","followers_url":"https://api.github.com/users/joewoodhouse/followers","following_url":"https://api.github.com/users/joewoodhouse/following{/other_user}","gists_url":"https://api.github.com/users/joewoodhouse/gists{/gist_id}","starred_url":"https://api.github.com/users/joewoodhouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewoodhouse/subscriptions","organizations_url":"https://api.github.com/users/joewoodhouse/orgs","repos_url":"https://api.github.com/users/joewoodhouse/repos","events_url":"https://api.github.com/users/joewoodhouse/events{/privacy}","received_events_url":"https://api.github.com/users/joewoodhouse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T16:12:57Z","updated_at":"2015-10-06T16:39:47Z","closed_at":null,"body":"So I have an application that renders a lot of content onto the map in the form of polygons and groundoverlays. I then need the user to be able to click (anywhere) on the map, for them to indicate a location.\r\n\r\nIs there any way to catch this click, without registering a click handler on every single polygon and ground overlay displayed? As I understand events don't \"bubble\" through the layers. So if I register a click handler on the overall map, but the user clicks on a ground overlay, the event isn't going to fire.\r\n\r\nAny suggestions would be greatly welcomed.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27205319-map-click-handler?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/comments/145922366","html_url":"https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/660#issuecomment-145922366","issue_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/660","id":145922366,"user":{"login":"Hirbod","id":504909,"avatar_url":"https://avatars.githubusercontent.com/u/504909?v=3","gravatar_id":"","url":"https://api.github.com/users/Hirbod","html_url":"https://github.com/Hirbod","followers_url":"https://api.github.com/users/Hirbod/followers","following_url":"https://api.github.com/users/Hirbod/following{/other_user}","gists_url":"https://api.github.com/users/Hirbod/gists{/gist_id}","starred_url":"https://api.github.com/users/Hirbod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hirbod/subscriptions","organizations_url":"https://api.github.com/users/Hirbod/orgs","repos_url":"https://api.github.com/users/Hirbod/repos","events_url":"https://api.github.com/users/Hirbod/events{/privacy}","received_events_url":"https://api.github.com/users/Hirbod/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T16:39:47Z","updated_at":"2015-10-06T16:39:47Z","body":"Did you actually try just to add a click-event on the map?"}}