Instance

当前激活的筛选器ID

属性

activeFilterId

当前激活的筛选器ID

activeFilterId?: string | number

类型: string | number

allSublayers

所有子图层数组(包括嵌套的子图层)

allSublayers?: ILayer

类型: ILayer

customParameters

自定义参数

customParameters?: any

类型: any

definitionExpression

定义表达式,用于筛选要素

definitionExpression?: string

类型: string

elevationInfo

高程信息配置

elevationInfo?: IElevationInfo

filters

筛选器数组

filters?: any[]

类型: any[]

fullExtent

图层的完整地理范围

fullExtent: IExtent

类型: IExtent

labelingInfo

标注信息配置

labelingInfo?: 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

方法

applyEdits

applyEdits?(edits): void

参数

  • edits: any 编辑参数

返回:void

on

on?(type, callback): void

参数

  • type: string 事件类型
  • callback: any 回调函数

返回:void

queryExtent

queryExtent?(query): void

参数

返回:void

queryFeatures

queryFeatures?(query): void

参数

返回:void

queryObjectIds

queryObjectIds?(query): void

参数

返回:void

render

render?(): Instance

返回:Instance

when

当实例准备就绪时执行回调

when(callback): any

参数

  • callback: Function 回调函数

返回:any

BIMFlux AI