angular-google-maps
angular-google-maps copied to clipboard
Google Maps JavaScript API error: InvalidKeyMapError
Issue description i add api key but it get this error
Google Maps JavaScript API error: InvalidKeyMapError
Steps to reproduce and a minimal demo of the problem
_Use stackblitz.com or similar -- try this template as a starting point: https://stackblitz.com/edit/angular-google-maps-demo
What steps should we try in your demo to see the problem?
Current behavior getin this error
Google Maps JavaScript API error: InvalidKeyMapError
https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-error js:59:128
xd https://maps.googleapis.com/maps/api/js?key=YOUR-KEY-HERE:59
h https://maps.googleapis.com/maps-api-v3/api/js/39/5/common.js:75
Ip https://maps.googleapis.com/maps-api-v3/api/js/39/5/common.js:150
c https://maps.googleapis.com/maps-api-v3/api/js/39/5/common.js:69
<anonymous> https://maps.googleapis.com/maps/api/js/AuthenticationService.Authenticate?1shttp://localhost:4200/carspa&4sYOUR-KEY-HERE&callback=_xdc_._9kp00d&key=YOUR-KEY-HERE&token=100548:1
Expected/desired behavior
angular-google-maps, Angular, & any other relevant dependency versions
"@agm/core": "^1.1.0",
"@angular/animations": "8.2.14",
"@angular/cdk": "8.0.1",
"@angular/common": "8.2.14",
"@angular/compiler": "8.2.14",
"@angular/core": "8.2.14",
"@angular/fire": "^5.2.3",
"@angular/forms": "8.2.14",
"@angular/http": "7.2.15",
"@angular/material": "8.0.1",
"@angular/platform-browser": "8.2.14",
"@angular/platform-browser-dynamic": "8.2.14",
"@angular/platform-server": "8.2.14",
Other information
This looks like a usage question, not a bug. Please head to our Discord. Also, make sure that your key is enabled for your referrer/api