options |
Object
|
视廊分析配置参数
Properties
| Name |
Type |
Argument |
Description |
layers |
Object
|
<optional>
|
要执行分析的图层 |
startInfo |
Object
|
<optional>
|
起点信息
Properties
| Name |
Type |
Argument |
Description |
position |
array
|
object
|
<optional>
|
起点坐标,如果是数组,则下标012分别表示经度纬度高度,例:{119,120,50}。如果是对象,则需要有lon、lat、height属性。例:{lon:119,lat:120,height:50} |
width |
Number
|
<optional>
|
起点拓宽距离,默认20米。这是一半的距离,左右一共拓展的距离会乘2. |
height |
Number
|
<optional>
|
起点视廊拓展高度,默认30米。这是一半的距离,上下一共拓展的距离会乘2. |
|
endInfo |
Object
|
<optional>
|
终点信息
Properties
| Name |
Type |
Argument |
Description |
position |
array
|
object
|
<optional>
|
终点坐标,如果是数组,则下标012分别表示经度纬度高度,例:{119,120,50}。如果是对象,则需要有lon、lat、height属性。例:{lon:119,lat:120,height:50} |
width |
Number
|
<optional>
|
终点拓宽距离,默认20米。这是一半的距离,左右一共拓展的距离会乘2. |
height |
Number
|
<optional>
|
终点视廊拓展高度,默认30米。这是一半的距离,上下一共拓展的距离会乘2. |
|
style |
Object
|
<optional>
|
视廊样式
Properties
| Name |
Type |
Argument |
Default |
Description |
fillColor |
String
|
Cesium.Color
|
<optional>
|
#00ff00
|
视廊填充颜色,默认绿色 |
alpha |
Object
|
<optional>
|
0.3
|
视廊填充透明度,默认0.3 |
outlineColor |
String
|
Cesium.Color
|
<optional>
|
#0000ff
|
视廊边界线颜色,默认蓝色 |
outlineWidth |
Object
|
<optional>
|
2
|
视廊边界线宽度,默认2 |
highlightColor |
String
|
Cesium.Color
|
<optional>
|
#ff0000
|
视廊内物体颜色,默认红色 |
|
|