Answers for "JavaScript place auto complete"

0

JavaScript place auto complete

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
});
Posted by: Guest on August-12-2021
0

JavaScript place auto complete

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
});
Posted by: Guest on August-12-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language