accumulated

Gets the value of a cluster property accumulated so far. Can only be used in the clusterProperties option of a clustered GeoJSON source.

Example usage:


 GeoJsonOptions options = new GeoJsonOptions()
                             .withCluster(true)
                             .withClusterProperty("max", max(accumulated(), get("max")).toArray(), get("mag").toArray());

Return

expression

See also

<a href="https://maplibre.org/maplibre-style-spec/expressions/#accumulated">Style specification</a>