use leaflet to click directly on the map to get marker data,
Bind click events directly to the map to get the information of the clicked points, rather than binding data to each point
enter image description here
Bind click events directly to the map to get the information of the clicked points, rather than binding data to each point
enter image description here