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

add user geolocation, refactor a bit #13

Merged
merged 2 commits into from Apr 6, 2019
Merged

Conversation

batpad
Copy link
Collaborator

@batpad batpad commented Apr 6, 2019

This should fly the map to the user location. This is a bit hard to test locally since browsers now only allow geolocation over https requests - but this should just work on the main website.

@planemad that GeoIP server seemed down when I was testing, but this should also fallback to querying geoip.

I also did a little bit of refactoring to move things into separate files.

Am going to go ahead and merge this as I'm pretty sure there's no regressions here and things seem to work.

cc @answerquest

@batpad batpad merged commit 3c862c8 into master Apr 6, 2019
@batpad batpad deleted the feature/user-location branch April 6, 2019 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant