ClusterPropertyAggregator

data class ClusterPropertyAggregator<T : ExpressionValue>(val mapper: Expression<T>, val reducer: Expression<T>)(source)

Constructors

Link copied to clipboard
constructor(mapper: Expression<T>, reducer: Expression<T>)

Properties

Link copied to clipboard

Produces the value of a single point, passed to the accumulation operator.

Link copied to clipboard

An expression that aggregates values produced by the mapper. The special function org.maplibre.compose.expressions.dsl.Feature.accumulated will return the value accumulated so far, and the feature property with the name of the property will return the next value to aggregate.