qinbo
2021-11-30 7992e2d6ad570379fd98f8673f67c062fc547ee5
撒点 bug fix
1个文件已修改
16 ■■■■■ 已修改文件
widgetsTS/taxiRouteReplay/widget.js 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxiRouteReplay/widget.js
@@ -83,11 +83,17 @@
          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:"编号:" +
@@ -105,9 +111,9 @@
            "<tr><td>CO:</td><td align= right>" + item["co"] + '&nbsp' + "</td><td>mg/m³</td></tr>" +
            "</table>" 
          });
          this.routeLayer.addGraphic(PointEntity);
          this.routeLayer.flyTo();
          this.routeLayer.addGraphic(CircleEntity);
        }
        this.routeLayer.flyTo();
    }
    setSingleTaxiReplayData(datas) {