How do I get the longitude and latitude from the searched location with the google maps place search box api.
Im using the same code as the google demo - https://de
navigator.geolocation.getCurrentPosition(success => { console.log(success) // `have the lat and long` }, failure =>{ //`enter code here if failed` });