Google Maps No Longer Working - Question | JoomShaper

Google Maps No Longer Working

DA

Dina Abramson

SP Page Builder 1 year 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.

0
5 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #149889

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 :/

0
DA
Dina Abramson
Accepted Answer
1 year ago #149883

Hello,

Can someone please respond?

Thanks.

0
DA
Dina Abramson
Accepted Answer
1 year ago #149894

sigh, thanks

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #149896

OR -- OpenStreetMaps Addon

0
DA
Dina Abramson
Accepted Answer
1 year ago #149897

thanks.

0