Google지도를 사용하여 도시의 자동 완성 목록을 얻습니다.item.geometry.location.kb & item.geometry.location.jb returned undefined
경도로 item.geometry.location.kb를 사용했지만 위도로 item.geometry.location.jb를 사용했지만 오늘/어제 이후로 정의되지 않았습니다.
분명히 item.geometry.location.lng() 및 .lat()를 대신 사용해야합니다.
나는 그것을 몰랐고 나는 google play 및 앱 스토어에서 item.geometry.location.kb & jb를 사용하는 앱을 가지고있다.
그래서 내 앱이 더 이상 작동하지 않습니다.
왜 변경되었는지와 kb & jb로 되돌리려면 어떻게해야 하나?
는autocomplete = new google.maps.places.Autocomplete(input, options);
google.maps.event.addListener(autocomplete, 'place_changed', function(event) {
var item = autocomplete.getPlace();
curLon = item.geometry.location.kb;
curLat = item.geometry.location.jb;
...
가능한 중복 [Google지도 API V3 - 지오 코더 사용시 빈지도 만 표시] (http://stackoverflow.com/questions/13114797/google-maps-ap3-v-only-showing-a-blank -map-when-geocder 사용시) – geocodezip