Constructor
new LineLayer(options)
- Source:
options:{ serie:{ 'visibility': 'visible', 'line-cap': 'round', 'line-join': 'miter', 'line-miter-limit': 2, 'line-round-limit': 1.05, 'line-opacity': 1, 'line-color': '#ccc', 'line-translate': [0, 0], 'line-width': 1, 'line-gap-width': 0, 'line-offset': 0, 'line-blur': 0, 'line-dasharray': [1], 'line-pattern': undefined } }
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Extends
- baseLayer
Methods
buildJson(serie)
- Source:
构造json
Parameters:
| Name | Type | Description |
|---|---|---|
serie |
* |
buildStyle(serie) → {Object}
- Source:
构造style
Parameters:
| Name | Type | Description |
|---|---|---|
serie |
Returns:
- Type
- Object