Same problem with Google API like here. As is described in linked bug report: "If you are using the Google Maps API on localhost or your domain was not active prior to June 22nd, 2016, it will require a key going forward.".

Comments

marysmech created an issue. See original summary.

marysmech’s picture

Version: 7.x-2.x-dev » 7.x-2.0
marysmech’s picture

This patch should solve the problem. It's based on patch for #2758889.

marysmech’s picture

Status: Active » Needs review
njacobson’s picture

I am using Drupal 8... I'm pretty sure my map was working when I first installed it. Then I updated Drupal 8 Core today and now it's not working. I have an API key and set the site referrer to http://localhost. My firebug console gives these errors (below). I saw that there is a patch that seems to be fixing the issue for several people, but I've never installed a patch and it looked like it might be a patch for Drupal 7 only?

js:34 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messag... @ js:34(anonymous function) @ common.js:50(anonymous function) @ common.js:202c @ common.js:44(anonymous function) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Flocalhost%2Fnewnemo%2Fnode%2F109&callback=_xdc_._…:1
jquery.min.js?v=2.2.3:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.send @ jquery.min.js?v=2.2.3:4ajax @ jquery.min.js?v=2.2.3:4n._evalUrl @ jquery.min.js?v=2.2.3:4ua @ jquery.min.js?v=2.2.3:3append @ jquery.min.js?v=2.2.3:3$.fn.(anonymous function) @ appear.js?v=8.2.4:146insert @ ajax.js?v=8.2.4:1060loadEditorsAjax.commands.insert @ quickedit.js?v=8.2.4:523Drupal.Ajax.success @ ajax.js?v=8.2.4:864success @ ajax.js?v=8.2.4:505i @ jquery.min.js?v=2.2.3:2fireWith @ jquery.min.js?v=2.2.3:2z @ jquery.min.js?v=2.2.3:4(anonymous function) @ jquery.min.js?v=2.2.3:4
util.js:211 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messag...