# Google Maps Geocoding integration not working

**URL:** <https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402>\
**Category:** Ask for Help\
**Created:** [July 26, 2023, 7:09pm UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402 "2023-07-26T19:09:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![meg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/meg/32/61386_2.png) [@meg](https://community.glideapps.com/u/meg)\
**Post date:** [July 26, 2023, 7:09pm UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402/1 "2023-07-26T19:09:24Z")

</div>

I am using the Google Maps integration to help users lookup and confirm addresses - this works.

Then I have another column that looks up the lat-lon on the inputted address using the same API key, but this isn’t working (or rather seems to work one out of ten times). Maybe I don’t have something set up right in Google? Any ideas or guidance would be appreciated.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 27, 2023, 12:00am UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402/2 "2023-07-27T00:00:15Z")

</div>

> [@meg](#):
>
> Then I have another column that looks up the lat-lon on the inputted address using the same API key

Can you explain more about this part? What is your current flow? Do you allow users to add address in text, then use Google Maps to convert that to coordinates?

---

<div class="post-metadata">

**Author:** ![meg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/meg/32/61386_2.png) [@meg](https://community.glideapps.com/u/meg)\
**Post date:** [August 3, 2023, 8:53pm UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402/3 "2023-08-03T20:53:28Z")

</div>

@ThinhDinh , sorry for the slow reply.

I have a user-specific table into which the user starts typing an address, then the next column uses google complete to finish the address, and a third column looks up the lat-lon also from the first column (assuming once completed with a google-found address). I’m thinking I can’t use the google integration twice in a single row. Is there another way?

 ![Screenshot 2023-08-03 at 4.47.32 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/7/d7b67910bcd4eda4ad291fa39a4a54bdb8c5f241.png)

---

<div class="post-metadata">

**Author:** ![meg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/meg/32/61386_2.png) [@meg](https://community.glideapps.com/u/meg)\
**Post date:** [August 3, 2023, 9:09pm UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402/4 "2023-08-03T21:09:52Z")

</div>

Ok, I took a different approached. Use google address complete in this form, then using Radar geo coder in another table. Seems to be working.

But I’m getting a bug in a mapbox viewer - is showing the a location in US when should be in Turkey. Any experience with that? In a different view the location is correct, so not sure why it’s not consistently working.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 4, 2023, 12:39am UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402/5 "2023-08-04T00:39:28Z")

</div>

> [@meg](#):
>
> and a third column looks up the lat-lon also from the first column (assuming once completed with a google-found address)

I assume you should be using the lat-lon lookup on the address lookup column? There would be no problems with configuring it that way, either using Google or Radar.

> [@meg](#):
>
> But I’m getting a bug in a mapbox viewer - is showing the a location in US when should be in Turkey. Any experience with that? In a different view the location is correct, so not sure why it’s not consistently working.

Can you show us how you’re configuring that? There should be no bugs if the coordinates are correct.

---

<div class="post-metadata">

**Author:** ![meg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/meg/32/61386_2.png) [@meg](https://community.glideapps.com/u/meg)\
**Post date:** [August 9, 2023, 11:58pm UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402/6 "2023-08-09T23:58:43Z")

</div>

I figured out the error on the second issue - the map was not looking at the correct coordinates field.

On the first issue, I am using Google for the address completion, and Radar for the lat-lon lookup, and this is working.

Thanks @ThinhDinh !!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 10, 2023, 12:01am UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402/7 "2023-08-10T00:01:06Z")

</div>

Is there a reason you don’t use Radar or Google for both? If I recall right they do offer both features.

---

<div class="post-metadata">

**Author:** ![meg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/meg/32/61386_2.png) [@meg](https://community.glideapps.com/u/meg)\
**Post date:** [August 10, 2023, 12:06am UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402/8 "2023-08-10T00:06:24Z")

</div>

I am using Google because the address lookup is better outside the US. But I can’t get it to also do the lat-lon. Creating two Google lookups is creating some kind of issue. When I swap out the lat-lon with Radar, it works 100% of the time. That’s why I’m using both.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 10, 2023, 12:09am UTC](https://community.glideapps.com/t/google-maps-geocoding-integration-not-working/64402/9 "2023-08-10T00:09:23Z")

</div>

Thanks for clarifying. Sounds like a bug to me if the Google lookups is not working, but glad you find a way to work with them.
