Compare commits

..

2 Commits

Author SHA1 Message Date
zhaoyu 4768e5ce32 Merge remote-tracking branch 'origin/dev' 2023-12-27 20:16:18 +08:00
zhaoyu 9377031997 初始化两次地图bug修复 2023-12-27 20:15:23 +08:00
2 changed files with 1512 additions and 1460 deletions

View File

@ -29,7 +29,6 @@
} }
function onLoad() { function onLoad() {
map = new T.Map('mapDiv');
var imageURL = "http://t0.tianditu.gov.cn/img_w/wmts?" + var imageURL = "http://t0.tianditu.gov.cn/img_w/wmts?" +
"SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles" + "SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles" +
"&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=e8a16137fd226a62a23cc7ba5c9c78ce"; "&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=e8a16137fd226a62a23cc7ba5c9c78ce";