调整统计数据度量
This commit is contained in:
@@ -182,8 +182,10 @@ export default {
|
||||
map.clearMap()
|
||||
const center = map.getCenter()
|
||||
map.on('click', () => {
|
||||
map.setZoomAndCenter(11, center)
|
||||
map.setFitView()
|
||||
map.setCenter(center)
|
||||
map.setPitch(0)
|
||||
|
||||
this.mapDialog = false
|
||||
})
|
||||
this.values.filter(e => e.lng).map((e) => {
|
||||
@@ -199,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.setZoomAndCenter(16, [e.lng, e.lat])
|
||||
map.setCenter(16, [e.lng, e.lat])
|
||||
map.setPitch(60)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -54,7 +54,7 @@ export default {
|
||||
return num / 10000000 + "千万"
|
||||
}
|
||||
|
||||
if (num >= 10000) {
|
||||
if (num >= 100000) {
|
||||
return num / 10000 + "万"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user