antv-l7/docs/api/map/earth/point.zh.md

25 lines
642 B
Markdown
Raw Normal View History

2021-10-13 16:51:20 +08:00
---
title: 点图层
order: 3
---
`markdown:docs/common/style.md`
用户在地球模式下使用点图层无需做额外的操作L7 会自动识别地球模式并相关的转化
2021-10-13 16:51:20 +08:00
## 使用
2022-01-06 14:31:18 +08:00
地球点图层通过 `PointLayer``EarthLayer` 实例化
2022-01-06 14:31:18 +08:00
```javascript
import { PointLayer, EarthLayer } from '@antv/l7';
2021-10-13 16:51:20 +08:00
```
2022-01-06 14:39:12 +08:00
2022-01-10 19:06:35 +08:00
<img src="https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*ck1XSZ4Vw0QAAAAAAAAAAAAAARQnAQ" style="display: block; margin: 0 auto" alt="L7 地球点图层" width="450px" >
2022-01-06 15:53:20 +08:00
2022-01-10 19:06:35 +08:00
[在线案例](../../../../examples/earth/point#point)
2021-10-13 16:51:20 +08:00
2022-01-06 14:31:18 +08:00
### 配置项
2022-01-06 14:39:12 +08:00
2022-01-10 19:06:35 +08:00
其余配置和 [PontLayer](../../point_layer/pointlayer) 一致