src/views/activity/components/publicIndex.vue
@@ -672,6 +672,7 @@ */ addMapLineLayers (data) { this.$parent.chooseActivityLineList = data data.forEach(item => { let maxHeight = item.altitude.split(',').reduce((pre, cur) => { return cur > pre ? cur : pre @@ -705,9 +706,9 @@ let lineObj = new global.DC.Polyline(positionNewArr) lineObj.customType = 'polyline' lineObj.setStyle({ material: lineColor, material: new global.DC.PolylineArrowMaterialProperty(lineColor), clampToGround: this.currentPlotType == 3 ? false : true, width: 3 width: 10 }) lineLayer.addOverlay(lineObj)