Google Maps - API installed and running - still an error

  • Jill Clarke
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 9 months ago #126760 by Jill Clarke
Hi Tuan,

Is there something wrong with the map call code in "view-map"?

Event Booking Administrator Component 3.10.3, plugin for Google maps enabled - autla.org.au/book/sunpac/view-map

The map loads, but then greys out, seconds later.

Everything seems to be set up correctly but then the error says "We could not find a visible Google Map within 2 seconds of loading the page. "


All green on this checker -

Google Maps Platform API Checker
Maps Platform Report
SUCCESS: Woohoo! This site is correctly using an API key when loading the Maps JavaScript API v3.

INFO: We could not find a visible Google Map within 2 seconds of loading the page. To optimize performance, only load the Maps JavaScript API if you plan on using the API.

JS API Call:
maps.google.com/maps/api/js?key=AIza*****6xbA


Can you tell me what to alter "To optimize performance, only load the Maps JavaScript API if you plan on using the API."

Thanks

Jill

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #126787 by Tuan Pham Ngoc
Hello Jill

Look like there is something wrong with the API Key setup. Google throws this error at the moment:

JavaScript API error: RefererNotAllowedMapError
developers.google.com/maps/documentation...ot-allowed-map-error

Please correct Referer restriction setting and try again

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc