We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b092a6 commit 31a77f5Copy full SHA for 31a77f5
x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx
@@ -382,6 +382,9 @@ export class DynamicStyleProperty<T>
382
}
383
384
getMbPropertyValue(rawValue: RawValue): RawValue {
385
+ // Maps only uses feature-state for numerical values.
386
+ // `supportsMbFeatureState` will only return true when the mb-style rule does a feature-state lookup on a numerical value
387
+ // Calling `isOrdinal` would be equivalent.
388
return this.supportsMbFeatureState() ? getNumericalMbFeatureStateValue(rawValue) : rawValue;
389
390
0 commit comments