Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Current location #7

Open
RSully opened this issue Jun 24, 2014 · 1 comment
Open

Current location #7

RSully opened this issue Jun 24, 2014 · 1 comment

Comments

@RSully
Copy link

RSully commented Jun 24, 2014

I don't know what the dashboard APIs look like right now, but it would be awesome if I could set the widget to just use my laptop's location.

@nickswalker
Copy link
Owner

I stubbed some code out for this in this release and quickly discovered that geolocation is completely inoperable in widgets. navigator.geolocation.getCurrentPosition(callback) returns an error immediately. I have a feeling that this has to do with OS level location privacy features that were introduced after Dashboard. It doesn't have permission to request location data and it's not aware of how to get permission. I'm leaving this open in case anybody has any insight or a work-around.

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

No branches or pull requests

2 participants