Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
trying again...
  • Loading branch information
Joel Salisbury committed Jan 21, 2016
1 parent 23afa71 commit e7696e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/main.js
Expand Up @@ -33,6 +33,9 @@ function getLocation() {
}
}
function showPosition(position) {

console.log(position);

x.innerHTML = "Latitude: " + position.coords.latitude +
"<br>Longitude: " + position.coords.longitude +
"<br>Altitude: " + position.coords.altitude;
Expand Down

0 comments on commit e7696e9

Please sign in to comment.