Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
Object |
构造参数
|
Members
查询图层对象在集合中的位置
Methods
添加图层
Name | Type | Description |
---|---|---|
layer |
Object | 特效图层 |
集合中是否包含图层对象
Name | Type | Description |
---|---|---|
layer |
Object |
销毁对象
获取指定位置的图层对象
Name | Type | Description |
---|---|---|
index |
Object |
查询图层对象在指定图层集合中的位置
Name | Type | Description |
---|---|---|
layers |
Object | |
layer |
Object |
对象是否被销毁
拾取效果图层的要素
Name | Type | Description |
---|---|---|
windowPosition |
Cartesian2 | 画布坐标 |
limit |
Number | 最大拾取层数 |
eventType |
Number | 事件类型 |
Returns:
返回固定形态的结构集合
Example:
//返回结构参考样例
[{
houseCode: fwCode,
floorCode: floor,
eventType: ScreenSpaceEventType.LEFT_CLICK,
originalLayer: geoSingleBuildingLayer
param:{
info: pickedFeature,
pickedInfos: pickedFeatureList
}
}]
移除图层
Name | Type | Description |
---|---|---|
layer |
Object | 图层对象 |
destroy |
Object | 是否销毁对象 |
移除所有图层对象
Name | Type | Description |
---|---|---|
destroy |
Object | 是否销毁对象 |