mapbox / mapbox/mapbox-maps-android
Please add click point param when click Annotation
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
1.SOURCE CODE:
package com.mapbox.maps.plugin.annotation
fun interface OnAnnotationClickListener> {
fun onAnnotationClick(annotation: T): Boolean
}
2.My Suggestion:
package com.mapbox.maps.plugin.annotation
fun interface OnAnnotationClickListener> {
fun onAnnotationClick(point:Point, annotation: T): Boolean
}
Please!Sometimes I really need this function
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 OnAnnotationClickListener in the com.mapbox.maps.plugin.annotation package and tracing where annotation click callbacks are dispatched. Check how the click location is currently available at that entry point and identify affected listener implementations or tests. Done means the callback exposes the click point while preserving the annotation result behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- api, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100