Is there any way to get my location district?

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.

1 Like

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/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/realtime-db

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

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

No problems. Now we’ll think about it.

Is this a solution for you?

1 Like

Can you post the google map json link please

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

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