Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Google API - MissingKeyMapError #83

Open
vgoetten opened this issue Jun 25, 2016 · 2 comments
Open

Issue with Google API - MissingKeyMapError #83

vgoetten opened this issue Jun 25, 2016 · 2 comments

Comments

@vgoetten
Copy link

Hi guys,
my site is www.joinvale.org and an error is occurring when the site tries to load the map:

Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.
js?sensor=false:32 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.ab @ js?sensor=false:32
util.js:211 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
util.js:211 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-requi

@amauryleproux
Copy link

Hi @vgoetten do you find a solution to fix this problem?

I get this error : "Google Maps API error: MissingKeyMapError"

Thanks :)

@amauryleproux
Copy link

Ok I found a solution.
You need to go to https://console.developers.google.com and activate 2 (or more if you need others api) api :

  • Google Maps Geocoding API
  • Google Maps JavaScript API

then you need to change the request url in index.php :

https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants