Clicking on a cluster is triggered
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 130
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
If there is another marker on the map behind the cluster, then clicking on it works. I tried to make a function in @Composable
@Composable
private fun Cluster(size: Int) {
/* Here we can customize the cluster style */
Box(
modifier = Modifier
.background(
Color(0x992196F3),
shape = CircleShape
)
.size(50.dp)
.clickable(
interactionSource = remember { MutableInteractionSource() },
indication = null,
onClick = {}
),
contentAlignment = Alignment.Center
) {
Text(text = size.toString(), color = Color.White)
}
}
In this case, clicking on the cluster does not work at all
I need to make pressing the cluster a priority
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the @Composable Cluster function shown in the issue and reproduce a click when another marker is behind the cluster. Trace the map's click handling around that composable; done when clicking the cluster consistently takes priority over the marker behind it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100