소스 검색

轨迹实现

skcj 3 달 전
부모
커밋
55aa7a7d7d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      ruoyi-ui/src/components/AmApN/index.vue

+ 1 - 0
ruoyi-ui/src/components/AmApN/index.vue

@@ -246,6 +246,7 @@ export default {
         this.wllabel.setMap(this.map);
         this.marker.on('moving',  (e) => {
           this.passedPolyline.setPath(e.passedPath);
+
           this.map.setCenter(e.target.getPosition(),true);
           this.wllabel.setPosition(e.target.getPosition());
           this.wllabel.setContent("<div style='border:3px dashed #0925b6; width: 200px;color: blue'>时间:"+ this.lineArrSj[e.index]+"<br/>"+this.lineArrAdree[e.index]+"</div>");