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

Adding user location detection #198

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ziniman
Copy link

@ziniman ziniman commented May 2, 2019

Description of changes:
Detecting user location based on navigator.geolocation.getCurrentPosition and using it in as the default map center. In case of an error will fall back to original location.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@teknogeek0 teknogeek0 self-assigned this Jul 31, 2019
Copy link
Contributor

@teknogeek0 teknogeek0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you keep the userlat/Long set to the Seattle coordinates it was previously? Otherwise this is great and I'll happily merge.

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

2 participants