mapbox / mapbox/mapbox-maps-flutter

uncluster layer onFeatureTapped callback is not working in iOS

Aperta
#229 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Dart
Stelle
380
Fork
204
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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')
}
```

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter, ios
Ambito
mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.