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 ZoomConstantExpression<Kind>
Type Parameters
- Kind extends EvaluationKind
Constructors
constructor
-
new ZoomConstantExpression<Kind extends EvaluationKind>(
kind: Kind,
expression: StyleExpression,
globalState?: Record<string, any>,
): ZoomConstantExpression<Kind>Type Parameters
- Kind extends EvaluationKind
Parameters
- kind: Kind
- expression: StyleExpression
OptionalglobalState: Record<string, any>
Returns ZoomConstantExpression<Kind>
Properties
globalStateRefs
globalStateRefs: Set<string>
isStateDependent
isStateDependent: boolean
kind
Methods
evaluate
-
evaluate(
globals: GlobalProperties,
feature?: Feature,
featureState?: FeatureState,
canonical?: ICanonicalTileID,
availableImages?: string[],
formattedSection?: FormattedSection,
): anyParameters
- globals: GlobalProperties
Optionalfeature: FeatureOptionalfeatureState: FeatureStateOptionalcanonical: ICanonicalTileIDOptionalavailableImages: string[]OptionalformattedSection: FormattedSection
Returns any
evaluateWithoutErrorHandling
-
evaluateWithoutErrorHandling(
globals: GlobalProperties,
feature?: Feature,
featureState?: FeatureState,
canonical?: ICanonicalTileID,
availableImages?: string[],
formattedSection?: FormattedSection,
): anyParameters
- globals: GlobalProperties
Optionalfeature: FeatureOptionalfeatureState: FeatureStateOptionalcanonical: ICanonicalTileIDOptionalavailableImages: string[]OptionalformattedSection: FormattedSection
Returns any