Class: MapServiceLayerInfo

MapServiceLayerInfo()

new MapServiceLayerInfo()

地图服务图层信息
Source:

Methods

(async, static) createObj() → {Promise.<MapServiceLayerInfo>}

构造一个新的 MapServiceLayerInfo 对象。
Source:
Returns:
Type
Promise.<MapServiceLayerInfo>

(async, static) getLayerId() → {Promise.<int>}

获取地图服务图层ID
Source:
Returns:
地图服务图层ID
Type
Promise.<int>

(async, static) getMaxScale() → {Promise.<double>}

获取地图服务图层最大缩放比
Source:
Returns:
地图服务图层最大缩放比
Type
Promise.<double>

(async, static) getMinScale() → {Promise.<double>}

获取地图服务图层最小缩放比
Source:
Returns:
地图服务图层最小缩放比
Type
Promise.<double>

(async, static) getName() → {Promise.<String>}

获取地图服务图层名称
Source:
Returns:
地图服务图层名称
Type
Promise.<String>

(async, static) getStyle() → {Promise.<String>}

获取地图服务图层样式
Source:
Returns:
地图服务图层样式
Type
Promise.<String>

(async, static) setLayerId(layerId) → {Promise.<void>}

设置地图服务图层ID
Parameters:
Name Type Description
layerId int 地图服务图层ID
Source:
Returns:
Type
Promise.<void>

(async, static) setMaxScale(maxScale) → {Promise.<void>}

设置地图服务图层最大缩放比
Parameters:
Name Type Description
maxScale double 地图服务图层最大缩放比
Source:
Returns:
Type
Promise.<void>

(async, static) setMinScale(minScale) → {Promise.<void>}

设置地图服务图层最小缩放比
Parameters:
Name Type Description
minScale double 地图服务图层最小缩放比
Source:
Returns:
Type
Promise.<void>

(async, static) setName(StrName) → {Promise.<void>}

获取地图服务图层名称
Parameters:
Name Type Description
StrName String 地图服务图层名称
Source:
Returns:
Type
Promise.<void>

(async, static) setStyle(strStyle) → {Promise.<void>}

设置地图服务图层样式
Parameters:
Name Type Description
strStyle String 地图服务图层样式
Source:
Returns:
Type
Promise.<void>