mirror of https://gitee.com/antv-l7/antv-l7
style: lint style
This commit is contained in:
parent
a43da937a1
commit
ca0cde52f2
|
@ -274,7 +274,6 @@ layer.color('type*value', (type, value) => {
|
|||
|
||||
- 也可以直接指定某一个具体的颜色值 color,如 '#fff', 'white','rgba(255,0,0,0.5)' ,rgb(255,0,1) 等。
|
||||
|
||||
|
||||
示例
|
||||
|
||||
```javascript
|
||||
|
@ -622,7 +621,7 @@ layer.setMinZoom(zoom);
|
|||
|
||||
```javascript
|
||||
activeOption: {
|
||||
color: '#f00'
|
||||
color: '#f00';
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -646,7 +645,6 @@ layer.active(false);
|
|||
|
||||
🌟 指定元素高亮不等于图层高亮,一个图层包含多个元素,一般传入 source 的数据数组中有多少单条数据,一个图层就有多少元素
|
||||
|
||||
|
||||
```javascript
|
||||
layer.setActive(featureId);
|
||||
```
|
||||
|
@ -657,7 +655,7 @@ layer.setActive(featureId);
|
|||
|
||||
```javascript
|
||||
selectOption: {
|
||||
color: '#f00'
|
||||
color: '#f00';
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue