Open shentonfreude opened 11 years ago
Chris
Little more info.
Its in Chrome and Firefox on Windows. Works fine on my MacBook
Alex
Did a bit of debugging and the geolocation command is timing out in Firefox and Chrome but works fine in Internet Explorer.
It also doesn't work in my satellite tracking program so I don't think its the iSat code, I have had a look over the code and it appears fine to me
Tested using the following page https://developer.mozilla.org/de/docs/Using_geolocation
What might be a good idea is to implement the error callback on the gelocation and put in some default location? i.e.
if ('geolocation' in navigator) {
navigator.geolocation.getCurrentPosition(showGeo, function(error) {
// Add some default location
},{timeout:5000});
}
I've seen this myself but cannot reproduce now.
Could be that my Mac filesystem is NOT case sensitive.