mirror of https://gitee.com/antv-l7/antv-l7
docs: 官网文档完善
This commit is contained in:
parent
0270130adb
commit
cac3886d99
|
@ -4,15 +4,14 @@ order: 3
|
|||
---
|
||||
|
||||
WindLayer 用于将存储风场信息的图片,设置其风速线采样相关参数,将采样后的风场线的走向、强度通过可视化的方式在地图上呈现出来。
|
||||
|
||||
<img width="60%" style="display: block;margin: 0 auto;" alt="案例" src='https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*CPveRqBxBwkAAAAAAAAAAAAAARQnAQ' />
|
||||
|
||||
## 使用
|
||||
|
||||
```jsx
|
||||
import { WindLayer } from '@antv/l7';
|
||||
```
|
||||
|
||||
<img width="80%" style="display: block;margin: 0 auto;" alt="案例" src='https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*CPveRqBxBwkAAAAAAAAAAAAAARQnAQ' />
|
||||
|
||||
## API
|
||||
|
||||
### source
|
||||
|
@ -60,10 +59,6 @@ layer.animate(true);
|
|||
1.0: '#d53e4f'
|
||||
}
|
||||
|
||||
## 配置项
|
||||
[在线案例](../../examples/wind/basic#wind)
|
||||
|
||||
`markdown:docs/common/layer/options.md`
|
||||
|
||||
`markdown:docs/common/layer/layer_ctr.md`
|
||||
|
||||
`markdown:docs/common/layer/layer_event.md`
|
||||
`markdown:docs/common/layer/base.md`
|
||||
|
|
Loading…
Reference in New Issue