[問題] 網路斷線 造成建立google map失敗
各位大神請教一下
我在A頁面先載入google map api v3的js
此時網路突然斷線
然後在切換到B頁面 在這頁面中會產生google map
但是因為斷線問題 產生google map失敗
之後網路正常 該怎樣才能讓google map也恢復正常呢?
ps.在console下看到下述的訊息
GET
http://maps.gstatic.com/cat_js/intl/zh_tw/mapfiles/api-3/16/2/%7Bcommon,map%7D.
net::ERR_PROXY_CONNECTION_FAILED %7Bmain,places%7D.js:10
GET
http://maps.gstatic.com/cat_js/intl/zh_tw/mapfiles/api-3/16/2/%7Butil,stats%7D.
net::ERR_PROXY_CONNECTION_FAILED %7Bmain,places%7D.js:10
watchPositionError 0
我有試過重新再載入一次google map的js
google map有時候會出現 但有時還是會沒東西
看console說有重覆載入的問題 如下
you have included the Google Maps API multiple times on this page. This may
cause unexpected errors.
感謝各位大神的幫忙 Orz
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.61.97.145
→
03/12 10:42, , 1F
03/12 10:42, 1F
Ajax 近期熱門文章
PTT數位生活區 即時熱門文章