Define interpolation behavior for a value.
// Interpolate a value from 1 to 2 between zoom levels 17 and 18 with easingconst value: Interpolation<'zoom-level', [number, number]> = { on: 'zoom-level', input: [17, 18], output: [1, 2], easing: 'ease-in', Copy
// Interpolate a value from 1 to 2 between zoom levels 17 and 18 with easingconst value: Interpolation<'zoom-level', [number, number]> = { on: 'zoom-level', input: [17, 18], output: [1, 2], easing: 'ease-in',
Optional
The easing function to use for the interpolation.
'linear' Copy
'linear'
Breakpoints in the observed property.
The property to observe when interpolating.
'zoom-level' Copy
'zoom-level'
Output values corresponding to the input breakpoints.
Define interpolation behavior for a value.
Example