雷达扫描分析
Name | Type | Description | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
参数选项:
|
Example:
var radarScan = new Cesium.GeoRadarScanPrimitive({
viewer: viewer,
show:true,
longitude: 113,
latitude: 30,
radius: 100000,
enableTurn: true,
ellipsoidColor: Cesium.Color.fromCssColorString('#4193EF').withAlpha(0.4),
ellipsoidOutlineColor: Cesium.Color.fromCssColorString('#8DDBF0').withAlpha(1),
sectorColor: Cesium.Color.fromCssColorString('#D0BC23').withAlpha(0.9),
sectorOutlineColor: Cesium.Color.fromCssColorString('#D0BC23').withAlpha(0.9)
});
Demo:
Members
半球颜色
-
Default Value:
new Cesium.Color(1.0 ,1.0 ,1.0 , 1.0)
Example:
geoRadarScanPrimitive.ellipsoidColor = new Cesium.Color(1.0 ,1.0 ,1.0 , 1.0)
边线颜色
-
Default Value:
new Cesium.Color(1.0 ,1.0 ,1.0 , 1.0)
Example:
geoRadarScanPrimitive.ellipsoidOutlineColor = new Cesium.Color(1.0 ,1.0 ,1.0 , 1.0)
雷达是否翻转
-
Default Value:
false
Example:
geoRadarScanPrimitive.enableTurn = false
位置纬度
-
Default Value:
undefined
Example:
geoRadarScanPrimitive.latitude = 30
位置经度
-
Default Value:
undefined
Example:
geoRadarScanPrimitive.longitude = 113
分析半径
-
Default Value:
1000
Example:
geoRadarScanPrimitive.radius = 100000
扇形颜色
-
Default Value:
new Cesium.Color(1.0 ,1.0 ,0.0 , 1.0)
Example:
geoRadarScanPrimitive.sectorColor = new Cesium.Color(1.0 ,1.0 ,0.0 , 1.0)
扇形边线颜色
-
Default Value:
new Cesium.Color(1.0 ,1.0 ,0.0 , 1.0)
Example:
geoRadarScanPrimitive.sectorOutlineColor = new Cesium.Color(1.0 ,1.0 ,0.0 , 1.0)
雷达是否显示
-
Default Value:
true
Example:
geoRadarScanPrimitive.show = false