Commit 974a7389 authored by 耿迪迪's avatar 耿迪迪

巡检签到 坐标中心点设置

parent b71e900a
......@@ -331,7 +331,7 @@ export default {
},
initGaoMap(data){
this.$nextTick(() => {
let gaomap = new gaodeMap(process.env.VUE_APP_MAP_CENTER);
let gaomap = new gaodeMap(process.env.VUE_APP_MAP_CENTER,[data.longitude,data.latitude]);
gaomap.addMarker("",data,"false");
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment