mirror of https://gitee.com/antv-l7/antv-l7
25 lines
642 B
Markdown
25 lines
642 B
Markdown
---
|
||
title: 点图层
|
||
order: 3
|
||
---
|
||
|
||
`markdown:docs/common/style.md`
|
||
|
||
用户在地球模式下使用点图层无需做额外的操作,L7 会自动识别地球模式并相关的转化
|
||
|
||
## 使用
|
||
|
||
地球点图层通过 `PointLayer` 和 `EarthLayer` 实例化
|
||
|
||
```javascript
|
||
import { PointLayer, EarthLayer } from '@antv/l7';
|
||
```
|
||
|
||
<img src="https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*ck1XSZ4Vw0QAAAAAAAAAAAAAARQnAQ" style="display: block; margin: 0 auto" alt="L7 地球点图层" width="450px" >
|
||
|
||
[在线案例](../../../../examples/earth/point#point)
|
||
|
||
### 配置项
|
||
|
||
其余配置和 [PontLayer](../../point_layer/pointlayer) 一致
|