Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1.   var place = autocomplete.getPlace();
  2.             document.getElementById('city2').value = place.name;
  3.             document.getElementById('cityLat').value = place.geometry.location.lat();
  4.             document.getElementById('cityLng').value = place.geometry.location.lng();
  5.                         console.log(place);
  6.                         console.log(place.geometry.location.lat())
  7.                         console.log(place.geometry.location.lng())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement