const myPane = map.createPane('myPaneName')
myPane.style.zIndex = 300
L.marker([50.505, 30.57], { pane: myPane, icon: icon })
L.geoJSON(features, {
pane: myPane
}).addTo(map)
【leaflet】用自定义pane实现图层顺序调整
于 2024-02-04 09:45:06 首次发布