master
tangwenkang 2023-12-06 10:24:29 +08:00
parent 2544a33651
commit 2dc2a21795
1 changed files with 17 additions and 17 deletions

View File

@ -105,23 +105,23 @@ export default {
}); });
this.map.add(this.marker) this.map.add(this.marker)
// // //
// this.polyline = new AMap.Polyline({ this.polyline = new AMap.Polyline({
// path: this.lineArr, path: this.lineArr,
// showDir: true, showDir: true,
// strokeColor: "#28F", //线 strokeColor: "#28F", //线
// // strokeOpacity: 1, //线 // strokeOpacity: 1, //线
// strokeWeight: 6, //线 strokeWeight: 6, //线
// // strokeStyle: "solid" //线 // strokeStyle: "solid" //线
// }); });
// this.map.add(this.polyline) this.map.add(this.polyline)
//
// // //
// this.passedPolyline = new AMap.Polyline({ this.passedPolyline = new AMap.Polyline({
// strokeColor: "#AF5", //线 strokeColor: "#AF5", //线
// strokeWeight: 6, //线 strokeWeight: 6, //线
// }); });
// this.map.add(this.passedPolyline) this.map.add(this.passedPolyline)
// marker // marker
this.marker.on('moving', (e) => { this.marker.on('moving', (e) => {