以下有兩個大項目需要設定,依序為:
若何申請Google Maps API金鑰?
若何啟用Google Maps API辦事?
 

若何申請Google Maps API金鑰?

步調一:進入Google Cloud Console網址
步調二:登入您的gmail帳號
步調三:拔取專案(API Project)
Google Maps API 申請
Google Maps API 申請
 
步調四:新增專案
Google Maps API 申請
Google Maps API 申請
步驟五:專案名稱請以英文輸入,完成後設立建設專案
Google Maps API 申請
Google Maps API 申請
步調六:再次拔取專案
步調七:拔取方才建立的專案
步驟八:建立API憑證
Google Maps API 申請
Google, Maps, API, 申請
 
步驟九:憑證利用
Google Maps API 申請
Google Maps API 申請
 
步調十:
1.選擇HTTP參照網址(網站)
2.網站限制→新增項目
3.輸入網址,例如:

 

※網址後面加上/*號默示全站皆可以使用,網址https
4.貯存設定
Google Maps API 申請Google Maps API 申請
 
步調十一:儲存頁面就能夠取得金鑰
Google Maps API 申請
Google Maps API 申請
 



若何啟用Google Maps API辦事?

步驟一:點選資訊主頁,啟用API和辦事
步調二:地圖列表,點選查看全部
Google Maps API 申請
Google Maps API 申請
步調三:選擇您要啟用的辦事,Maps JavaScript API、Place API、Directions API...(1次啟用1個,逐一操作要啟用的功能)

 

 

 

 

 

 

 

Google Maps API 申請


文章出處 NetYea 網頁設計



本文來自:
arrow
arrow
    文章標籤
    網頁設計
    全站熱搜

    petermitchqfn 發表在 痞客邦 留言(0) 人氣()