Cara Mengetahui Location Latitude Longitude


Iseng nungguin waktu berbuka eh baru sadar kalo udah lama banget gak posting di blog ini. :D

Bingung cari ide langsung aja bekas eksperimen waktu lalu aja yang mau gw posting yaitu "Cara Mengetahui Latitude dan Longitude"

Baik langsung aja ya ini kodenya :
<!DOCTYPE html>
<body onLoad="getLocation()">
<p id="demo"></p>
var x=document.getElementById("demo");
function getLocation()
  if (navigator.geolocation)
  else{x.innerHTML="Geolocation is not supported by this browser.";}
function showPosition(position)
  x.innerHTML="Latitude: " + position.coords.latitude + 
  "<br>Longitude: " + position.coords.longitude; 

Untuk demo bisa diklik disini

Selamat Mencoba dan semoga berhasil yach..

1 komentar:

  • 28 Agustus 2016 23.11

    Advantages of Getting a Divorce Attorney Hiring a nicely respectable, nearby, seasoned, honest attorney for a divorce will have many perks. When you hire a divorce lawyer, you will get the suggest and ally over the process of divorce. Any divorce attorney will likely see the legal issues and choices you might have get throughout the divorce. An attorney could guide and symbolize the client that they have legal protection under the law in order to.
    Divorce Lawyer Virginia
    This can be a time for it to keep your lifetime, and search to the long term, along with the following tips, you are on the right path to be able to undertaking that. Choosing a great Modifies name divorce attorney is usually an crucial decisions procedure. The expert whom you use shall be responsible for obtaining or preserving your legal interests within your young children, your current material ownership, plus your earnings. In reality, maintaining a good Modifies his name divorce attorney is yet another amazingly demanding undertaking.

Posting Komentar


Powered by Blogger