Relative Content

Tag Archive for google-maps-api-3

After setting up API websites restriction – maps are not visible on my page

In July 2024 I set up the Goole Maps service on my web page. Everything worked very well. On September 19, the trial period ended. Today I enabled the paid version of the maps service.
I set up website restriction as it was recommended.
Unfortunately, the maps completely disappeared from my page.
If I choose “Set an application restriction – None” – maps are visible well.

After setting up API websites restriction – maps are not visible on my page

In July 2024 I set up the Goole Maps service on my web page. Everything worked very well. On September 19, the trial period ended. Today I enabled the paid version of the maps service.
I set up website restriction as it was recommended.
Unfortunately, the maps completely disappeared from my page.
If I choose “Set an application restriction – None” – maps are visible well.

After setting up API websites restriction – maps are not visible on my page

In July 2024 I set up the Goole Maps service on my web page. Everything worked very well. On September 19, the trial period ended. Today I enabled the paid version of the maps service.
I set up website restriction as it was recommended.
Unfortunately, the maps completely disappeared from my page.
If I choose “Set an application restriction – None” – maps are visible well.

Google Maps Advanced Marker Rendering Text Instead of Pin

I’m trying to migrate our Google Maps from the original pin type (google.maps.Marker) to the newer Advanced Marker type (google.maps.marker.AdvancedMarkerElement). I’m trying to do this with minimum changes to existing code, which would appear to have either skipped something or left some incompatible elements in place. I’m having a problem where instead of rendering a map pin at the target location, it’s rendering the text which is meant to appear in the marker’s InfoWindow when it gets clicked.

Google Maps Advanced Marker Rendering Text Instead of Pin

I’m trying to migrate our Google Maps from the original pin type (google.maps.Marker) to the newer Advanced Marker type (google.maps.marker.AdvancedMarkerElement). I’m trying to do this with minimum changes to existing code, which would appear to have either skipped something or left some incompatible elements in place. I’m having a problem where instead of rendering a map pin at the target location, it’s rendering the text which is meant to appear in the marker’s InfoWindow when it gets clicked.