Atlaslog
Atlaslog / deck.gl / API / LinearInterpolator
deck.gl · API reference

LinearInterpolator

Quick answer

Performs simple linear interpolation between two view states. Implements TransitionInterpolator.

Last verified 2026-11-03 · deck.gl 9.0 · Cite this page
Runnable examplesChinese noteAll API topics

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({transitionProps: ['target', 'zoom']});

Parameters:

Source​

modules/core/src/transitions/linear-interpolator.ts

TutorialsAPI index
English reference text adapted from the official deck.gl documentation, © vis.gl contributors, licensed under MIT.
Original page: https://deck.gl/docs/api-reference/core/linear-interpolator · Chinese note: /deckgl/api/linear-interpolator.html
Cite this page

Atlaslog (2026). LinearInterpolator. https://www.jingweizhi.com/en/deckgl/api/linear-interpolator.html (accessed 2026-11-03).