leaflet底图切换
<body> <div id='map'></div> <button onclick="setLayer('china')">china</button> <button onclick="setLay...
头条 leaflet缓冲区查询
map.on('click', event => { if (resultLayer) resultLayer.remove(); const { ...
头条 leaflet子图层点击显示数据
使用tiledVectorLayer添加子图层,可以点击的时候弹出对应的数据const layers = L.supermap.tiledVectorLayer(layerData[0].url, { layersI...
leaflet实现可拖动的园与矩形
使用的插件是Leaflet.Editable和Path.Drag.js<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="view...
leaflet自定义maker的弹窗
leaflet自定义popup弹窗我是用的是react,popup弹窗里面使用的是antd组件,一般popup弹窗里面是原生的HTML,如果需要使用antd的组件,那么需...
Leaflet地物查询
http://172.16.9.126:8090/iserver/iClient/forJavaScript/examples/leaflet/editor.html#02_getFeatureBySQL