Merge branch 'master' of http://www.shsening.com:10000/r/template/shanghai
| | |
| | | if (lng && lat) { |
| | | position = Cesium.Cartesian3.fromDegrees(lng, lat); |
| | | } |
| | | var PointEntity = new mars3d.graphic.PointEntity({ |
| | | var CircleEntity = new mars3d.graphic.CircleEntity({ |
| | | position: position, |
| | | style: { |
| | | pixelSize: 6, |
| | | color: this.viewWindow.getLayerPointColorByQindexandValue(1004,this.qindex, item[this.qindex]), |
| | | radius: 8.0, |
| | | diffHeight: this.qindex == "co" ? 20 * item[this.qindex] : item[this.qindex], //高度 |
| | | color:this.viewWindow.getLayerPointColorByQindexandValue(1004,this.qindex, item[this.qindex]), |
| | | opacity: 0.5, |
| | | rotationDegree: 45, |
| | | highlight: { |
| | | opacity: 1 |
| | | } |
| | | }, |
| | | item: item, |
| | | popup:"编号:" + |
| | |
| | | "<tr><td>CO:</td><td align= right>" + item["co"] + ' ' + "</td><td>mg/m³</td></tr>" + |
| | | "</table>" |
| | | }); |
| | | this.routeLayer.addGraphic(PointEntity); |
| | | this.routeLayer.flyTo(); |
| | | this.routeLayer.addGraphic(CircleEntity); |
| | | } |
| | | this.routeLayer.flyTo(); |
| | | } |
| | | |
| | | setSingleTaxiReplayData(datas) { |