Testing Geolocation
Testing your device/browser's geolocation capability...
If you are using Chrome running on Android, choose in Chrome: Menu > Settings > Site settings > Location. Make sure "Ask
before allowing sites..." is on and make sure "https://survey.viva.ws" is not in "Blocked".
If you are running Safari on iOS devices, from Home Screen go to Settings > Privacy, make sure "Location Services" is turned on,
and "Safari Websites" is set to "While Using the App".
<!--
function showPosition(position) {
document.getElementById("gps").innerHTML = "Latitude: " + position.coords.latitude.toFixed(6) + "<br>" + "Longitude: " +
position.coords.longitude.toFixed(6) + "<br>Your device/browser passed the geolocation test.";
document.getElementById("hints").style.display = "none";
}
if (navigator.geolocation) {
document.getElementById("gps").innerHTML = "Your device/browser has blocked geolocation tracking.";
navigator.geolocation.getCurrentPosition(showPosition);
} else {
document.getElementById("gps").innerHTML = "Your device/browser does not support geolocation tracking.";
}
//-->