I have a functioning leaflet map. In order for the click event to work I have to click on the area that has the event then click on an area without an event then click on the area with the event to activate the code I specified in the click event. Is there a way to make a layer active or some other way to solve this?
أكثر...
أكثر...