Spec-Zone.ru › OpenLayers

ol/Kinetic~Kinetic


import Kinetic from 'ol/Kinetic.js';

Implementation of inertial deceleration for map movement.

new Kinetic(decay, minVelocity, delay)

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

© 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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API