LinearInterpolator
October 13, 2020 ยท View on GitHub
Performs simple linear interpolation between two view states. Implements TransitionInterpolator.
See View State Transitions for usage examples.
Constructor
import {LinearInterpolator} from '@deck.gl/core';
new LinearInterpolator(['target', 'zoom']);
Parameters:
- transitionProps (Array) - Array of prop names that should be linearly interpolated. Default
['longitude', 'latitude', 'zoom', 'bearing', 'pitch'].