| | |
| | | var road = new mars3d.graphic.CorridorPrimitive({ |
| | | positions: positions, |
| | | style: { |
| | | width: 80, |
| | | opacity: 0.75, |
| | | width: 150, |
| | | opacity: 1, |
| | | //closure: true, |
| | | height: 0, |
| | | cornerType: Cesium.CornerType.MITERED, |
| | | diffHeight: qindex == "co" ? 1000 * attr[qindex] : attr[qindex] || attr[qindex] == "/" ? 3000 : attr[qindex],//高度 |
| | | diffHeight: qindex == "co" ? 500 * attr[qindex] : attr[qindex] || attr[qindex] == "/" ? 2000 : attr[qindex],//高度 |
| | | color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex]), |
| | | // material: mars3d.MaterialUtil.createMaterial(mars3d.MaterialType.LineFlow, { |
| | | // //动画线材质 |