1searchBox.addListener('place_changed', function() {
2 let locale = searchBox.getPlace();
3 console.log(locale)
4 console.log(locale.geometry.location.lat(), locale.geometry.location.lng()) // Latitude and Longitude - if you need them
5});
6