WiseMapServer

WiseMapServer

加载WiseMapServer服务

Constructor

new WiseMapServer(element)

Parameters:
Name Type Description
element Object
Properties
Name Type Attributes Description
parentId String <optional>

父节点ID

url String <optional>

WiseMap服务地址

resourceId Array <optional>

WiseMap服务需要为数组,值为MapDefinition

type String <optional>

WiseMap

userName String <optional>

仅WiseMap服务需要

password String <optional>

仅WiseMap服务需要

Extends

Methods

(async) createWiseMapLayers(viewer)

Overrides:

创建图层

Parameters:
Name Type Description
viewer Object

场景对象

(async) init() → {Promise}

Overrides:

获取服务数据

Returns:
Type
Promise

loadSession() → {Promise}

Overrides:

获取服务Session

Returns:
Type
Promise