# Google Map - onMarkerPress event - extract lat-lng properties?

**URL:** https://community.thunkable.com/t/google-map-onmarkerpress-event-extract-lat-lng-properties/503757
**Category:** Questions about Thunkable X
**Tags:** googlemaps
**Created:** [March 7, 2020, 9:24pm UTC](https://community.thunkable.com/t/google-map-onmarkerpress-event-extract-lat-lng-properties/503757 "2020-03-07T21:24:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rmion](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rmion/32/63061_2.png) [@rmion](https://community.thunkable.com/u/rmion)
#### Post date: [March 7, 2020, 9:24pm UTC](https://community.thunkable.com/t/google-map-onmarkerpress-event-extract-lat-lng-properties/503757/1 "2020-03-07T21:24:11Z")

</div>

My goal is to generate a link to a service like Google Maps, Uber or Lyft using the latitude and longitude of the marker the user tapped.

I see there is a way to do something with the ‘event’ that occurs when the ‘onMarkerPressed’ event of my map is triggered.

Sadly, I’m unaware of what all properties come with that ‘event’ object.

Might anyone be able to help me further experiment and share what they find…so I can come back and inform future map strugglers like myself?

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [March 8, 2020, 1:45am UTC](https://community.thunkable.com/t/google-map-onmarkerpress-event-extract-lat-lng-properties/503757/2 "2020-03-08T01:45:12Z")

</div>

Hey @rmion 👋

This tutorial (and free sample app) have most of what you’ll need to know.

Take a look and let us know if you have any follow up questions!

> [@Cartographr: How to work with the Map Component](http://community.thunkable.com/t/cartographr-how-to-work-with-the-map-component/230549):
>
> Click to Add Markers One request we hear from Thunkers is the ability to tap on the map component and then add a marker to the location that was just tapped. In this first example we’ll learn how to do just that. Map1.onPress This is the event we need to understand to make everything work. The onPress event has two outputs, coordinate and position - but other than the names of these outputs we don’t know much more about them. Since coordinate seems like the most promising, let’s take a closer l…

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:40am UTC](https://community.thunkable.com/t/google-map-onmarkerpress-event-extract-lat-lng-properties/503757/3 "2024-11-08T11:40:34Z")

</div>


