RotationAnimationOptions | MapGL | 2GIS Documentation
MapGL JS API

RotationAnimationOptions

Options for map rotation animations.

Properties
undefinedfalsetrue

Determines if the transform should be animated.

undefinednumber

Duration of the animation in milliseconds.

Easing function to be used with the animation.

undefinedfalsetrue

If enabled, the desired rotation will be normalized to (–180°; 180°], and the direction of the rotation will be chosen so that the map makes less than half a turn. normalize: false is useful for animating one of more full turns of the map. Enabled by default.