• Resolved steigw

    (@steigw)


    When I use the [CongressLookup] call, the google map that shows underneath the address entry window just says Oops! Something went wrong. This page didn’t load Google Maps correctly. See the JavaScript console for technical details.

    Here is the error as far as I can tell:

    js?sensor=false:34 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.ib @ js?sensor=false:34(anonymous function) @ common.js:51(anonymous function) @ common.js:199c @ common.js:45(anonymous function) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Fstaging.mysite.org%2Ffederal-legislature&ca…:1
    util.js:208 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

    I would appreciate pointers on how to fix this. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same deal here. Looks like Google Maps needs an API key now. I had to hardcode it into the plugin, which stinks.

    Interestingly, this worked fine for me when running locally on lvh.me (localhost).

    • This reply was modified 9 years, 7 months ago by microberto.
    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    I have contacted the coder about this. I will update you as soon as I can…

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    UPDATE:

    The problem is related to the number of requests to Google Map per key per day. They place a limit on how many requests there can be. Apparently we are a victim of our own success… There are enough installations of CongressLookup now that we occasionally hit the limit on the provided key. We are working on adding an option to enter your own Google Maps API key and will include it in the next plugin update.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Google maps Js error’ is closed to new replies.