mapbox / mapbox/mapbox-maps-android
No way to add click listener to PointAnnotationGroup
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
## Environment
- Maps SDK Version: 11.10.3
## Observed behavior and steps to reproduce
- PointAnnotationGroup with `onClick` parameter is marked as deprecated. There exists no way to define a click listener on a PointAnnotationOption. Switching to the non-deprecated PointAnnotationGroup removes the ability to define click listeners for points within a PointAnnotationGroup.
Contributor guide
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 by locating the PointAnnotationGroup and PointAnnotationOption APIs and comparing the deprecated group's onClick parameter with the non-deprecated API. Confirm how click events are currently exposed for grouped points, then define completion as providing an equivalent click-listener path without relying on the deprecated parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100