Reverse geocoding

hello community
in my project I want to get the address from a marker using the google maps api
Reverse Geocoding
In the json file that returns
I tried to get the “formatted_address but I could not do anything other than” global_code “:” 8G95WMVR + MM2 "

Is there any way to get “formatted_address”

json.zip (2.1 KB)

Use locationIQ api

It will convert lat long to address or use kio4 extension

1 Like

I tried it but the return address is missing or not as accurate as from google map api
I will try the other one you suggest and I will inform you
Thanks

Did you use kio4 extension just like mentioned in this guide??

https://community.kodular.io/t/get-realtime-location-from-user-device/106716/21

1 Like

In the Button1 Click, Set web1 url to use obfuscated text, not the normal text. Because its a Js from Google, and Google services strictly stops you to get info by just a normal url. so You should use obfuscated text to get the actual value.

1 Like

Here is an example with LocationIQ

2 Likes

From the provided json

If you wish to get formatted address, use dictionary blocks

Also see

2 Likes

Forgot to mention that I used [Free] Json To Dictionary Extension

2 Likes

Thank you all for your help and your suggestions.
After a few hours of searching and testing I found what I was looking for
Here is the block code and json file for testing


json.zip (2.2 KB)

1 Like

Well done ! I prefer to work with dictionary blocks instead of jsonutils extension but since it suits you …

1 Like

I did not get the solution you proposed because at that time I found my own solution.

I’ll try it out with a dictionary block

1 Like

No problem :slight_smile: since you found a working solution.

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