Having problems getting the different arrays content from geocoder results.
item.formatted_address works but not item.address_components.locality?
ge
//if (arrAddress[ac].types[0] == "street_number") { alert(arrAddress[ac].long_name) } // SOKAK NO
//if (arrAddress[ac].types[0] == "route") { alert(arrAddress[ac].short_name); } // CADDE
//if (arrAddress[ac].types[0] == "locality") { alert(arrAddress[ac].long_name) } // İL
//if (arrAddress[ac].types[0] == "administrative_area_level_1") { alert(arrAddress[ac].short_name) } // İL
//if (arrAddress[ac].types[0] == "postal_code") { alert(arrAddress[ac].long_name); } // POSTA KODU
//if (arrAddress[ac].types[0] == "neighborhood") { alert(arrAddress[ac].long_name); } // Mahalle
//if (arrAddress[ac].types[0] == "sublocality") { alert(arrAddress[ac].long_name); } // İlçe
//if (arrAddress[ac].types[0] == "country") { alert(arrAddress[ac].long_name); } // Ülke