NavigationMap - Android: When there is a route with many destinations and each destination has a marker on the map, the first marker will not fire the onMarkerClick event.

Aperta
#325 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 5 giorni

@illuminati1911 ci sta già lavorando.

Dal 1/11/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

priority: p2 type: bug

Description

When there is a route with many destinations and each destination has a marker on the map, the first marker will not fire the onMarkerClick event.

Environment details

Library version and other environment information:

  • react-native-navigation-sdk version: 0.6.1

OS type and version

  • iOS: 18.1, 18.0
  • Android: 35

Steps to reproduce

  1. Pull down this branch.
  2. Install the dependencies.
  3. Run yarn start
  4. Run yarn ios or yarn android
  5. Click on navigate button
  6. When the map, route and markers are load click on each of the markers. You should see a log in the console firing onMarkerClick. On iOS this works as expected and the onMarkerClick will fire.
  7. On Android, click on the first marker or marker.id of "m0" and the onMarkerClick will not fire, however all the other markers will fire the onMarkerClick.
Code example

Link to Code example

Images / Media

Screenshot 2024-11-01 at 3 45 47 PM

Lingua principale
TypeScript
Stelle
226
Fork
39
Merge medio
1g 20h
PR unite (30g)
7

Preparare l'ambiente

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.

Altre issue di googlemaps/react-native-navigation-sdk

Tutte le issue di googlemaps/react-native-navigation-sdk

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.