H.datalens.ObjectLayer. TransitionOptions

Type Definition Summary

An object with three optional properties that define the behavior of an animation.

Type Definition Description

Defines how the difference between two coordinate pairs is animated with three optional parameters that define how long the animation lasts, the easing style, and if the markers moves linearly or on a curve.

Property Details

duration : { number } [optional]

Duration of the transition in milliseconds.

easing : { string } [optional]

Easing function of the transition. Default is ease. Other options are linear, ease-in, ease-out, ease-in-out

interp : { string } [optional]

Interpolation of the transition. Default is lerp (Linear interpolation). Other option is slerp (Spherical Linear Interpolation)