mapbox / mapbox/mapbox-maps-flutter
uncluster layer onFeatureTapped callback is not working in iOS
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Dart
- Sterne
- 380
- Forks
- 204
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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')
}
```
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- dart, flutter, ios
- Bereich
- mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100