I am making a map app with many markers. I am trying to make it so when the user clicks on a marker, that location opens in Google Maps. To do so, I need the latitude and longitude as text to add to a link to Google Maps. How can I convert the “event” block, the output of “onMarkerPress”, to a String?
This article shows someone who did so with the function “makeCoordinateText” but I do not understand how to create the function.