摘要: 1 let linepopup; 2 3 LineLayer.on('mouseover', function (e) { 4 5 let loc = e.layer.feature.geometry.coordinates; 6 let tooltip = e.layer.feature.prop 阅读全文
posted @ 2020-07-13 09:05 googlegis 阅读(895) 评论(0) 推荐(0) 编辑
摘要: map.on('zoomend ', function (e) { let zoom = map.getZoom(); if (zoom > 10) { map.addLayer(LineLayer); } else if (zoom <= 10) { map.removeLayer(LineLay 阅读全文
posted @ 2020-07-13 08:47 googlegis 阅读(3558) 评论(0) 推荐(0) 编辑
摘要: var labels = {}; earthquakes.on('createfeature', function (e) { var id = e.feature.id; var feature = earthquakes.getFeature(id); var center = feature. 阅读全文
posted @ 2020-07-13 08:37 googlegis 阅读(562) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title>Leaflet Web Map</title> <!-- reference to Leaflet CSS --> <link rel="stylesheet" href="https://d19vzq90twjlae.clo 阅读全文
posted @ 2020-07-13 08:36 googlegis 阅读(2231) 评论(0) 推荐(0) 编辑

坐标合肥,非典型GIS开发人员 GitHub