# Class: SyncLayerOption

## SyncLayerOption()

#### new SyncLayerOption()

同步图层选项

Source:
  - SyncLayerOption.js, line 9

### Methods

#### (async, static) createObjByParmeters() → {Promise.<SyncLayerOption>}

构造一个新的 SyncLayerOption 对象。

Source:
  - SyncLayerOption.js, line 19

##### Returns:

Type
  Promise.<SyncLayerOption>

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

获取同步图层ID

Source:
  - SyncLayerOption.js, line 35

##### Returns:

同步图层ID

Type
  Promise.<String>

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

获取同步图层ID

##### Parameters:

Name | Type | Description
--- | --- | ---
`strLayerId` | String | 同步图层ID

Source:
  - SyncLayerOption.js, line 49

##### Returns:

Type
  Promise.<void>