Commit 54b6aae3 authored by 耿迪迪's avatar 耿迪迪

人员定位轨迹查询

parent 8a13e9da
...@@ -156,14 +156,18 @@ ...@@ -156,14 +156,18 @@
}, },
/**清除marker*/ /**清除marker*/
clearMarker(){ clearMarker(){
if(this.markers){
this.markers.forEach(item =>{ this.markers.forEach(item =>{
this.gaoMap.map.remove(item); this.gaoMap.map.remove(item);
}) })
}
}, },
/**清除pipe*/ /**清除pipe*/
clearPipeLine(){ clearPipeLine(){
if(this.pipeLine){
this.gaoMap.map.remove(this.pipeLine); this.gaoMap.map.remove(this.pipeLine);
} }
}
}, },
computed: { computed: {
......
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