# Class: VectorLayer

## VectorLayer()

#### new VectorLayer()

Source:
  - VectorLayer.js, line 18

### Methods

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

通过int类型的VectorLayreType构造一个新的 VectorLayer 对象。

Source:
  - VectorLayer.js, line 39

##### Returns:

Type
  Promise.<VectorLayer>

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

生成一个UUID字符串

Source:
  - VectorLayer.js, line 290

##### Returns:

UUID对应的字符串

Type
  String

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

获取字段集合

Source:
  - VectorLayer.js, line 236

##### Returns:

返回Fields对象

Type
  Promise.<Fields>

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

获取最小可见图形大小

Source:
  - VectorLayer.js, line 174

##### Returns:

最小可见图形大小 -- double类型

Type
  Number

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

获取区域边界线图形信息

Source:
  - VectorLayer.js, line 271

##### Returns:

成功返回线图形信息

Type
  Promise.<LinInfo>

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

获取符号比

Source:
  - VectorLayer.js, line 57

##### Returns:

符号比 -- double类型

Type
  Number

#### (async, static) getTransparency()

获取透明度

Source:
  - VectorLayer.js, line 207

##### Returns:

透明度,0-100 默认为0,表示不透明。

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

是否跟随缩放

Source:
  - VectorLayer.js, line 145

##### Returns:

Type
  boolean

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

获取是否符号化显示

Source:
  - VectorLayer.js, line 116

##### Returns:

Type
  Promise.<*>

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

设置是否跟随缩放

##### Parameters:

Name | Type | Description
--- | --- | ---
`followZoom` | boolean | 跟随缩放

Source:
  - VectorLayer.js, line 161

##### Returns:

Type
  Promise.<Void>

#### (async, static) setMinVisibleGeomSize(minVisibleGeomSize)

设置最小可见图形大小

##### Parameters:

Name | Type | Description
--- | --- | ---
`minVisibleGeomSize` | Number | 最小可见图形大小 -- double类型

Source:
  - VectorLayer.js, line 193

##### Returns:

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

设置区域边界线图形信息

##### Parameters:

Name | Type | Description
--- | --- | ---
`linInfo` | LinInfo | 线图形信息

Source:
  - VectorLayer.js, line 257

##### Returns:

Type
  Promise.<Void>

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

设置符号化显示

##### Parameters:

Name | Type | Description
--- | --- | ---
`symbolShow` |  |

Source:
  - VectorLayer.js, line 131

##### Returns:

Type
  Promise.<void>

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

设置透明度,0-100 默认为0,表示不透明

##### Parameters:

Name | Type | Description
--- | --- | ---
`transparency` | Number | 透明度 -- 处于short数值范围的int类型的Number

Source:
  - VectorLayer.js, line 222

##### Returns:

1：成功，0：失败。

Type
  Promise.<void>