Skip to content

Commit

Permalink
docs: switch algorithm parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoso committed Dec 12, 2023
1 parent 3b26ba4 commit 94aa964
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ fun CustomRendererClustering(items: List<MyItem>) {
// This speeds up by a factor the rendering of items on the screen.
clusterManager?.setAlgorithm(
NonHierarchicalViewBasedAlgorithm(
screenHeight.value.toInt(),
screenWidth.value.toInt()
screenWidth.value.toInt(),
screenHeight.value.toInt()
)
)
val renderer = rememberClusterRenderer(
Expand Down

0 comments on commit 94aa964

Please sign in to comment.