mirror of https://gitee.com/antv-l7/antv-l7
commit
c4153b2684
|
@ -317,10 +317,10 @@ scene.setPitch(pitch);
|
|||
|
||||
参数 :
|
||||
|
||||
- `extent` { array} 经纬度范围 [minlng,minlat,maxlng,maxlat]
|
||||
- `extent` { array} 经纬度范围 [[minlng,minlat],[maxlng,maxlat]]
|
||||
|
||||
```javascript
|
||||
scene.fitBounds([112, 32, 114, 35]);
|
||||
scene.fitBounds([[112, 32], [114, 35]]);
|
||||
```
|
||||
|
||||
### getContainer
|
||||
|
|
|
@ -351,10 +351,10 @@ scene.setPitch(pitch);
|
|||
|
||||
参数 :
|
||||
|
||||
- `extent` { array} 经纬度范围 [minlng,minlat,maxlng,maxlat]
|
||||
- `extent` { array} 经纬度范围 [[minlng,minlat],[maxlng,maxlat]]
|
||||
|
||||
```javascript
|
||||
scene.fitBounds([112, 32, 114, 35]);
|
||||
scene.fitBounds([[112, 32], [114, 35]]);
|
||||
```
|
||||
|
||||
### removeLayer
|
||||
|
|
Loading…
Reference in New Issue