Class: Kinetic

ol.Kinetic

Implementation of inertial deceleration for map movement.

new ol.Kinetic(decay, minVelocity, delay) experimental

src/ol/kinetic.js, line 21
Name Type Description
decay number

Rate of decay (must be negative).

minVelocity number

Minimum velocity (pixels/millisecond).

delay number

Delay to consider to calculate the kinetic initial values (milliseconds).