的位置太多了,我有一個singn_up-form並使用Google-Api給用戶一些建議。 API在Internet-Explorer中請求用戶的位置。但是如果我嘗試使用Firefox,請求會一直循環,直到我點擊「Standort immer Freigeben」 - 它表示「始終接受」。google.maps.places.Autocomplete請求在我的網站中火狐
function initialize() {
autocomplete = new google.maps.places.Autocomplete(
(document.getElementById('autocomplete')),
{ types: ['geocode'] });
}
代碼在document.ready中加載幷包含更多代碼,但此代碼片段也會重現錯誤。 有沒有人有一些想法?