# Closest to me restaurants

**URL:** https://community.thunkable.com/t/closest-to-me-restaurants/2480578
**Category:** Questions about Thunkable X
**Created:** [June 23, 2023, 7:04pm UTC](https://community.thunkable.com/t/closest-to-me-restaurants/2480578 "2023-06-23T19:04:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mattpb](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mattpb](https://community.thunkable.com/u/mattpb)
#### Post date: [June 23, 2023, 7:04pm UTC](https://community.thunkable.com/t/closest-to-me-restaurants/2480578/1 "2023-06-23T19:04:10Z")

</div>

Any idea on how to display results in a data viewer list with data from an airtable of restaurants with their lat and long coordinates in order of closest to the phones current location?

---

<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: [June 24, 2023, 5:35am UTC](https://community.thunkable.com/t/closest-to-me-restaurants/2480578/2 "2023-06-24T05:35:03Z")

</div>

To determine the distance, you’ll want to use the Haversine formula. You can search for it on the forums. There are examples of it and you can choose to use a Google Sheet formula or implement it directly in Thunkable using math blocks.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [September 22, 2023, 5:35am UTC](https://community.thunkable.com/t/closest-to-me-restaurants/2480578/3 "2023-09-22T05:35:32Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
