Class: Kinetic

ol.Kinetic


import Kinetic from 'ol/kinetic';

Implementation of inertial deceleration for map movement.

new ol.Kinetic(decay, minVelocity, delay)

src/ol/kinetic.js, line 16
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).