Functions
-
import {easeIn} from 'ol/easing';Start slow and speed up.
Name Type Description tnumber Input between 0 and 1.
Returns:
Output between 0 and 1.
-
import {easeOut} from 'ol/easing';Start fast and slow down.
Name Type Description tnumber Input between 0 and 1.
Returns:
Output between 0 and 1.
-
import {inAndOut} from 'ol/easing';Start slow, speed up, and then slow down again.
Name Type Description tnumber Input between 0 and 1.
Returns:
Output between 0 and 1.
-
import {linear} from 'ol/easing';Maintain a constant speed over time.
Name Type Description tnumber Input between 0 and 1.
Returns:
Output between 0 and 1.
-
import {upAndDown} from 'ol/easing';Start slow, speed up, and at the very end slow down again. This has the same general behavior as
inAndOut, but the final slowdown is delayed.Name Type Description tnumber Input between 0 and 1.
Returns:
Output between 0 and 1.