Google Maps stopped working

I have a Google map installed on my site and it previously worked, but for some reason it stopped working recently.

I tried to uninstall and the reinstall the google maps dependant files, but that didn’t fix it.

I am using a dynamic address and marker - here is that code

<dmx-google-maps id="maps1" marker-address="template_listing_address" streetview-control="true" zoom-control="true" maptype="satellite" zoom="20" dmx-bind:address="sc_template_details.data.template_content.template_listing_address" dmx-bind:markers="sc_template_details.data.template_content">

Here is the page with this data

the api key has to be right, because if i remove all of the dynamic data and just manually put in an address, it shows the map just fine - see below

Any suggestions on what i should check for?

have you looked in the web developer tools to make sure the data is loading the way you think it should? I just added a new map today with dynamic markers and no problems.

and looks like you are adding addresses and not lat/long, so maybe you could be over on your limit for converting addresses?

Google Maps has a rate limit these days and if you go above the free usage it is then charged to the credit card of the Developer Account it is registered to (so it could be that). A much better alternative is Leaflet which is free and open source. Leaflet is supported in Wappler and has many customisation abilities that equal that of Google Maps. I'd go as far to see it is a lot nicer. It is also very easy to configure and easy to drop in as a replacement thanks to Wappler's superb implementation.

1 Like

the issue is with leaflet is that we don’t always have the lat/long coordinates, but always have the full address.

it also doesn’t show too many processes in the last month, so it shouldn’t be an issue

1 Like

I'm sure we did something with address lookup in a past Project so will see if I can track it down @BWCWeb

All looks good so can discount my thoughts on that side. Have you checked the console for any possible errors?

no errors in the project log in the console either. Very strange.

I also see that if i manually type in an address in the dynamic address area, the map comes up correctly too, so it seems there is a disconnect with the dynamic data being pulled in

My two cents here, used Nominatum, which has a free quota of 1 request/s

Also IQ Location has good plans...

i do appreciate this and will see if i can incorporate that, however, i would like to know if there is something that is causing the current setup to not work. Its strange that it stopped

Here is a test page that i just created and only used a Google Map and it still doesn’t show.

https://openhousedetails.com/test.asp?ID=215000

i can’t figure this out.

The map loaded for me on Chrome Version 140.0.7339.80 (Official Build) (64-bit).

Same here on Chrome 140.0.7339.51 (Android)

Something you could check if the map is not loading for you is to try Incognito mode (if you have browser extensions installed one of these may be causing issues especially ad-blockers). If it works in Incognito mode without any extensions (if you do have extensions installed) then what you can try is to whitelist the domain hosting the map in the extension settings. If none of this is relevant please discount it. It is an issue we have had in the past when strange things occur out of the blue so just thought to mention it as may be a factor especially if any extensions have recently updated etc.

Chrome: Just a blue square (Works in Incognito mode).
Safari: Works fine.
Firefox: Works fine.

Have a look at

As of March 1st, 2025, google.maps.places.Autocomplete is not available to new customers - Wappler General / Bugs - Wappler Community

The map works fine for me, both on Mac and on Windows.
What browser are you using? Googling the error you can find similar topics:

and a few more, so check the suggestions and see if there's no issue with your browser.

So, i did see that there was a Finish Update on my chrome browser. I didn’t think that would cause the issue, but in fact it was exactly the issue. As soon as i clicked on that and it rebooted my browser….everything worked again.

I’m not sure if this means that anyone that doesn’t update their browser will have this issue or not, but we are good to go now.

Thank you for all your help!

1 Like

Unfortunately it is one of those unknowns as we can never provide for all variations in User preferences or control their choice of extensions etc. All we can do is provide a fallback for if things don't work or at least alert them to any possible issues (having a 'report issue' link often suffices). Aside from that not a lot you can really do about it.

Am happy to hear it is now working for you though!

:slight_smile: