Merge pull request #444 from antvis/fix_update

fix: update docs
This commit is contained in:
@thinkinggis 2020-07-20 11:31:29 +08:00 committed by GitHub
commit c4153b2684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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