This commit is contained in:
Arjun Patel
2017-10-07 23:45:16 -07:00
parent 9255e1eb3c
commit 9c7cbb794b
3 changed files with 29 additions and 1 deletions
+16
View File
@@ -15,3 +15,19 @@ function directionsURL(inCommand) {
$('#input').unbind();
});
}
/*
var x = document.getElementById("input");
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
x.innerHTML = "Geolocation is not supported by this browser.";
}
}
function showPosition(position) {
x.innerHTML = "Latitude: " + position.coords.latitude +
"<br>Longitude: " + position.coords.longitude;
}
*/