点击缩放层级改成16

This commit is contained in:
aixianling
2023-09-20 15:36:18 +08:00
parent c300e4072b
commit 7e1bf238a2

View File

@@ -199,7 +199,7 @@ export default {
this.mapDialog = true
this.$nextTick(() => {
this.$refs.mapInfoWin.innerHTML = e.infoWindowHtml || [`<div class="infoWin">`, `<b>${e.label}</b>`, '</div>'].join('')
map.setZoomAndCenter(18, [e.lng, e.lat])
map.setZoomAndCenter(16, [e.lng, e.lat])
map.setPitch(60)
})
})