How to Fix the map centering issue (stuck on Manhattan)

Hey everyone! I’ve been struggling with a map feature that centers on Manhattan whenever the map loads. It’s a bit frustrating because, ideally, I want the map to center on the user’s location. After a lot of searching and trying different solutions, I still can’t get it to work as expected.

Hi @JakeC,

Welcome to the forum!

Did you try the method described in (2) here: Getting the User's Location | Adalo Resources?

Best,
Victor.

Hi Victor,
thanks for the fast reply. Yes, I tried.



When I preview the app, I see the address, so it’s pulled properly.
Sometimes, the map shows NY, and sometimes the spinning loading wheel.

[edit] I just found a “marker address” and mapped it with the variable from the “venue” table. Unfortunately, It still shows NY by default.

[edit2] - On the preview I see only one marker, even though I have selected multiple Markers to be displayed on the map.

My table with Venues has 3 test rows, all of them have the location field populated.
Could you have a look, please?
Thanks in advance.

Best,
Jake

Hi @JakeC,

As I don’t work in Adalo, I can’t have a look at your app directly.
Usually NYC on the map is displayed when the Marker in Google Map isn’t set up correctly. Just in case, here is Maps tutorial: Maps | Adalo Resources.

To display your device’s current location, there is a specific option in a map. I’ve just tested it and it works perfectly. Of course your browser / phone needs to allow the app to use location services.

I

Best,
Victor.

Hi Victor,

Thanks for yuor support. I managed to solve the issue.

Best
Jake

1 Like