GetLayerCalculationParams
Last updated
Was this helpful?
The parameters for calculating a single aggregate value for a layer, passed to the LayersController.getAggregates method.
T extends AggregationMethod | "count"
layerId:
string
The ID of the layer to calculate an aggregate value for.
aggregation:
MultiAggregationConfig<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.
optionalfilters:Filters
Attribute filters for the features to include when calculating the aggregate value.
optionalboundary:GeometryFilter
The spatial boundary for the features to include when calculating the aggregate value.
Last updated
Was this helpful?
Was this helpful?