For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Class ColorRampProperty
Implements
Index
Constructors
constructor
Parameters
- specification: StylePropertySpecification
- name: string
Returns ColorRampProperty
Methods
interpolate
Returns boolean
possiblyEvaluate
- possiblyEvaluate(
value: PropertyValue<Color, boolean>,
parameters: EvaluationParameters,
canonical?: CanonicalTileID,
availableImages?: string[],
): booleanParameters
- value: PropertyValue<Color, boolean>
- parameters: EvaluationParameters
Optionalcanonical: CanonicalTileIDOptionalavailableImages: string[]
Returns boolean
Internal
An implementation of
Propertyforheatmap-colorandline-gradient. Interpolation is a no-op, and evaluation returns a boolean value in order to indicate its presence, but the real evaluation happens in StyleLayer classes.