fix: 更改subscriber实体地图最大缩放级别为13

This commit is contained in:
chenjinsong
2024-01-11 17:28:45 +08:00
parent e546f39c93
commit cb93658be4

View File

@@ -301,6 +301,7 @@ export default {
this.queryData().then(res => {
this.showError = false
const result = _.get(res, 'data.data.result', []).sort((a, b) => a.stat_time - b.stat_time)
console.info(result)
const route = this.generateRouteGEOJSON(result)
const points = this.generatePointsGEOJSON(result)
this.myChart.getSource('route').setData(route)
@@ -334,7 +335,7 @@ export default {
timeFilter,
currentPoint,
tooltip,
maxZoom: 14,
maxZoom: 13,
minZoom: 1,
center: [116.38, 39.9]
}