mapbox / mapbox/mapbox-maps-flutter

uncluster layer onFeatureTapped callback is not working in iOS

Offen
#229 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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?

![Screenshot_1694087933](https://github.com/mapbox/mapbox-maps-flutter/assets/136419902/34275be9-1d94-4706-90e1-f4541c41f28a)
```
mapController?.onFeatureTapped.add(onPinTap);

void onPinTap(dynamic data, Point point, LatLng latLng) async {
print('clicked')
}
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.