mapbox / mapbox/mapbox-maps-flutter
uncluster layer onFeatureTapped callback is not working in iOS
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
Hey Mapbox team @zugaldia @mourner @sbma44 @kkaefer, in my app I have added source & layer in Mapbox with cluster, but I am facing an issue on FeatureTapped callback on uncluster-layer is not working.
Tap works on cluster circle but not on uncluster layer (eg. $25K).
Could you help me fix this issue on iOS?

```
mapController?.onFeatureTapped.add(onPinTap);
void onPinTap(dynamic data, Point point, LatLng latLng) async {
print('clicked')
}
```
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 reported mapController?.onFeatureTapped.add(onPinTap) registration and the clustered source and layer setup, then reproduce the unclustered feature tap on iOS using the provided callback snippet. Done means taps on the unclustered feature invoke onPinTap as well as taps on the cluster circle; the issue names no source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter, ios
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100