Class: VectorLayer

VectorLayer()

new VectorLayer()

Source:

Methods

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

通过int类型的VectorLayreType构造一个新的 VectorLayer 对象。
Source:
Returns:
Type
Promise.<VectorLayer>

(async, static) generateUUID() → {String}

生成一个UUID字符串
Source:
Returns:
UUID对应的字符串
Type
String

(async, static) getFields() → {Promise.<Fields>}

获取字段集合
Source:
Returns:
返回Fields对象
Type
Promise.<Fields>

(async, static) getMinVisibleGeomSize() → {Number}

获取最小可见图形大小
Source:
Returns:
最小可见图形大小 -- double类型
Type
Number

(async, static) getRegBorderLinInfo() → {Promise.<LinInfo>}

获取区域边界线图形信息
Source:
Returns:
成功返回线图形信息
Type
Promise.<LinInfo>

(async, static) getSymbolScale() → {Number}

获取符号比
Source:
Returns:
符号比 -- double类型
Type
Number

(async, static) getTransparency()

获取透明度
Source:
Returns:
透明度,0-100 默认为0,表示不透明。

(async, static) isFollowZoom() → {boolean}

是否跟随缩放
Source:
Returns:
Type
boolean

(async, static) isSymbolShow() → {Promise.<*>}

获取是否符号化显示
Source:
Returns:
Type
Promise.<*>

(async, static) setFollowZoom(followZoom) → {Promise.<Void>}

设置是否跟随缩放
Parameters:
Name Type Description
followZoom boolean 跟随缩放
Source:
Returns:
Type
Promise.<Void>

(async, static) setMinVisibleGeomSize(minVisibleGeomSize)

设置最小可见图形大小
Parameters:
Name Type Description
minVisibleGeomSize Number 最小可见图形大小 -- double类型
Source:
Returns:

(async, static) setRegBorderLinInfo(linInfo) → {Promise.<Void>}

设置区域边界线图形信息
Parameters:
Name Type Description
linInfo LinInfo 线图形信息
Source:
Returns:
Type
Promise.<Void>

(async, static) setSymbolShow(symbolShow) → {Promise.<void>}

设置符号化显示
Parameters:
Name Type Description
symbolShow
Source:
Returns:
Type
Promise.<void>

(async, static) setTransparency(transparency) → {Promise.<void>}

设置透明度,0-100 默认为0,表示不透明
Parameters:
Name Type Description
transparency Number 透明度 -- 处于short数值范围的int类型的Number
Source:
Returns:
1:成功,0:失败。
Type
Promise.<void>