master
tangwenkang 2023-12-05 16:29:23 +08:00
parent 9564c006de
commit 209d27973b
1 changed files with 17 additions and 17 deletions

View File

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