Similarly, if your project uses other services in the JavaScript API If your project uses Places Library, also select Places API.If the Maps JavaScript API is not listed, you need to Select Maps JavaScript API from Select APIs dropdown.Recommended you regularly check your usage, to make sure it matches your expectations. Should be formatted as "_file_url_//path/to/*". The "file://" part should be replaced with "_file_url_" before beingĪdded to the key restriction. ![]() Note: file:// referers need a special representation to be added to the Specify one or more referrer web sites.Referrers (web sites) from the list of Application To accept requests from the list of website that you supply, select HTTP.Under Key restrictions, set the following restrictions:.Select the API key that you want to set a restriction on.We strongly recommend that you follow the instructions to set restrictionsįor your API keys. Restricting API keys adds security to your application by ensuring only authorized requests are ![]() (Remember to restrict the API key before using it in production.)Ĭloud SDK gcloud alpha services api-keys create \ ![]() The new API key is listed on the Credentials page under API keys. The API key created dialog displays your newly created API key. On the Credentials page, click Create credentials > API key. Go to the Google Maps Platform > Credentials page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |