# Displaying pins on the map within a specified area

**URL:** <https://community.thunkable.com/t/displaying-pins-on-the-map-within-a-specified-area/1639308>\
**Category:** Questions about Thunkable X\
**Tags:** googlemaps\
**Created:** [November 29, 2021, 8:38pm UTC](https://community.thunkable.com/t/displaying-pins-on-the-map-within-a-specified-area/1639308 "2021-11-29T20:38:38Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 30, 2021, 6:01pm UTC](https://community.thunkable.com/t/displaying-pins-on-the-map-within-a-specified-area/1639308/5 "2021-11-30T18:01:42Z")

</div>

Okay, for that I would use the _Haversine_ formula. It’s a little easier but potentially a little slower to do this using a formula in Google Sheets. I prefer to code it within Thunkable but it’s quite complex to set up the blocks. I’ve done this for an app that finds the closest air quality sensor to the user.

This topic includes some interesting suggestions and also a link to info about the Haversine formula in my post within that topic:

> [@How to get all the marker on the map to near to current location in range of 4 kms](https://community.thunkable.com/t/how-to-get-all-the-marker-on-the-map-to-near-to-current-location-in-range-of-4-kms/287046):
>
> how to get all the marker on the map to near to current location in range of 4 kms

---

_[View the full topic](https://community.thunkable.com/t/displaying-pins-on-the-map-within-a-specified-area/1639308)._
