I am working with maps. So far I’ve been able to display the data and the information which is shown on hover is correct.
Now I am looking at click events. I’d like to bind functions to click events in a way that it matters on which country I click.
Currently, I can bind a function to a click anywhere in the map. Is there a way to detect click events in a country-specific way?