# MBS MapView - Distance and Radius

**URL:** <https://the.fmsoup.org/t/mbs-mapview-distance-and-radius/4475>\
**Category:** Questions\
**Tags:** scripting, calculations, filemaker, macos, plugins, mbs\
**Created:** [November 15, 2024, 9:21pm UTC](https://the.fmsoup.org/t/mbs-mapview-distance-and-radius/4475 "2024-11-15T21:21:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoloMan28](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/boloman28/32/1506_2.png) [@BoloMan28](https://the.fmsoup.org/u/BoloMan28)\
**Post date:** [November 15, 2024, 9:21pm UTC](https://the.fmsoup.org/t/mbs-mapview-distance-and-radius/4475/1 "2024-11-15T21:21:12Z")

</div>

Hello,  
I love the MBS Plugin! I'm using MapView.PlanRoute and have 2 questions.

1 - How can I calculate DISTANCE between 2 gps points?

2 - Using MapView am I able to determine if a gps point is within a Radius?

Thank you so much, keep up the great work!

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [November 15, 2024, 9:29pm UTC](https://the.fmsoup.org/t/mbs-mapview-distance-and-radius/4475/2 "2024-11-15T21:29:23Z")

</div>

Check out this function here: [CLGeocoder.Distance](https://www.mbsplugins.eu/CLGeocoderDistance.shtml)

It calculates the distance between two coordinates.
