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.

Add support for clustering

See original GitHub issue

Do you plan on adding clustering to the Compose version of Google Maps? I tried making the switch from AndroidView({ MapView() }) to the new Composable function but struggle to implement the ClusterManager given that I cannot directly reference the map as an input parameter when instantiating the ClusterManager. (… and thank you for giving us this awesome Composable in the first place 🙏)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:89
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
barbeaucommented, Jun 21, 2022

As @Shusshu pointed out above, PR https://github.com/googlemaps/android-maps-compose/pull/140 has been merged which adds an experimental MapEffect composable which exposes the GoogleMap object that enables a workaround for clustering support.

See the new MapClusteringActivity in the demo app for a demo: https://github.com/googlemaps/android-maps-compose/blob/main/app/src/main/java/com/google/maps/android/compose/MapClusteringActivity.kt#L28

Note also some of the gotchas documented in the README: https://github.com/googlemaps/android-maps-compose#obtaining-access-to-the-raw-googlemap-experimental

2reactions
thekingrenz23commented, Jun 5, 2022

clustering should be part of the next milestone I don’t know why google is not prioritizing this its such a critical part of performance

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft support for server clusters with third-party system ...
This article discusses support from a Windows and a server cluster perspective only. This information is specific to Windows 2000 Advanced Server and...
Read more >
8.5.2. Adding a Cluster Service to the Cluster
Open /etc/cluster/cluster. · Add a service section within the rm element for each service. · Configure the following parameters (attributes) in the service...
Read more >
Adding an add-on service to a cluster
Navigate to the Clusters page in OpenShift Cluster Manager Hybrid Cloud Console. · Select the cluster you want to add a service to....
Read more >
Clustering Support
A collection of multiple server computers into a single unified cluster provides an added measures of performance, reliability, and fault tolerance. The ...
Read more >
Configure clustering (Map Viewer)—ArcGIS Online Help
Configure cluster fields · Click Add field. · Choose a data field from the drop-down menu. · Choose a statistic type from the...
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