On this page

Type Alias CameraExpression

type CameraExpression = {
    _globalState: Record<string, any>;
    evaluate: (
        globals: GlobalProperties,
        feature?: Feature,
        featureState?: FeatureState,
        canonical?: ICanonicalTileID,
        availableImages?: string[],
    ) => any;
    globalStateRefs: Set<string>;
    interpolationFactor: (
        input: number,
        lower: number,
        upper: number,
    ) => number;
    interpolationType: InterpolationType;
    kind: "camera";
    zoomStops: number[];
}
Index

Properties

_globalState: Record<string, any>
evaluate: (
    globals: GlobalProperties,
    feature?: Feature,
    featureState?: FeatureState,
    canonical?: ICanonicalTileID,
    availableImages?: string[],
) => any
globalStateRefs: Set<string>
interpolationFactor: (input: number, lower: number, upper: number) => number
interpolationType: InterpolationType
kind: "camera"
zoomStops: number[]
Was this helpful?
SDK JS
Reference
CameraExpression