Hello,
until last year it was all ok but… here for example:
https://www.libriincantina.it/programma-libri-in-cantina/
maps didn’t show when i open an event. In the console there’s this error
eventon_gen_maps.js?ver=4.9.7:198 Uncaught TypeError: Cannot read properties of undefined (reading ‘AdvancedMarkerElement’)
at eventon_gen_maps.js?ver=4.9.7:198:59
at geocoder.js:10:120
at geocoder.js:4:298
at WPa (geocoder.js:3:59)
at yoa.f [as Gg] (geocoder.js:4:186)
at Object.c [as _irsclc] (common.js:117:81)
at GeocodeService.Search?5m2&1d45.85097&2d12.233958&9sit&r_url=https%3A%2F%2Fwww.libriincantina.it%2Fprogramma-libri-in-cantina%2F&callback=_xdc_._irsclc&key=AIzaSyBGjoeNbd9yDj9YW7IyQrhtC_0bDZZlD00&token=30276:1:28
Any suggestion?
May 7,2025 AT 9:46AM - 2 hours ago -Hello,
Here’s the issue:
Google Maps JavaScript API error: RefererNotAllowedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: https://www.libriincantina.it/events/carlotta-camilla-polly-e-larissa-campeol-allastoria-lounge-wines-store/
Please try following https://elfsight.com/blog/how-to-get-google-maps-api-key-guide/ > Restrict your API key.