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?
Thanks so much for that awesome video! I tried it out by setting the output to an alert so that I could see what the output is and I seem to have gotten an empty String:
Those blocks look ok @jlschmidt1224zf - I’d just get the values from the event first, store them in a new variable and then display this new value in your alert.
That article is exactly what I’m looking for! However, still when I try what it says to do, it does not show the coordinate. Here is my code and the corresponding screen that is shown:
(1) I did not include the “get property latitude” in this one