Skip to content

Type alias: FitBounds ​

Ƭ FitBounds: (bounds: Rect, options?: FitBoundsOptions) => Promise<boolean>

fit the viewport around bounds

Type declaration ​

â–¸ (bounds, options?): Promise<boolean>

Parameters ​
NameType
boundsRect
options?FitBoundsOptions
Returns ​

Promise<boolean>

Released under the MIT License.