Optional
baseUnused by "step" ease functions. Kept to avoid errors in Typescript
Access value in feature properties by either its key or a nested key.
If the key is class
for example, this would be used to filter feature's values where feature.properties.class === 'ocean'
ex.
{ "filter": { "key": "class", "comparator": "==", "value": "ocean" } }
nested conditions are used to dive into nested properties, for example if we want our feature properties comparsion to look like: feature.properties.class.type === 'ocean'
ex.
{ "filter": { "key": { "nestedKey": ["class", "type"] }, "comparator": "==", "value": "ocean" } }
this would be used to filter features where feature.properties.class.type === 'ocean'
Set the range stops and the input values to apply at those stops. See Range
ex.
"ranges": [
{ "stop": 0, "input": 0 },
{ "stop": 5, "input": 0.5 },
{ "stop": 8, "input": 1 }
]
Data Range Step
Data Range Step is used to group features based on a range of values and apply specific design attributes for those groups. If the feature's value falls within the range, the fallback is used.
The "step" type is more limited than an ease type, often used by LAYOUT styling where the change is immediate to each stop.
ex.
Properties
ease
: Must be"step"
if providedkey
: [See NestedKey] Access value in feature properties by either its key or a nested key.ranges
: [See Range] Set the range stops and the input values to apply at those stops.