# Google Maps: Centering map on everything other than what I want it to center on (SOLVED)

**URL:** <https://forum.bubble.io/t/google-maps-centering-map-on-everything-other-than-what-i-want-it-to-center-on-solved/3694>\
**Category:** Need help\
**Created:** [June 15, 2016, 6:51pm UTC](https://forum.bubble.io/t/google-maps-centering-map-on-everything-other-than-what-i-want-it-to-center-on-solved/3694 "2016-06-15T18:51:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cassiawatts](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cassiawatts/32/6634_2.png) [@cassiawatts](https://forum.bubble.io/u/cassiawatts)\
**Post date:** [June 15, 2016, 6:51pm UTC](https://forum.bubble.io/t/google-maps-centering-map-on-everything-other-than-what-i-want-it-to-center-on-solved/3694/1 "2016-06-15T18:51:42Z")

</div>

I simply want the map to center on the current geographic position. I have the markers set as a list of posts that are 0.2 miles from the current geographic position.

The issue is the map is not focusing on the current location, but focusing on random markers that are much further than 0.2 miles from the current geographic location. It seems as if I have the data right, but I may be using my “bubble logic” the wrong way.

Can anyone spot a flaw that may be causing the map to not center on the current location? Thanks in advance.

 ![](https://us1.discourse-cdn.com/bubble/original/2X/b/b6f3b187a7eb7c82bb12fa513141d44b8d59d5e3.png)

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [June 16, 2016, 7:05am UTC](https://forum.bubble.io/t/google-maps-centering-map-on-everything-other-than-what-i-want-it-to-center-on-solved/3694/2 "2016-06-16T07:05:23Z")

</div>

That should work with the box ticked for centre.

But it is a little flaky with geo position.

---

<div class="post-metadata">

**Author:** ![cassiawatts](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cassiawatts/32/6634_2.png) [@cassiawatts](https://forum.bubble.io/u/cassiawatts)\
**Post date:** [June 16, 2016, 10:42pm UTC](https://forum.bubble.io/t/google-maps-centering-map-on-everything-other-than-what-i-want-it-to-center-on-solved/3694/3 "2016-06-16T22:42:25Z")

</div>

Okay, I was curious as if it was just flaky geo positioning. Thank you for your help.

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [June 17, 2016, 2:39pm UTC](https://forum.bubble.io/t/google-maps-centering-map-on-everything-other-than-what-i-want-it-to-center-on-solved/3694/4 "2016-06-17T14:39:31Z")

</div>

What browser are you using ?

I get issues with Chrome, even thought it has GPS persmission, it hangs … and thus won’t centre.

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [June 18, 2016, 1:10pm UTC](https://forum.bubble.io/t/google-maps-centering-map-on-everything-other-than-what-i-want-it-to-center-on-solved/3694/5 "2016-06-18T13:10:19Z")

</div>

FYI it seems Google no longer allow “Get Current Location” from non-SSL sites.

---

<div class="post-metadata">

**Author:** ![cassiawatts](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cassiawatts/32/6634_2.png) [@cassiawatts](https://forum.bubble.io/u/cassiawatts)\
**Post date:** [June 21, 2016, 4:03pm UTC](https://forum.bubble.io/t/google-maps-centering-map-on-everything-other-than-what-i-want-it-to-center-on-solved/3694/6 "2016-06-21T16:03:35Z")

</div>

I a using Chrome, but I have been playing around with it a bit, and I find if you create a button that on click allows the map to center on the current geographic location, Google will indeed get the current location. Maybe this is like when a browser blocks a popup except for when the user clicks, the popup and map centering are user-warranted actions? Not sure, though, just a theory.

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [June 21, 2016, 4:39pm UTC](https://forum.bubble.io/t/google-maps-centering-map-on-everything-other-than-what-i-want-it-to-center-on-solved/3694/7 "2016-06-21T16:39:37Z")

</div>

As long as you are a [bubbleapps.io](http://bubbleapps.io) site, or have set up your own with SSL, you will be fine.
