Class ZoomConstantExpression<Kind>
Type Parameters
- Kind extends EvaluationKind
Index
Constructors
Properties
Methods
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>
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
Was this helpful?