fix: update docs

This commit is contained in:
thinkinggis 2020-07-20 11:12:49 +08:00
parent 741c0a9154
commit 619a3de8cc
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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