Leaflet初体验0x1:标注,弹窗,事件

Markers, circles and polygonsnnn//添加标注nvar marker = L.marker([42.05,121.66]).addTo(mymap);n//画圆nvar circle = L.circle([42.05,121.64],n color:’red’,n fillColor:’#f03′,n fillOpacity:0.5,n radius:500n)…