Methods
(async, static) createObj() → {Promise.<LayerEnum>}
构造一个新的LayerEnum对象
- Source:
Returns:
- Type
- Promise.<LayerEnum>
(async, static) init(layers) → {boolean}
初始化图层列表
Parameters:
| Name | Type | Description |
|---|---|---|
layers |
Array | 图层列表 |
- Source:
Returns:
- Type
- boolean
(async, static) moveToFirst() → {boolean}
移动至第一个
- Source:
Returns:
- Type
- boolean
(async, static) moveToLast() → {boolean}
移动至最后
- Source:
Returns:
- Type
- boolean
(async, static) next() → {Promise.<MapLayer>}
获取下一个MapLayer
- Source:
Returns:
- Type
- Promise.<MapLayer>
(async, static) prev() → {Promise.<MapLayer>}
获取前一个MapLayer
- Source:
Returns:
- Type
- Promise.<MapLayer>