今天上午打開監控頁面,出現此頁面無法正确加載 Google 地圖,

檢視日志,日志内容有:
You have exceeded your request quota for this API. See https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors
存在問題:
key過期,無法加載地圖,需要修改key。
解決步驟:
1、登入google地圖的背景控制
https://console.cloud.google.com/google/maps-apis/overview?pli=1
2、找到對應的key,替換代碼中的響應的key值
3、替換好之後,就能恢複正常通路
後來發現google地圖在中國已經不提供服務了。中國是google地圖的禁止通路區域。隻能選擇使用第三方,然後轉接到google地圖上。