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.
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.