googlemaps / googlemaps/react-native-navigation-sdk

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.

Offen
#325 4 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @illuminati1911 Auf GitHub ansehen
priority: p2 type: bug
Vorherrschende Sprache
TypeScript
Sterne
227
Forks
38
Ø Merge
4 T. 8 Std.
Gemergte PRs (30 T.)
16

Beschreibung

## 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](https://github.com/rhinkle/react-native-navigation-sdk/tree/ISSUE-firstWayPointClick)

## Images / Media

![Screenshot 2024-11-01 at 3 45 47 PM](https://github.com/user-attachments/assets/61a25bc4-b45e-4a9b-a3f7-4cf08d3c0954)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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