mapbox / mapbox/mapbox-maps-android
How to customize cluster symbol text
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
As mentioned in the [documentation](https://docs.mapbox.com/android/maps/examples/add-cluster-symbol-annotations/), the text displayed in the cluster symbol represents the number of annotations it includes.
I'm interested in customizing the text based on the count.
More specifically, I would like to display the actual count when it is up to 10, and show "10+" when the count goes beyond 10.
Could you provide guidance on how to implement this, if feasible?
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 with the linked add-cluster-symbol-annotations documentation and the cluster symbol annotation API. Done means documenting whether count-based text can be customized and providing the supported steps, or clearly noting that the capability is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- documentation, mobile-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100