# Allow user to show current location in Maps (newest version)

**URL:** https://community.glideapps.com/t/allow-user-to-show-current-location-in-maps-newest-version/72491
**Category:** Feature Requests
**Created:** [April 11, 2024, 3:15pm UTC](https://community.glideapps.com/t/allow-user-to-show-current-location-in-maps-newest-version/72491 "2024-04-11T15:15:43Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [September 23, 2025, 9:25am UTC](https://community.glideapps.com/t/allow-user-to-show-current-location-in-maps-newest-version/72491/14 "2025-09-23T09:25:36Z")

</div>

> [@Current location of the user as a separate point on map](https://community.glideapps.com/t/current-location-of-the-user-as-a-separate-point-on-map/59802/15):
>
> Okay, so after a bit of back and forth with ChatGPT I got a version that works reasonably well. It accepts any number of points and uses the best 3. This is what we wound up with: const points = JSON.parse(p1); return (trilaterate(points)); function trilaterate(points) { const R = 6371000; // Earth radius in meters // Convert lat/lon to Cartesian (ECEF) function toCartesian(lat, lon) { lat = lat \* Math.PI / 180; lon = lon \* Math.PI / 180; return [ R \* Math.cos(lat) \* …

---

_[View the full topic](https://community.glideapps.com/t/allow-user-to-show-current-location-in-maps-newest-version/72491)._
