# Get Lat and Long from Map component

**URL:** <https://community.glideapps.com/t/get-lat-and-long-from-map-component/85038>\
**Category:** Ask for Help\
**Created:** [October 22, 2025, 7:04pm UTC](https://community.glideapps.com/t/get-lat-and-long-from-map-component/85038 "2025-10-22T19:04:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Valencia](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_valencia/32/92491_2.png) [@Daniel\_Valencia](https://community.glideapps.com/u/Daniel_Valencia)\
**Post date:** [October 22, 2025, 7:04pm UTC](https://community.glideapps.com/t/get-lat-and-long-from-map-component/85038/1 "2025-10-22T19:04:56Z")

</div>

Is it possible to capture the latitude and longitude coordinates when a user clicks on a map component? Ideally, I’d also like to place a marker at the clicked location. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 23, 2025, 12:34am UTC](https://community.glideapps.com/t/get-lat-and-long-from-map-component/85038/2 "2025-10-23T00:34:01Z")

</div>

Not something that you can do natively.

It can be possible if you play around with Mapbox and have an embed, but be careful about embedding your Glide API key into Mapbox (to write the value back to a cell somewhere in your data).
