| | |
| | | positions: Cesium.Cartesian3.fromDegreesArray(position), |
| | | width: 10.0, |
| | | material: new Cesium.PolylineOutlineMaterialProperty({ |
| | | color: Cesium.Color.GREEN.withAlpha(0.2), |
| | | color: new Cesium.Color.fromCssColorString('#A6D8AE').withAlpha(0.5), |
| | | outlineWidth: 1, |
| | | outlineColor: Cesium.Color.WHITE, |
| | | outlineColor: new Cesium.Color.fromCssColorString('#A6D8AE'), |
| | | }), |
| | | clampToGround: true, |
| | | |
| | |
| | | name: name, |
| | | position: Cesium.Cartesian3.fromDegrees(res.lng, res.lat), |
| | | point: { |
| | | color: Cesium.Color.GREEN.withAlpha(0.2), |
| | | color: new Cesium.Color.fromCssColorString('#A6D8AE').withAlpha(0.5), |
| | | pixelSize: 20, |
| | | heightReference: Cesium.HeightReference.CLAMP_TO_GROUND |
| | | } |
| | |
| | | outline: true, |
| | | outlineWidth: 100, |
| | | arcType: Cesium.ArcType.RHUMB, |
| | | material: Cesium.Color.GREEN.withAlpha(0.2), |
| | | material: new Cesium.Color.fromCssColorString('#A6D8AE').withAlpha(0.5), |
| | | outline: true, // height is required for outline to display |
| | | outlineColor: Cesium.Color.WHITE, |
| | | outlineColor: new Cesium.Color.fromCssColorString('#A6D8AE') |
| | | } |
| | | }); |
| | | break; |