mirror of https://gitee.com/antv-l7/antv-l7
docs: scene 增加 setzoom
This commit is contained in:
parent
ce3e78b2c6
commit
6b30bc72b9
|
@ -355,6 +355,12 @@ export interface ICameraOptions {
|
|||
type ICenter = [number, number];
|
||||
scene.setZoomAndCenter(zoom, center);
|
||||
```
|
||||
### setZoom(zoom: number): void 设置地图旋转
|
||||
设置地图缩放等级
|
||||
|
||||
```javascript
|
||||
scene.setZoom(10);
|
||||
```
|
||||
|
||||
### setRotation(rotation: number): void 设置地图旋转
|
||||
|
||||
|
|
Loading…
Reference in New Issue