Skip to content

Conversation

@SkyLundy
Copy link

Replaced previous Google APIs with current versions. Uses new async method that prevents warnings in inspector console.

Updated maps API to use new method in the Google Maps documentation

Updated marker API according to this guide by Google

All features appear to be working.

options: {
zoom: 12,
draggable: true, // +mats
center: null,
Copy link

@Phatskool Phatskool Apr 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SkyLundy
Hi! quick question, i used your code, i also added a mapId attribute over here, but i get a request denied message below my map. any troubleshooting ideas?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Phatskool Sorry for the late reply, my first thought is that it's an issue with Google. The request is being made but the only entity that can deny it would be Google.

If I remember there are some settings where you need to define where the map may be used(?). Sorry I can't be of more help at the moment, I'm traveling and can't remember the steps off the top of my head.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SkyLundy Much thanks, it appears that geolocation and geocoding are not supported with HTTP referrer restrictions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants