Google Maps no longer working - Forum | JoomShaper
Solved SP Page Builder

Google Maps no longer working

Asked by Dina Abramson 2 years ago Last activity 2 years ago

Hi, I have added a google map to my homepage and the map is not loading. The api key has been added.

The console indicates the following:

js?key=AIzaSyAlu7IMR…tlhZPcgJxQV4eLc:167 As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. Please see https://developers.google.com/maps/deprecations for deprecation details.
_.Ml @ js?key=AIzaSyAlu7IMR…tlhZPcgJxQV4eLc:167

In the details it indicates that some javascript required inserting.

Do we do this in the template in the custom coding custom javascript area or is this something that has to be inserted in a file somewhere?

thanks.

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
2 years ago · edited

Hi DIna,

As I saw Google on February 21, 2024 withdrew the google.maps.Marker in Google Maps - that's why stopped working.

The only suggestion I have now is :

  1. Disable Google Map addon
  2. On that area put Raw HTML addon
  3. On Google Maps website generate map > Embed code (tab)
  4. Copy & Paste HTML code into (2)
  5. Yes, it will work

I added to bug list! So we both have to wait for next update.


Google loves to make such a changes :/

4 more replies

Dina Abramson Asked this

Hello,

Can someone please respond?

Thanks.

Dina Abramson Asked this

sigh, thanks

Paul Frankowski Senior Staff

OR -- OpenStreetMaps Addon

Dina Abramson Asked this

thanks.

Log in to reply.