On this page

Interface Property<T, R>

Will be removed from public API in MapTiler SDK v4

interface Property<T, R> {
    specification: StylePropertySpecification;
    interpolate(a: R, b: R, t: number): R;
    possiblyEvaluate(
        value: PropertyValue<T, R>,
        parameters: EvaluationParameters,
        canonical?: ICanonicalTileID,
        availableImages?: string[],
    ): R;
}

Type Parameters

  • T
  • R
Index

Properties

Methods

  • Parameters

    • a: R
    • b: R
    • t: number

    Returns R

Was this helpful?
SDK JS
Reference
Property