# Is there any way to get my location district?

**URL:** <https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539>\
**Category:** Questions about Thunkable X\
**Created:** [May 31, 2018, 12:51pm UTC](https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539 "2018-05-31T12:51:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RN\_Vlogs](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@RN\_Vlogs](https://community.thunkable.com/u/RN_Vlogs)\
**Post date:** [May 31, 2018, 12:51pm UTC](https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539/1 "2018-05-31T12:51:04Z")

</div>

is there any way in thunkable with which i can get the district of my active user in my app.

using location sensor or maps??

any way??

like in india we have states. then in states we have districts. i want to get user district or town/city with android location tarcker. please tell me any way.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 31, 2018, 2:35pm UTC](https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539/2 "2018-05-31T14:35:50Z")

</div>

To determine the location coordinates use the Location component. To display the coordinates on the map use the Map component. Basic examples of their use can be found in the documentation:

[https://docs.thunkable.com/thunkable-cross-platform/2-create/components/map-location/location-sensor](https://docs.thunkable.com/thunkable-cross-platform/2-create/components/map-location/location-sensor)

[https://docs.thunkable.com/thunkable-cross-platform/2-create/components/map-location/map](https://docs.thunkable.com/thunkable-cross-platform/2-create/components/map-location/map)

To display the location of your users on the map, you must create a base of their coordinates which can then be displayed on the map as markers or areas. Use the Spreadsheet or RealtimeDB components to access the database.

[https://docs.thunkable.com/thunkable-cross-platform/2-create/components/data-storage/spreadsheet](https://docs.thunkable.com/thunkable-cross-platform/2-create/components/data-storage/spreadsheet)

[https://docs.thunkable.com/thunkable-cross-platform/2-create/components/data-storage/realtime-db](https://docs.thunkable.com/thunkable-cross-platform/2-create/components/data-storage/realtime-db)

You can ask users to specify their location, but they may refuse to do so.

---

<div class="post-metadata">

**Author:** ![RN\_Vlogs](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@RN\_Vlogs](https://community.thunkable.com/u/RN_Vlogs)\
**Post date:** [May 31, 2018, 3:08pm UTC](https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539/3 "2018-05-31T15:08:40Z")

</div>

bro i want to get city name of user…not location in map… like i want that location sensor send me location of user as text

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 31, 2018, 3:14pm UTC](https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539/4 "2018-05-31T15:14:09Z")

</div>

No problems. Now we’ll think about it.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 31, 2018, 4:04pm UTC](https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539/5 "2018-05-31T16:04:19Z")

</div>

Is this a solution for you?

 ![getLocation](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/e/7ebdfcd1f0c2f9ffa5dc18f772f9da6e7589f2d6.png)

---

<div class="post-metadata">

**Author:** ![ragoza0932447933zv9j](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@ragoza0932447933zv9j](https://community.thunkable.com/u/ragoza0932447933zv9j)\
**Post date:** [January 15, 2020, 3:24am UTC](https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539/6 "2020-01-15T03:24:46Z")

</div>

Can you post the google map json link please

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [January 15, 2020, 8:42am UTC](https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539/7 "2020-01-15T08:42:53Z")

</div>

`https://maps.googleapis.com/maps/api/geocode/json?latlng=`

See more [https://developers.google.com/maps/documentation/geocoding/start?hl=ru](https://developers.google.com/maps/documentation/geocoding/start?hl=ru)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:46am UTC](https://community.thunkable.com/t/is-there-any-way-to-get-my-location-district/29539/8 "2024-11-08T11:46:01Z")

</div>


