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

25 lines
642 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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) 一致