master
lion 3 months ago
parent 7706ab4be5
commit 22f16c9ad2

@ -138,7 +138,8 @@ const MAPCONFIGS = {
Map_units: 'degrees', // 单位 m/degrees等
Map_axisOrientation: 'neu', // 轴
Map_global: false, // 全球
MAP_center: [120.6126391, 31.3029816], // 定义中心点
MAP_center: [120.6126391, 31.3029816], // 定义中心点
// [113.85630301,22.63856214]
Map_Zooms: [12, 23, 10], // 定义地图初始层级、最大层级、最小层级
Map_ID: 'maps' // 地图标识ID
}

@ -724,9 +724,7 @@ export default {
center: [longitude, latitude], //
rotation: undefined,
duration: 1000
})
// this.map.getView().setCenter([longitude, latitude])
this.map.render()
})
},
//
showPlayBack(gps, name, branch, model, plate) {

Loading…
Cancel
Save