How can I verify if my google maps API key is valid?

半城伤御伤魂 提交于 2021-01-06 02:46:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!