Skip to content

m-gis核心库 v0.4.4


m-gis核心库 / ImageryUtil

类: ImageryUtil ​

定义于: liteUtils/ImageryUtil.ts:8

构造函数 ​

构造函数 ​

new ImageryUtil(viewer?): ImageryUtil

定义于: liteUtils/ImageryUtil.ts:11

参数 ​

viewer? ​

Viewer

返回 ​

ImageryUtil

属性 ​

Instance ​

static Instance: ImageryUtil

定义于: liteUtils/ImageryUtil.ts:9


Viewer ​

static Viewer: Viewer | undefined

定义于: liteUtils/ImageryUtil.ts:10

方法 ​

addImagery() ​

static addImagery(layer): void

定义于: liteUtils/ImageryUtil.ts:24

添加影像图层

参数 ​

layer ​

ImageryLayer

返回 ​

void


addImageryByType() ​

static addImageryByType(imageryProviderType, imageryType?): void

定义于: liteUtils/ImageryUtil.ts:34

添加影像图层

参数 ​

imageryProviderType ​

ImageryProviderType

在线地图的类型,"TMap"--天地图,"GMap"--谷歌地图,"AMap"--高德地图,"BMap"--百度地图,"ArcGIS"--ArcGIS

imageryType? ​

ImageryType

地图底图类型

返回 ​

void


addOfflineImagery() ​

static addOfflineImagery(options): ImageryLayer

定义于: liteUtils/ImageryUtil.ts:38

参数 ​

options ​
credit? ​

string

maximumLevel ​

number

minimumLevel ​

number

rectangle? ​

Rectangle

tilingScheme? ​

GeographicTilingScheme

url ​

string

返回 ​

ImageryLayer


clear() ​

static clear(): void

定义于: liteUtils/ImageryUtil.ts:113

移除场景中所有影像图层

返回 ​

void


getAllImagery() ​

static getAllImagery(): any[] | undefined

定义于: liteUtils/ImageryUtil.ts:86

获取场景中所有影像图层

返回 ​

any[] | undefined


lower() ​

static lower(layer): void

定义于: liteUtils/ImageryUtil.ts:120

参数 ​

layer ​

ImageryLayer

返回 ​

void


lowerToBottom() ​

static lowerToBottom(layer): void

定义于: liteUtils/ImageryUtil.ts:125

参数 ​

layer ​

ImageryLayer

返回 ​

void


raise() ​

static raise(layer): void

定义于: liteUtils/ImageryUtil.ts:130

参数 ​

layer ​

ImageryLayer

返回 ​

void


raiseToTop() ​

static raiseToTop(layer): void

定义于: liteUtils/ImageryUtil.ts:135

参数 ​

layer ​

ImageryLayer

返回 ​

void


removeDefaultLayers() ​

static removeDefaultLayers(): void

定义于: liteUtils/ImageryUtil.ts:105

移除默认图层

返回 ​

void


removeImagery() ​

static removeImagery(layer?): void

定义于: liteUtils/ImageryUtil.ts:95

移除场景中指定的影像图层

参数 ​

layer? ​

ImageryLayer

返回 ​

void


setTheme() ​

static setTheme(theme): void

定义于: liteUtils/ImageryUtil.ts:64

设置主题

参数 ​

theme ​

"darkBlue" | "darkGreen" | "darkRed" | "darkYellow" | "lightBlue" | "lightGreen" | "lightRed" | "lightYellow"

主题

返回 ​

void

MGis 地理三维库