点击缩放层级改成16
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user