Type alias: FitBounds ​
Ƭ FitBounds: (bounds: Rect, options?: FitBoundsOptions) => Promise<boolean>
Type declaration ​
â–¸ (bounds, options?): Promise<boolean>
fit the viewport around bounds
Parameters ​
| Name | Type |
|---|---|
bounds | Rect |
options? | FitBoundsOptions |
Returns ​
Promise<boolean>