You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Google Maps JavaScript API warning: NoApiKeys #131
For some reason I can't get to make the JavaScript Google maps to work.
I created a totally new account in Google Cloud Console and created all the necessary setup including the billing system.
For some reason the Web Maps are still throwing this Google Maps JavaScript API warning: NoApiKeys exception and the map is showing up with a dark grey overlay on top of it, stating that the maps is only for Development Purposes.
I am using the sample app and I am getting these same results.
I manage to se api key without modifying the library. Just create assets folder in your app and copy google_map.html and include api key in script tag.
Activity
nwadams commentedon Oct 28, 2018
Google likely changed their policies on google maps API. and you likely need to add the API key to the js. https://developers.google.com/maps/documentation/javascript/get-api-key. and set it as a key param in
AirMapView/library/src/main/assets/google_map.html
Line 13 in 30e44de
There is probably a way to inject the key so you wouldn't need to modify the library.
dneykov commentedon Jan 18, 2019
Did anyone manage to set api key to the web view map?
dneykov commentedon Jan 18, 2019
I manage to se api key without modifying the library. Just create assets folder in your app and copy google_map.html and include api key in script tag.