0
I [PlaceAutocomleteAddressSearch] [1]上給出的示例對我無效。 我得到2錯誤得到一個未捕獲的fc Tg錯誤在控制檯 看起來在行97.錯誤文本是 throw _.gc(a +「is a function」); return function(){c.apply( d)}}; [1]: 另一個錯誤是無法讀取屬性'setBounds'的undefined。Google Places API地址搜索
我使用與示例中完全相同的代碼,所以我不明白什麼是錯的。
https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform