Provide a callback function for onMarkerClick in the mapViewCallbacks property of component. Then either console.log the marker that's passed to that function or just debug that callback
Add markers to the map using addMarker on MapViewController
Run the app and click the far outside edge of the marker
The marker passed to the onMarkerClick callback is missing properties, such as Id and snippet
See attached video
In the video, I'm logging the selected marker in the terminal. Notice in the first "marker clicked" log we are missing Id and snippet, while in the second log for marker clicked we have Id and snippet. It's also worth noting, that in this video we have multiple markers stacked on precisely the same lat/lng.
Environment details
OS: iOS 17.5 simulator Version: react-native-navigation-sdk@0.3.3-beta
Steps to reproduce
Code example
See attached video In the video, I'm logging the selected marker in the terminal. Notice in the first "marker clicked" log we are missing Id and snippet, while in the second log for marker clicked we have Id and snippet. It's also worth noting, that in this video we have multiple markers stacked on precisely the same lat/lng.
https://github.com/user-attachments/assets/0362030b-09b1-4dab-a5a6-e1ffa5df2dcc