IGraphicLayer
当前激活的筛选器ID
关系
Extends
IGraphicLayer Extends Instance
继承: Instance
属性
activeFilterId
当前激活的筛选器ID
activeFilterId?: string | number
类型: string | number
allSublayers
所有子图层数组(包括嵌套的子图层)
allSublayers?: ILayer
类型: ILayer
customParameters
自定义参数
customParameters?: any
类型: any
definitionExpression
定义表达式,用于筛选要素
definitionExpression?: string
类型: string
elevationInfo
高程信息配置
elevationInfo?: IElevationInfo
类型: IElevationInfo
filters
筛选器数组
filters?: any[]
类型: any[]
fullExtent
图层的完整地理范围
fullExtent: IExtent
类型: IExtent
graphics
图层中的所有图形对象
graphics: IGraphic
类型: IGraphic
labelingInfo
标注信息配置
labelingInfo?: ILabelingInfo
类型: ILabelingInfo
modifications
修改操作数组
modifications?: unknown[]
类型: unknown[]
opacity
透明度(0-1之间)
opacity: number
类型: number
renderer
自定义渲染器
renderer?: IRenderer
类型: IRenderer
spatialReference
空间参考系统
spatialReference?: ISpatialReference
sublayers
子图层数组
sublayers?: ILayer
类型: ILayer
tileInfo
瓦片信息
tileInfo?: object
类型: object
title
实例标题
title?: string
类型: string
type
图层类型标识
type: string
类型: string
visible
是否可见
visible: boolean
类型: boolean
方法
add
添加图形对象到图层
applyEdits
applyEdits?(edits): void
参数
- edits:
any编辑参数
返回:void
on
on?(type, callback): void
参数
- type:
string事件类型 - callback:
any回调函数
返回:void
queryExtent
queryFeatures
queryObjectIds
remove
从图层中移除图形对象
render
render?(): Instance
返回:Instance
when
当实例准备就绪时执行回调
when(callback): any
参数
- callback:
Function回调函数
返回:any

BIMFlux AI
