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