Add support for clustering
See original GitHub issueDo 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:
- Created 2 years ago
- Reactions:89
- Comments:17 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 theGoogleMap
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#L28Note also some of the gotchas documented in the README: https://github.com/googlemaps/android-maps-compose#obtaining-access-to-the-raw-googlemap-experimental
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