随笔分类 - leaflet
踩过的坑
摘要:问题点:因为腾讯地图是用到加密的GCJ02火星坐标系,跟WGS84是有20-700m的偏移的,所以要用到gcoord纠偏 代码如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport
阅读全文
摘要:vue3 leaflet this._map is null,this._map is undefined,listener not found Cannot read properties of null (reading '_latLngToNewLayerPoint')此类问题 这个是vue3
阅读全文