-
Notifications
You must be signed in to change notification settings - Fork 21
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
Revisit GeolocationSensor.Accuracy and Latency #25
Comments
To add to that, on iOS, there is the concept of |
Essentially we need to get agreement on whether we want to allow a desired accuracy and/or desired latency (which might impact the particular other) as input parameters for For the legacy API, it is suggested to first get whatever position data quickly with |
For Android, the low-level location strategies are well documented. In general, it is recommended to use higher-level abstractions that automatically deal with the concrete details. |
For iOS, the desired accuracy can be requested from its location manager. Unlike with Android, where a specific technology (that implies a certain accuracy) can be chosen, iOS focuses more on directly human-language accuracy (like “best for navigation”). |
Current definition https://w3c.github.io/geolocation-sensor/#geolocationsensor-accuracy does not seem to be consistent with platform accuracy definitions: e.g. Windows (https://docs.microsoft.com/en-us/uwp/api/windows.devices.geolocation.geocoordinate.accuracy) and Android (https://developer.android.com/reference/android/location/Location#getAccuracy()).
One possibility is to allow implementation to return accuracy confidence level in addition to accuracy in meters: dictionary accuracy{double radius, double confidence}
The text was updated successfully, but these errors were encountered: