EaseToOptions
EaseToOptions =
AnimationOptions&CameraOptions&object
Defined in: ui/camera.ts:236
The Map.easeTo options object
Type Declaration
around?
optionalaround?:LngLatLike
If zoom is specified, around determines the point around which the zoom is centered.
~~delayEndEvents?~~
optionaldelayEndEvents?:number
Deprecated
Has no effect, and will be removed in the next major version.
padding?
optionalpadding?:number|PaddingOptions
Dimensions in pixels applied on each side of the viewport for shifting the vanishing point, which the transition animates to. The map keeps this padding once the transition ends.