cyberhobo / wordpress-geo-mashup

Official repository for Geo Mashup, the plugin that makes WordPress into a GeoCMS. Documentation:
https://github.com/cyberhobo/wordpress-geo-mashup/wiki/Getting-Started
63 stars 15 forks source link

Problem "loading Google Maps correctly" #796

Closed freem32 closed 6 years ago

freem32 commented 6 years ago

I am trying to insert maps onto my webpage, but keep getting the message "Oops! something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details."

JavaScript console error:

Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error Your site URL to be authorized: https://activecaribbeantravel.com/wp-admin/post.php?post=19&action=edit

Yes, I have obtained an API key and placed it in my webpage plug-in.

Am I waiting for Google to "authorize" my URL? Is there anything I need to do?

Please advise / Thanks,

Mark

cyberhobo commented 6 years ago

It sounds like you have the HTTP Referrers restriction set in your API key management console, in which case adding https://activecaribbeantravel.com to the list of allowed referrers should fix it.

screenshot 2017-11-15 06 54 39
freem32 commented 6 years ago

D’uh… Sorry about that / Thanks. I must have overwritten that at some point… Great App / Thanks again!

From: Dylan Kuhn [mailto:notifications@github.com] Sent: November 15, 2017 9:58 AM To: cyberhobo/wordpress-geo-mashup wordpress-geo-mashup@noreply.github.com Cc: freem32 activecaribbeantravel@cogeco.ca; Author author@noreply.github.com Subject: Re: [cyberhobo/wordpress-geo-mashup] Problem "loading Google Maps correctly" (#796)

It sounds like you have the HTTP Referrers restriction set in your API key management console, in which case adding https://activecaribbeantravel.com to the list of allowed referrers should fix it.

https://user-images.githubusercontent.com/286838/32842579-47cf7232-c9d2-11e7-8692-f882a794f8d6.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cyberhobo/wordpress-geo-mashup/issues/796#issuecomment-344617932 , or mute the thread https://github.com/notifications/unsubscribe-auth/AgG_YuTCq6TGTIxuG2El4ywzMLADC3zmks5s2vwMgaJpZM4QfArL . https://github.com/notifications/beacon/AgG_YmeTvEbQg-0JVtOR0KATmma-k6Teks5s2vwMgaJpZM4QfArL.gif