GetLayerCalculationParams
Last updated
Was this helpful?
Last updated
Was this helpful?
The parameters for calculating a single aggregate value for a layer, passed to the method.
layerId:
string
The ID of the layer to calculate an aggregate value for.
aggregation: <
T
>
Specifies how to aggregate values within each category or bin. When omitted, features are counted. When specified, the chosen calculation (avg, sum, etc.) is performed on the specified attribute.
Attribute filters for the features to include when calculating the aggregate value.
The spatial boundary for the features to include when calculating the aggregate value.
T
extends | "count"
optional
filters:
optional
boundary: