SHARE
TWEET

Untitled

a guest Nov 19th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. navigator.geolocation.getCurrentPosition(function(position) {
  2.         pos = {
  3.                       lat: position.coords.latitude,
  4.                       lng: position.coords.longitude
  5.         };
  6.         latt=pos.lat;
  7.         lngg=pos.lng;
  8.         console.log("point :"+latt+","+lngg);
  9.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top