Is there a way to differentiate between different markers? I am setting up a google maps map with various markers, and I would like different things to happen depending on which marker I press, but I only see the instruction “onMarkerPress” which doesn’t help me as all the markers work as one.
The onMarkerPress event is unique to each marker.
Please post a screenshot of the blocks you’ve used.
Both the markers that are set up when map opens, react the same way, navigating to the Welcome screen, and I would like for them to each open a different screen.
I am planning on adding like 4 or 5 more markers and each one to react differently upon being pressed.