修复矢量瓦片尺寸设置错误

This commit is contained in:
lin
2025-11-13 17:12:42 +08:00
parent ec7567c2cd
commit 865ee8cee9
2 changed files with 2 additions and 1 deletions

View File

@@ -151,6 +151,7 @@ export default {
tileUrl += `?geoCoordSys=${this.mapTileList[this.mapTileIndex].coordinateSystem}&accessToken=${this.$store.getters.token}`
let source = new VectorTileSource({
format: new MVT(),
tileSize: 256,
url: tileUrl
})
let layer = new VectorTileLayer({