docs: 完善官网文档

This commit is contained in:
shihui 2022-01-10 19:06:35 +08:00
parent 6f9714218c
commit e31203a09b
4 changed files with 12 additions and 10 deletions

View File

@ -22,17 +22,17 @@ import { Earth } from '@antv/l7-maps';
**平面点: circle**
<img width="60%" style="display: block;margin: 0 auto;" alt="案例" src='https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*PD6fTbs7E3gAAAAAAAAAAAAAARQnAQ'>
<img width="450px" style="display: block;margin: 0 auto;" alt="案例" src='https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*PD6fTbs7E3gAAAAAAAAAAAAAARQnAQ'>
**圆柱点: cylinder**
<img width="60%" style="display: block;margin: 0 auto;" alt="案例" src='https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*n6tYQKceveUAAAAAAAAAAAAAARQnAQ'>
<img width="450px" style="display: block;margin: 0 auto;" alt="案例" src='https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*n6tYQKceveUAAAAAAAAAAAAAARQnAQ'>
### 线图层
**3D 弧线: arc3d**
<img width="60%" style="display: block;margin: 0 auto;" alt="案例" src='https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*FjhGT77aCaIAAAAAAAAAAAAAARQnAQ'>
<img width="450px" style="display: block;margin: 0 auto;" alt="案例" src='https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*FjhGT77aCaIAAAAAAAAAAAAAARQnAQ'>
## 使用

View File

@ -15,7 +15,7 @@ order: 2
import { EarthLayer, LineLayer } from '@antv/l7';
```
<img src="https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*4ZCnQaH_nLIAAAAAAAAAAAAAARQnAQ" style="display: block; margin: 0 auto" alt="L7地球飞线图层" width="60%">
<img src="https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*4ZCnQaH_nLIAAAAAAAAAAAAAARQnAQ" style="display: block; margin: 0 auto" alt="L7地球飞线图层" width="450px">
### shape
@ -23,6 +23,6 @@ import { EarthLayer, LineLayer } from '@antv/l7';
### 其他配置
剩下的配置和[线图层](../line_layer/linelayer)一致
剩下的配置和[线图层](../../line_layer/linelayer)一致
[在线案例](../../../examples/earth/arc3d#flyline)
[在线案例](../../../../examples/earth/arc3d#flyline)

View File

@ -15,10 +15,10 @@ order: 3
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="60%" >
<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)
[在线案例](../../../../examples/earth/point#point)
### 配置项
其余配置和 [PontLayer](../point_layer/pointlayer) 一致
其余配置和 [PontLayer](../../point_layer/pointlayer) 一致

View File

@ -46,4 +46,6 @@ scene.on('loaded', () => {
});
```
[高德插件案例](../../../examples/amapPlugin/bus#busStop)
<img width="60%" style="display: block;margin: 0 auto;" alt="案例" src='https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*ag-nSrIPPEUAAAAAAAAAAAAAARQnAQ'>
[在线案例](../../../examples/amapPlugin/bus#busStop)