-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
How work with Geochart in the ng2-google-charts? #23
Comments
This seems related to google/google-visualization-issues#2292 Apparently an API-KEY is now needed. Unfortunately I am unable to reproduce your problem unless you post some code. |
I seem to have the same issue. in TS: |
Am facing this same issue, how can I get the api key set? tried this in my index.html but still not working..
This helped to set the key but am still getting the mapsApiKeyError
|
Hi, I've created an example of a GeoChart, the API key is not necessary. |
Thanks I got it working now without the api keys. |
For anyone here wondering why the API key warning comes up if they're using their own data but not in the example, make sure your country names match what Google reads them as. If you supply a country name Google doesn't recognize immediately is when the API key error will show. For example, Russia should be 'Russia' not something like 'Russian Federation'. Hope this helps someone. |
I´m trying to work with GeoChart, but I´m facing two issues. First, seems that be must declared the google map API-KEY on index.html, but working with a simple example like demonstrated on https://developers.google.com/chart/interactive/docs/gallery/geochart,is not necessary the API-KEY. Second, after declare the API-KEY on index.html, appears in console that world_COUNTRIES.js and countries_en.js not loading. Consequently, instead of appears the map from geochart package, appears "Requested map does not exist".
The text was updated successfully, but these errors were encountered: