# Is there a real case to share about using Google Map integration?

**URL:** <https://community.glideapps.com/t/is-there-a-real-case-to-share-about-using-google-map-integration/71091>\
**Category:** Ask for Help\
**Tags:** integration\
**Created:** [February 23, 2024, 12:54pm UTC](https://community.glideapps.com/t/is-there-a-real-case-to-share-about-using-google-map-integration/71091 "2024-02-23T12:54:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nazca\_Line\_Design](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nazca_line_design/32/66287_2.png) [@Nazca\_Line\_Design](https://community.glideapps.com/u/Nazca_Line_Design)\
**Post date:** [February 23, 2024, 12:54pm UTC](https://community.glideapps.com/t/is-there-a-real-case-to-share-about-using-google-map-integration/71091/1 "2024-02-23T12:54:32Z")

</div>

I am trying to create an app integrated with Google Map, but I am unsure how to use the “distance calculation”. I read the document again and again, but I still couldn’t figure out how exactly the “distance calculation” works. Thanks.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 23, 2024, 1:47pm UTC](https://community.glideapps.com/t/is-there-a-real-case-to-share-about-using-google-map-integration/71091/2 "2024-02-23T13:47:42Z")

</div>

Looking at the [Google Maps integration documentation](https://www.glideapps.com/docs/automation/integrations/google-maps), they show a button with a calculate distance action. When you configure the action, you set the the starting and ending addresses, and when the action is called when the button is clicked, it returns Distance and Duration values that you can write to other columns in your table. Which part are you having trouble with?

---

<div class="post-metadata">

**Author:** ![lame](https://avatars.discourse-cdn.com/v4/letter/l/c57346/32.png) [@lame](https://community.glideapps.com/u/lame)\
**Post date:** [February 25, 2024, 7:04pm UTC](https://community.glideapps.com/t/is-there-a-real-case-to-share-about-using-google-map-integration/71091/3 "2024-02-25T19:04:37Z")

</div>

Make sure you have API key set up and make a request like this: [https://maps.googleapis.com/maps/api/directions/json?origin=origin\_address&destination=destination\_address&key=your\_api\_key](https://maps.googleapis.com/maps/api/directions/json?origin=origin_address&destination=destination_address&key=your_api_key).

---

<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:** [February 26, 2024, 12:07am UTC](https://community.glideapps.com/t/is-there-a-real-case-to-share-about-using-google-map-integration/71091/4 "2024-02-26T00:07:21Z")

</div>

This is built in already using the Google Maps integration. You don’t need to do an API call.

---

<div class="post-metadata">

**Author:** ![Nazca\_Line\_Design](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nazca_line_design/32/66287_2.png) [@Nazca\_Line\_Design](https://community.glideapps.com/u/Nazca_Line_Design)\
**Post date:** [February 26, 2024, 5:27am UTC](https://community.glideapps.com/t/is-there-a-real-case-to-share-about-using-google-map-integration/71091/5 "2024-02-26T05:27:06Z")

</div>

I just realised that I need to add boxes for the “start and ending addresses” on the layout page, which is not mentioned in the documentation. I have added it and it worked well. Thanks again for the help!

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [March 1, 2024, 3:36pm UTC](https://community.glideapps.com/t/is-there-a-real-case-to-share-about-using-google-map-integration/71091/6 "2024-03-01T15:36:44Z")

</div>

> [@Nazca\_Line\_Design](#):
>
> I just realised that I need to add boxes for the “start and ending addresses” on the layout page, which is not mentioned in the documentation.

Thanks for catching that! I’ll let our docs team know.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [March 8, 2024, 3:37pm UTC](https://community.glideapps.com/t/is-there-a-real-case-to-share-about-using-google-map-integration/71091/7 "2024-03-08T15:37:25Z")

</div>

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