# Google maps asks for location when initial content is circular (empty)

**URL:** <https://forum.bubble.io/t/google-maps-asks-for-location-when-initial-content-is-circular-empty/261776>\
**Category:** APIs\
**Created:** [May 8, 2023, 9:23pm UTC](https://forum.bubble.io/t/google-maps-asks-for-location-when-initial-content-is-circular-empty/261776 "2023-05-08T21:23:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtm2023](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@dtm2023](https://forum.bubble.io/u/dtm2023)\
**Post date:** [May 8, 2023, 9:23pm UTC](https://forum.bubble.io/t/google-maps-asks-for-location-when-initial-content-is-circular-empty/261776/1 "2023-05-08T21:23:41Z")

</div>

I’ve been trying to find a workaround for this for weeks. I have a map with initial content referencing an input (which references map center for pan) allowing the user to search and/or pan the map to find a location/address but the setup is circular so the map doesn’t technically have an initial value – reverting to google maps typical new york location by default… but because of this – for some reason unknown to me and bubble support – this prompts for user location – on page load (even with elements hidden) The biggest issue is that my setup functions really well and I don’t need user location at all but I can’t manage to prevent it from asking.

Any thoughts?  
@romanmg

 ![screensh3](https://us1.discourse-cdn.com/bubble/original/3X/9/c/9cc0e9a7badf1989773320de903c97b4f994b98c.png)

On click “coordtoaddress” swaps for search input so user can search (toggled)

 ![screensh2](https://us1.discourse-cdn.com/bubble/original/3X/e/1/e13031278d94c1d4e0c56fd1e0d7d1c0b4fbbda8.png)

---

<div class="post-metadata">

**Author:** ![DJPeter](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@DJPeter](https://forum.bubble.io/u/DJPeter)\
**Post date:** [July 24, 2023, 10:13am UTC](https://forum.bubble.io/t/google-maps-asks-for-location-when-initial-content-is-circular-empty/261776/3 "2023-07-24T10:13:33Z")

</div>

have you figured out a way to resolve this issue?

---

<div class="post-metadata">

**Author:** ![dtm2023](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@dtm2023](https://forum.bubble.io/u/dtm2023)\
**Post date:** [July 24, 2023, 11:18am UTC](https://forum.bubble.io/t/google-maps-asks-for-location-when-initial-content-is-circular-empty/261776/4 "2023-07-24T11:18:38Z")

</div>

The solution is to not do what I’m doing.

As slick as my set up was, allowing a user to both search for a location and pan map for location, both auto filling the correct address in the same field – it only works by circular initial value OR coding your own Google maps plugin. Based on how I was using this I have decided to abandon this functionality in this way and use a simpler approach.
