Skip to content

m-gis核心库 v0.4.4


m-gis核心库 / LayerUtil

类: LayerUtil ​

定义于: liteUtils/LayerUtil.ts:9

构造函数 ​

构造函数 ​

new LayerUtil(viewer): LayerUtil

定义于: liteUtils/LayerUtil.ts:12

参数 ​

viewer ​

Viewer

返回 ​

LayerUtil

属性 ​

Instance ​

static Instance: LayerUtil | null = null

定义于: liteUtils/LayerUtil.ts:10


Viewer ​

static Viewer: any

定义于: liteUtils/LayerUtil.ts:11

方法 ​

clearLayerById() ​

static clearLayerById(id): void

定义于: liteUtils/LayerUtil.ts:39

参数 ​

id ​

string | number

返回 ​

void


getAllLayers() ​

static getAllLayers(): MultiLayers

定义于: liteUtils/LayerUtil.ts:20

返回 ​

MultiLayers


getEntityOverlayById() ​

static getEntityOverlayById(layerId, entityId): Overlay | undefined

定义于: liteUtils/LayerUtil.ts:57

参数 ​

layerId ​

string | number

entityId ​

string | number

返回 ​

Overlay | undefined


getHtmlOverlayById() ​

static getHtmlOverlayById(layerId, entityId): Overlay | undefined

定义于: liteUtils/LayerUtil.ts:61

参数 ​

layerId ​

string | number

entityId ​

string | number

返回 ​

Overlay | undefined


getLayerById() ​

static getLayerById(id): MultiLayer | undefined

定义于: liteUtils/LayerUtil.ts:24

参数 ​

id ​

string | number

返回 ​

MultiLayer | undefined


getLayersByType() ​

static getLayersByType(type): MultiLayers

定义于: liteUtils/LayerUtil.ts:35

参数 ​

type ​

LayerType

返回 ​

MultiLayers


getPrimitiveOverlayById() ​

static getPrimitiveOverlayById(layerId, entityId): Overlay | undefined

定义于: liteUtils/LayerUtil.ts:65

参数 ​

layerId ​

string | number

entityId ​

string | number

返回 ​

Overlay | undefined


removeLayerById() ​

static removeLayerById(id): void

定义于: liteUtils/LayerUtil.ts:46

参数 ​

id ​

string | number

返回 ​

void

MGis 地理三维库