Maps SDK for Web


Options common to map movement methods that involve animation, such as Map easeTo(), controlling the duration and easing function of the animation. All properties are optional.


animate: Boolean

If false, no animation will occur.

duration: Number

The animation's duration, measured in milliseconds.

easing: Function

A function taking a time in the range 0..1 and returning a number where 0 is the initial state and 1 is the final state.

offset: Maps.Point | Array

Offset of the target center relative to a real map container center at the end of animation. Can be either Point or an array of numbers.