Have followed all instructions for setting up Map API. Map won’t publish on page. It’s blank.

Update. Revised map size and now see this. And here's the javascript error
js:38 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: http://www.pinelandsalliance.org/blog/2018/01/test-map-post/

Again, as far as we can tell the api is set up correctly. Please advise. Thanks.
Ok. So, I made the key unrestricted and the map works. What's up with that.
You are facing this issue because you have inserted the wrong referrer on your google console. If your site is www.example.com then your referrer should be *example.com/*.

You have to insert this referrer and your issue will be resolved.


Please login or Register to Submit Answer