Allows use of ClusterManager#setAlgorithm #420
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
released
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
In Compose, ClusterManager is hidden internally, so
ClusterManager#setAlgorithm
cannot be used.Describe the solution you'd like
Make this available.
Describe alternatives you've considered
I think it can be implemented in the following below ways.
clusterManagerFactory: () -> ClusterManager<T>
argument to Clustering Composable and create it.ClusterManager#renderer
has been changed internally, causing confusion for users.onCreateClusterManager: (ClusterManager<T>) -> Unit
android-maps-compose/maps-compose-utils/src/main/java/com/google/maps/android/compose/clustering/Clustering.kt
Lines 116 to 118 in 8c6c3b0
Additional context
Our app has a large number of pins and we need to use
NonHierarchicalViewBasedAlgorithm
ofScreenBasedAlgorithm
.The text was updated successfully, but these errors were encountered: