Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InterpolatedPropertyDefinition<T>

Interpolated property could have its value (some initial value should be provided) changed according to an interpolation type.

Here is an example of an interpolated property from a map style: "lineWidth": { "interpolation": "Linear", "zoomLevels": [13, 14, 15], "values": [ 1.5, 1.2, 0.9] }

internal

Type parameters

  • T

Hierarchy

  • InterpolatedPropertyDefinition

Index

Properties

Optional exponent

exponent: undefined | number

Optional interpolation

interpolation: "Discrete" | "Linear" | "Cubic" | "Exponential"

values

values: T[]

zoomLevels

zoomLevels: number[]

Generated using TypeDoc