Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoLocation is not showing in Science.nasa.gov/iSat for Alex-developer in UK #135

Open
shentonfreude opened this issue Mar 22, 2013 · 2 comments
Labels

Comments

@shentonfreude
Copy link
Member

I've seen this myself but cannot reproduce now.

Could be that my Mac filesystem is NOT case sensitive.

@Alex-developer
Copy link

Chris

Little more info.

Its in Chrome and Firefox on Windows. Works fine on my MacBook

Alex

@Alex-developer
Copy link

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});
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants