Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Adding user location detection - #198

Open
ziniman wants to merge 1 commit into
aws-samples:masterfrom
ziniman:master
Open

Adding user location detection#198
ziniman wants to merge 1 commit into
aws-samples:masterfrom
ziniman:master

Conversation

@ziniman

@ziniman ziniman commented May 2, 2019

Copy link
Copy Markdown

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

@teknogeek0 teknogeek0 left a comment

Copy link
Copy Markdown
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants