Adjust Map Zoom Does Not Work For List of Markers

Hi All,

About a month ago I created a map that has a list of markers (2 of them) and set their workflow as it was adjusting the zoom automatically to show both markers. However, it suddenly broke without me changing any properties. I have been trying to create the same on different pages as well but it does not work.

I am using Adjust Map Zoom function (description below), however it only zooms on the first addresss.

Adjust map zoom
This action automatically adjusts the map zoom so that all markers are visible.

Below are my demo and editor links. Am I doing something wrong or is adjusting map zoom broken?

Thanks a lot.
Berk

bump. anyone?

Could this be your issue? Anyway, since a few people seem to have checked it out recently, there’s no way to tell.

1 Like

Hi keith!

I am afraid that is not it. I created this app in a minute to demonstrate the issue without entering Google API keys (as I cannot share my client’s app).

Thanks for your reply though!

1 Like

Yeah the Gmap API thing is a bummer. Anyway, I had hoped to take a look to see what’s going on but you may just want to file a bug report with Bubble if this is something reproducible in your client app. It wouldn’t be the first time that a Bubble change/issue had broken certain maps functionality!

1 Like

I guess I will do it. Thanks again!

So, on Adjust Map Markers an error is being thrown in the console (hit 12 to show dev tools and select Console if it’s not visible):

not a LatLng or LatLngLiteral: not an Object
    at _.re.captureStackTrace (https://maps.googleapis.com/maps/api/js?v=3&callback=initialize_google_map_api&language=en&key=AIzaSyDrc7Z2Xh0LNmHty4bO9Jine0mnKpx6p9Q:258:1698)
    at new _.re (https://maps.googleapis.co

And also on page load it’s throwing:

Failed to load resource: the server responded with a status of 500 ()

for https://berktest.bubbleapps.io/version-test/api/1.1/places

That’s internal server for Google Maps.

If you haven’t really changed anything in your app this all implies that there’s some problem on the Bubble side of things. File a bug report and give them information on errors related to Google Maps that you see in your real app’s console!

This topic was automatically closed after 14 days. New replies are no longer allowed.