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

User location marker doesn't update #47

Open
luqmaan opened this issue Aug 2, 2015 · 1 comment
Open

User location marker doesn't update #47

luqmaan opened this issue Aug 2, 2015 · 1 comment

Comments

@luqmaan
Copy link
Member

luqmaan commented Aug 2, 2015

The user location marker doesn't update as you move.

Also, sometimes it just doesn't show up because of timeouts.

I think we can fix this by adding changing getCurrentPosition to watchPosition here https://github.com/open-austin/austingreenmap/blob/master/client/js/utils/index.js#L13-L17. https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/watchPosition

We may also need to add retries in case it throws an error.

@luqmaan
Copy link
Member Author

luqmaan commented Aug 2, 2015

Ooh, we may need to figure out HTTPS + GitHub pages at some point. https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins

image

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

No branches or pull requests

1 participant