JavaScript Place Auto завершен
searchBox.addListener('place_changed', function() {
let locale = searchBox.getPlace();
console.log(locale)
console.log(locale.geometry.location.lat(), locale.geometry.location.lng()) // Latitude and Longitude - if you need them
});
Modern Manatee