标签:fun leaflet move layer lse class UNC 根据 line
map.on(‘zoomend ‘, function (e) { let zoom = map.getZoom(); if (zoom > 10) { map.addLayer(LineLayer); } else if (zoom <= 10) { map.removeLayer(LineLayer); } });
标签:fun leaflet move layer lse class UNC 根据 line
原文地址:https://www.cnblogs.com/googlegis/p/13291451.html