From ce568095db1b401748c5449cad52b960a4299e0c Mon Sep 17 00:00:00 2001 From: Joel Salisbury Date: Thu, 21 Jan 2016 15:42:05 -0500 Subject: [PATCH] all of geolocation --- js/main.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index 6748207..5489665 100644 --- a/js/main.js +++ b/js/main.js @@ -38,7 +38,9 @@ function showPosition(position) { x.innerHTML = "Latitude: " + position.coords.latitude + "
Longitude: " + position.coords.longitude + - "
Altitude: " + position.coords.altitude; + "
Altitude: " + position.coords.altitude + + "
Heading: " + position.coords.heading+ + "
Speed: " + position.coords.speed } -getLocation(); \ No newline at end of file +setInterval(getLocation, 500);