MultiAggregationConfig


Defines how to aggregate a value across features in a layer with multiple aggregations returned at once.

Type Parameters

Type Parameter

T extends AggregationMethod | "count"

Properties

methods

methods: T[]

The operations to use on the values from the features in the layer


attribute?

optional attribute: string

The attribute 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.

Last updated

Was this helpful?