adsf
This commit is contained in:
@@ -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;
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user