问题
I am trying to set up a new application to use a google map. I got the api key from another teammate who did the set up. I am wondering if there's a utility or some other way to check if the api key he gave me is valid. I am getting the following console error when running my application using the api key he gave me:
Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error- messages#no-api-keys xw.m @ util.js:219 (anonymous) @ js?key [key]&callback=initMap:122 Promise.then (async)(anonymous) @ js?key=[key]&callback=initMap:122
回答1:
There is a google chrome addon for that: https://chrome.google.com/webstore/detail/google-maps-platform-api/mlikepnkghhlnkgeejmlkfeheihlehne
来源:https://stackoverflow.com/questions/55419000/how-can-i-verify-if-my-google-maps-api-key-is-valid