Defines how to aggregate a value across features in a layer with multiple aggregations returned at once.
T extends AggregationMethod | "count"
T
AggregationMethod
"count"
methods: T[]
The operations to use on the values from the features in the layer
optional attribute: string
optional
string
The attribute ID to use for the aggregation when aggregations other than "count" are used.
This can be omitted if the only aggregation is "count", but must be a numeric attribute otherwise.
Use getLayerSchema to get the attributes available for a layer.
getLayerSchema
Last updated 6 months ago
Was this helpful?