| | |
| | | color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex]), |
| | | alphaPower: 1.5, |
| | | //高亮时的样式(默认为鼠标移入,也可以指定type:'click'单击高亮),构造后也可以openHighlight、closeHighlight方法来手动调用 |
| | | highlight: { |
| | | color: "#ff0000", |
| | | }, |
| | | // highlight: { |
| | | // color: "#ff0000", |
| | | // }, |
| | | }, |
| | | attr: attr |
| | | }); |
| | |
| | | var circleDiffuseWallGlow = new mars3d.graphic.DiffuseWall({ |
| | | position: Cesium.Cartesian3.fromDegrees(attr["lon"], attr["lat"], 20), //圆中心点 |
| | | style: { |
| | | diffHeight: qindex == "co" ? 10 * attr[qindex] : attr[qindex], //高度 |
| | | diffHeight: qindex == "co" ? 10 * attr[qindex] : attr[qindex] || attr[qindex] == "/" ? 800 : attr[qindex], //高度 |
| | | radius: 200, //半径 |
| | | color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex]), |
| | | color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex] || "#C0C0C0"), |
| | | speed: 10, //速度 |
| | | }, |
| | | attr: attr |
| | |
| | | positions: positions, |
| | | style: { |
| | | closure: true, |
| | | diffHeight: qindex == "co" ? 10 * attr[qindex] : attr[qindex], //高度 |
| | | diffHeight: qindex == "co" ? 10 * attr[qindex] : attr[qindex] || attr[qindex] == "/" ? 500 : attr[qindex], //高度 |
| | | material: mars3d.MaterialUtil.createMaterial(mars3d.MaterialType.LineFlow, { |
| | | //动画线材质 |
| | | image: "img/textures/fence.png", |
| | | axisY: true, |
| | | color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex]), |
| | | color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex] || "#C0C0C0"), |
| | | speed: 10, //速度,建议取值范围1-100 |
| | | }), |
| | | }, |