| | |
| | | |
| | | reloadData(new_taxi_sn) { |
| | | console.log(new_taxi_sn,"reload") |
| | | this.taxi_sn = new_taxi_sn; |
| | | this.viewWindow.resetStartQueryTaxiDataText(this.taxi_sn); |
| | | |
| | | this.viewWindow.resetStartQueryTaxiDataText(new_taxi_sn); |
| | | this.taxi_sn = new_taxi_sn; |
| | | |
| | | if (this.startGraphic) { |
| | | this.startGraphic.remove(); |
| | |
| | | } |
| | | item = changeNullAndundefinedToEmpty(item) |
| | | let color_value = this.viewWindow.getLayerPointColorByQindexandValue(1004,this.qindex, item[this.qindex]); |
| | | console.log(item,"路线item",item[this.qindex],this.viewWindow.getLayerPointColorByQindexandValue(1004,this.qindex, item[this.qindex])) |
| | | //points[Pointsdata.length] = [lon,lat] |
| | | var CorridorPrimitive = new mars3d.graphic.CorridorEntity({ |
| | | positions: [position,position2], |
| | |
| | | height: 0, |
| | | cornerType: Cesium.CornerType.BEVELED, |
| | | // radius: 8.0, |
| | | diffHeight: this.qindex == "co" ? 300 * item[this.qindex] : item[this.qindex] || item[this.qindex] == "/" ? 500 : item[this.qindex], //高度 |
| | | diffHeight: this.qindex == "co" ? 100 * item[this.qindex] : 10*item[this.qindex], //高度 |
| | | color:color_value, |
| | | opacity: 1, |
| | | // rotationDegree: 45, |