question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Aggregating properties for clustered features

See original GitHub issue

Late last year, Mapbox implemented clusterProperties attribute for ShapeSource, which enables declaring custom aggregated properties for clustered features on the map.

Android: https://github.com/mapbox/mapbox-gl-native/pull/15425 iOS: https://github.com/mapbox/mapbox-gl-native/pull/15515

I would very much like to see this implemented, as we have a use case in our app where we want to open a new view on cluster tap, which shows information for all features clustered under the icon. Additionally, we want to show information on the icon which is more complex than simple {point_count}.

I have started implementing it myself, and got it working on Android – but due to the outstanding use_frameworks! issue on iOS (https://github.com/mapbox/mapbox-gl-native-ios/issues/154), I haven’t been able to fully test this.

If anyone wants to take over the branch from https://github.com/ivari/maps/tree/implement-clustering-properties, you’re welcome to do so – otherwise I’ll come back to this at some future point and try to get a PR up.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:29
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
naomigracecommented, Feb 21, 2021

Would love to see this implemented.

1reaction
mfazekascommented, Apr 3, 2020

@ivari thanks it looks great, we’d need an example. BTW for use_frameworks! we now have a workaround: https://github.com/react-native-mapbox-gl/maps/pull/714

Read more comments on GitHub >

github_iconTop Results From Across the Web

Aggregating properties for clustered features · Issue #693
Late last year, Mapbox implemented clusterProperties attribute for ... Feature Request: Aggregating properties for clustered features #693.
Read more >
Aggregate features into clusters—ArcGIS Pro | Documentation
A cluster is a symbol that represents two or more point features. Feature clustering aggregates point features into clusters. In most cases, a...
Read more >
Summarize and Explore Point Clusters with Arcade in Popups
Sometimes you may want to list the titles of aggregated features directly in a cluster popup as an alternative to the Browse features...
Read more >
Cluster and Aggregate: Face Recognition with Large Probe Set
Feature fusion plays a crucial role in unconstrained face recognition ... The clustered features play an integral role when the inputs are ...
Read more >
Oracle Database Release 19c New Features
The wizard also supports adding common frameworks or "Features" when ... Real Application Clusters, Oracle Active Data Guard, and on-demand population.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found