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