-
new Kinetic(decay, minVelocity, delay)
-
Name Type Description decaynumber Rate of decay (must be negative).
minVelocitynumber Minimum velocity (pixels/millisecond).
delaynumber Delay to consider to calculate the kinetic initial values (milliseconds).
ol/Kinetic~Kinetic
import Kinetic from 'ol/Kinetic.js';
Implementation of inertial deceleration for map movement.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_Kinetic-Kinetic.html