SP Property And The Google Map - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

SP Property And The Google Map

KS

Kim Siebert

Extension 6 months ago

Hi folks,

I'm using SP Property to present some properties and the Google map is not working. The console says:

main.js:171 As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. At this time, google.maps.Marker is not scheduled to be discontinued, but google.maps.marker.AdvancedMarkerElement is recommended over google.maps.Marker. While google.maps.Marker will continue to receive bug fixes for any major regressions, existing bugs in google.maps.Marker will not be addressed. At least 12 months notice will be given before support is discontinued. Please see developers.google.com/maps/deprecations for additional details and developers.google.com/maps/documentation/javascript/advanced-markers/migration for the migration guide.
_.pm    @   main.js:171

When this Marker is deprecated over a year, why is this not updated? or am I wrong and I have to modify something by myself? How is that done then? Could some one please help me?

0
6 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 6 months ago #189157

Hello Kim Siebert,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. Rest assured, I will look into this issue for you and work to resolve it as quickly as possible.

If you could kindly provide any additional information regarding the issue, it would greatly help me investigate and address it more efficiently. Please share the page link to check the error in console.

Best regards

0
KS
Kim Siebert
Accepted Answer
6 months ago #189167

Yes, here you go:

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 6 months ago #189182

Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup before sharing.

0
KS
Kim Siebert
Accepted Answer
5 months ago #190600

Okay, here you go:

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 5 months ago #190607

The error message says - "The current URL loading the Maps JavaScript API has not been added to the list of allowed referrers. Please check the referrer settings of your API key in the Cloud console."

Please check the error message here: Google Maps API Error Message

You have to add your site as allowed referrer on your Google Maps API settings.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 months ago #197801

Just checking in to see if you have feedback on the provided solution. If the answer resolved your query, you can mark it as accepted to close the post and guide others with similar questions. You’ll find a button to accept answers below each comment.

If you need further assistance, feel free to let us know!

0