//解决位置偏移var loadCount = 1; map.addEventListener("tilesloaded",function() { if (loadCount == 1) { map.setCenter(point); } loadCount = loadCount + 20; })
var loadCount = 1;map.addEventListener("tilesloaded",function() { if (loadCount == 1) { map.setCenter(point); } loadCount = loadCount + 20;})
原文地址:https://www.cnblogs.com/wcnwcn/p/9959204.html
时间: 2024-11-05 17:17:45