@ -138,7 +138,8 @@ const MAPCONFIGS = {
Map_units: 'degrees', // 单位 m/degrees等
Map_axisOrientation: 'neu', // 轴
Map_global: false, // 全球
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) {