Leaflet has a 'click' event:
map.on('click', function(e) { alert(e.latlng);});This does not appear to work when map layers are displayed on the area clicked. Is there a way to use map.on('click') so that it ignores any layers on the map?
Thanks.
أكثر...
map.on('click', function(e) { alert(e.latlng);});This does not appear to work when map layers are displayed on the area clicked. Is there a way to use map.on('click') so that it ignores any layers on the map?
Thanks.
أكثر...