摘要:
const testGeoJOSN = () => { // 加载 GeoJSON 数据 map.addSource("geojson", { type: "geojson", data: china, generateId: true, }); map.addLayer({ id: "china" 阅读全文
posted @ 2023-09-27 16:10
槑孒
阅读(964)
评论(0)
推荐(0)
摘要:
map.on("click", "china", (e) => { console.log(e); console.log(e.features); }); 很疑惑?事件在输出时,features给过滤掉了 阅读全文
posted @ 2023-09-27 15:23
槑孒
阅读(72)
评论(0)
推荐(0)