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

x/mobile/exp/sensor: geolocation #13695

Open
porjo opened this Issue Dec 20, 2015 · 5 comments

Comments

Projects
None yet
6 participants
@porjo
Copy link

porjo commented Dec 20, 2015

Add to x/mobile the ability to retrieve current latitude/longitude from e.g. GPS. (Relates to #9330)

@rakyll rakyll changed the title x/mobile: geolocation x/mobile/exp/sensor: geolocation Dec 23, 2015

@rakyll

This comment has been minimized.

Copy link
Member

rakyll commented Dec 23, 2015

The feature request may fit in the responsibilities of the sensor package but there are two nitpicks:

  • Sensor package is event driven, will push lat/lon changes rather than returning the last known location. I am not sure if this is the desired API for location data.
  • Location data retrieval can be configured with various filters on both platforms, e.g. distance filters, precision levels (gps-only or gps- or network-based location). We need a API surface.

/cc @crawshaw @hyangah

@rakyll rakyll added this to the Unreleased milestone Dec 23, 2015

@jpillora

This comment has been minimized.

Copy link

jpillora commented Dec 27, 2015

👍 GPS API

@Oregon-Tech-Ninja

This comment has been minimized.

Copy link

Oregon-Tech-Ninja commented Oct 10, 2016

Is there any work on this? I have geolocation needs and would prefer to stay in Go. It wouldn't be that hard to create an API for this one feature would it? If there is no work on it, I'll have to just bind my Go, which isn't what I'd like to do.

@bwmarrin

This comment has been minimized.

Copy link

bwmarrin commented Jan 26, 2017

Same boat here as @Oregon-Tech-Ninja and would love to see GPS in Go :). @Oregon-Tech-Ninja did you find an alternate solution you can share by any change?

@Oregon-Tech-Ninja

This comment has been minimized.

Copy link

Oregon-Tech-Ninja commented Jan 26, 2017

@gopherbot gopherbot added the mobile label Jul 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.