Class: Kinetic

ol/Kinetic~Kinetic


import Kinetic from 'ol/Kinetic';

Implementation of inertial deceleration for map movement.

new Kinetic(decay, minVelocity, delay)

Kinetic.js, line 17
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).