Class: Kinetic

ol/Kinetic~Kinetic


import Kinetic from 'ol/Kinetic';

Implementation of inertial deceleration for map movement.

new Kinetic(decay, minVelocity, delay)

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).