-.-....-.---.-- -..-......----.. ---..---.-.-..- --....-....----
This commit is contained in:
		| @@ -182,8 +182,8 @@ export default { | ||||
|         map.clearMap() | ||||
|         const center = map.getCenter() | ||||
|         map.on('click', () => { | ||||
|           map.setFitView() | ||||
|           map.setCenter(center) | ||||
|           map.setFitView() | ||||
|           map.setPitch(0) | ||||
|  | ||||
|           this.mapDialog = false | ||||
| @@ -201,7 +201,7 @@ export default { | ||||
|             this.mapDialog = true | ||||
|             this.$nextTick(() => { | ||||
|               this.$refs.mapInfoWin.innerHTML = e.infoWindowHtml || [`<div class="infoWin">`, `<b>${e.label}</b>`, '</div>'].join('') | ||||
|               map.setCenter(16, [e.lng, e.lat]) | ||||
|               map.setZoomAndCenter(16, [e.lng, e.lat]) | ||||
|               map.setPitch(60) | ||||
|             }) | ||||
|           }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user