leaflet同时打开多个popup
目录
功能说明
leaflet同时打开多个popup
功能实现
function addMarker(map,latlng,content){
L.marker(latlng).addTo(map).bindPopup(content,{autoClose:false,closeOnClick: false}).openPopup();
}
addMarker(mymap,[35.69763, 111.4384],'1111');
addMarker(mymap,[35.70361, 111.42455],'222<');
addMarker(mymap,[35.700971, 111.432953],'333');
Some truly nice and useful information on this web site, as well I conceive the style and design has excellent features.
You re so awesome! I don t believe I have read a single thing like that before.