# Unnecessary Costs Map component (Geo location API)

**URL:** <https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147>\
**Category:** Get Help\
**Created:** [May 29, 2021, 7:21am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147 "2021-05-29T07:21:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![DylanS](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@DylanS](https://forum.adalo.com/u/DylanS)\
**Post date:** [May 29, 2021, 7:21am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147/1 "2021-05-29T07:21:10Z")

</div>

Hi all!

I love the maps component, but I have a problem with it, the cost. I have a map with 100 pins, everytime a user loads this map it uses 100 geo location API calls! How can I prevent this from happening? I already tried to only use coordinates, but that didn’t seem to work.

I should only need the geo location API once, after a user creates a new location based on a address to switch it to coordinates, not everytime!

---

<div class="post-metadata">

**Author:** ![DylanS](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@DylanS](https://forum.adalo.com/u/DylanS)\
**Post date:** [May 31, 2021, 10:29am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147/2 "2021-05-31T10:29:34Z")

</div>

Anyone? Am I wrong? Anyone looked in to this?  
Edit:  
@anon78309838 do you maybe know more about this?

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [June 2, 2021, 9:07am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147/3 "2021-06-02T09:07:24Z")

</div>

I’m not sure I am qualified enough on this subject to make recommendations. My understanding of it is that it would need to make those requests everytime to the API to “draw” the pins on the map.

I’m not sure of the technical workaround for this, other than some form of caching, which again, goes beyond my technical capabilities.

If you have an example of how other apps (outside of Adalo of coursE) that do this, so we could make a comparison, it would help a lot.

---

<div class="post-metadata">

**Author:** ![DylanS](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@DylanS](https://forum.adalo.com/u/DylanS)\
**Post date:** [June 2, 2021, 9:16am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147/4 "2021-06-02T09:16:10Z")

</div>

Well, since I pull my pins from the database which stores coordinates I do not really need the geo API to calculate coordinates. That is only needed if you have addresses stored in your database, instead of coordinates. (Atleast as far as I understand)

It would be nice if the geo API can be turned off for people who store coordinates.

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [June 2, 2021, 9:26am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147/5 "2021-06-02T09:26:35Z")

</div>

Could you try turning off geo coding on your Google cloud console settings and see if coordinates still load?

I know addresses will most likely fail if you turn it off, but coordinates maybe OK?

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [June 2, 2021, 9:28am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147/6 "2021-06-02T09:28:28Z")

</div>

Hi @DylanS,

As an alternative idea - may be this may help?

> **[Overview  |  Maps Static API  |  Google Developers](https://developers.google.com/maps/documentation/maps-static/overview?hl=en_US)**

Best,  
Victor

---

<div class="post-metadata">

**Author:** ![DylanS](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@DylanS](https://forum.adalo.com/u/DylanS)\
**Post date:** [June 2, 2021, 9:29am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147/7 "2021-06-02T09:29:00Z")

</div>

I will try that and see if the component still works!

---

<div class="post-metadata">

**Author:** ![DylanS](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@DylanS](https://forum.adalo.com/u/DylanS)\
**Post date:** [June 2, 2021, 9:30am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147/8 "2021-06-02T09:30:05Z")

</div>

I would like to have maybe hundreds of clickable markers in my map. That’s why I would like to reduce the costs:)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [June 12, 2021, 9:31am UTC](https://forum.adalo.com/t/unnecessary-costs-map-component-geo-location-api/13147/9 "2021-06-12T09:31:00Z")

</div>

Closed on June 12, 2021, 9:31am UTC

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