优化
This commit is contained in:
@@ -225,7 +225,7 @@ export default {
|
|||||||
const points = e.points.map(e => new TMap.LatLng(e.lat, e.lng))
|
const points = e.points.map(e => new TMap.LatLng(e.lat, e.lng))
|
||||||
var position = TMap.geometry.computeCentroid(points)
|
var position = TMap.geometry.computeCentroid(points)
|
||||||
this.map.setCenter(position)
|
this.map.setCenter(position)
|
||||||
this.map.setZoom(15)
|
this.map.setZoom(18)
|
||||||
} else {
|
} else {
|
||||||
this.$u.toast("所选网格没有标绘!")
|
this.$u.toast("所选网格没有标绘!")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user