簡單的API,我要求的鏈接上如何使用谷歌地圖本地主機上
https://developers.google.com/maps/documentation/embed/start
我的網站上嵌入谷歌地圖和已授權每個人的鏈接使用它
Referers: Any referer allowed
https://code.google.com/apis/console/
但我仍然收到一個
The Google Maps API server rejected your request. This API project is not authorized
to use this API. Please ensure that this API is activated in the APIs Console:
Learn more: https://code.google.com/apis/console
有沒有其他方式來測試我的網站本地與嵌入式谷歌地圖?
編輯: 他們說:
Easy embedding
Google Maps Embed API maps are easy to add to your webpage—just set the URL
you build as the value of an iframe's src attribute. Control the size of the
map with the iframe's height and width attributes. No JavaScript required.
,但我仍然無法訪問的鏈接。
激活Google Maps Embed API服務。 – HaveNoDisplayName 2014-11-01 22:54:12
並且還要確保啓用「靜態地圖API」服務也可以使用「Google Maps API」服務 – HaveNoDisplayName 2014-11-01 22:58:55
可能的重複[如何設置Google API密鑰限制 - HTTP引用者](https://stackoverflow.com/questions/41993276/) how-to-set-google-api-key-restriction-http-referrers) – viktorianer 2018-01-26 14:39:56