# Using Maps & Locations

**URL:** https://community.glideapps.com/t/using-maps-locations/43241
**Category:** Ask for Help
**Created:** [June 18, 2022, 10:30pm UTC](https://community.glideapps.com/t/using-maps-locations/43241 "2022-06-18T22:30:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jgliftoff](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jgliftoff/32/43992_2.png) [@jgliftoff](https://community.glideapps.com/u/jgliftoff)
#### Post date: [June 18, 2022, 10:30pm UTC](https://community.glideapps.com/t/using-maps-locations/43241/1 "2022-06-18T22:30:44Z")

</div>

Hi folks. I am creating a work order management / job tracking app for my remote crews who repair municipal sidewalks.

I cannot for the life of me figure out how to add a Google Maps lookup to the Jobs database.

Location doesn’t seem to be a data or form element? Am I missing something?

---

<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: [June 18, 2022, 11:08pm UTC](https://community.glideapps.com/t/using-maps-locations/43241/2 "2022-06-18T23:08:56Z")

</div>

Can you explain what you mean by “Google Maps lookup”?

Location is a component to collect the user’s location in coordinates form, but it is static and won’t update over time.

> **[Location Component (Apps)](https://docs.glideapps.com/all/topics/components/app-components/input/location-component)**
>
> Log your current location

---

<div class="post-metadata">

### Author: ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)
#### Post date: [June 18, 2022, 11:11pm UTC](https://community.glideapps.com/t/using-maps-locations/43241/3 "2022-06-18T23:11:10Z")

</div>

Maybe @jgliftoff means he cannot figure out how to display location pins on a map?

If this is the case: create a liste or inline list, and set the display layout type to `map`.

[Map layout](https://docs.glideapps.com/all/topics/components/app-components/lists/layouts/map-list)

---

<div class="post-metadata">

### Author: ![jgliftoff](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jgliftoff/32/43992_2.png) [@jgliftoff](https://community.glideapps.com/u/jgliftoff)
#### Post date: [June 18, 2022, 11:44pm UTC](https://community.glideapps.com/t/using-maps-locations/43241/4 "2022-06-18T23:44:47Z")

</div>

Hello @nathanaelb and @ThinhDinh and thanks for the replies! I am trying to achieve the latter - pins on a map. But before I get to the display, I am trying to figure out how I can get an address field using Glide Tables (see image)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/d/5d8f98c78aa5bcbbbf1b9e5962a2b7e3a597defd.jpeg)

I would like to have a specific address for each row, and display the map on the details page in the web app. Do I need to capture the address fields (Unit, Street, City, Region, Country, Code) separately?

Thanks again.

---

<div class="post-metadata">

### Author: ![jgliftoff](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jgliftoff/32/43992_2.png) [@jgliftoff](https://community.glideapps.com/u/jgliftoff)
#### Post date: [June 18, 2022, 11:52pm UTC](https://community.glideapps.com/t/using-maps-locations/43241/5 "2022-06-18T23:52:06Z")

</div>

I call it a Google Maps Lookup as I was thinking about the form input - I would love to have the standard Google ‘type-ahead’ functionality.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/f/ff61514d124ffc6964be0ba737ab3f40e15c2a92.png)

---

<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: [June 19, 2022, 12:35am UTC](https://community.glideapps.com/t/using-maps-locations/43241/6 "2022-06-19T00:35:11Z")

</div>

So you’re letting the users fill that themselves? To make it easier, I think it should be a single field.

> [@jgliftoff](#):
>
> I call it a Google Maps Lookup as I was thinking about the form input - I would love to have the standard Google ‘type-ahead’ functionality.

This is, to be clear, not easy to achieve. Please follow the tutorial below to use the Geoapify API.

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/7/871a8dc83e6925ef237f26062a4031ddbb8a0e0e.jpeg "Glide: Address Autocomplete") ](https://www.youtube.com/watch?v=4a8t7fRhdo4)

---

<div class="post-metadata">

### Author: ![jgliftoff](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jgliftoff/32/43992_2.png) [@jgliftoff](https://community.glideapps.com/u/jgliftoff)
#### Post date: [June 19, 2022, 1:42am UTC](https://community.glideapps.com/t/using-maps-locations/43241/7 "2022-06-19T01:42:25Z")

</div>

Thanks @ThinhDinh, I appreciate the clarity. I’m looking for easy to achieve 🙂 Going to have to sacrifice the form experience and just focus on the data.

---

<div class="post-metadata">

### Author: ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)
#### Post date: [June 19, 2022, 9:39am UTC](https://community.glideapps.com/t/using-maps-locations/43241/8 "2022-06-19T09:39:00Z")

</div>

You’re on the right path. To keep it simple, here’s how I would approach it:

1. Input an address manually in your Glide Table, in a text basic column. Check if the pin displays on the map. “Eg. 100 boulevard Leclerc, Paris” or is the zip code required.
2. In the builder, on your screen, include a text input component that writes to the text column in 1. Now your setup should work.
3. Your setup in prone to error, to improve it:  
3a. In your table, instead of one text column, create multiple: street, zip, city (for instance). Join this data in a final column called “Full address”, this column is a template column.  
3b. Instead of one text input component, create multiple: street, zip, city. Make “required” as needed. Now your “Full address” column should be populating with the data submitted.
4. Your setup in 3 is now better, but it is still prone to error because it is not validating the existence of the address. Use Thinh’s method with a 3rd party geo API that validates in real time your address and suggests the correct format.
