Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

[Enhancement] Provide accuracy of altitude in GeoLocation API #1099

@janusw

Description

@janusw

Summary

Currently, the Xamarin.Essentials.Location class only includes one Accuracy property, which (I assume) describes the horizontal (or overall?) accuracy of the location. However, the vertical accuracy (concerning the altitude) can differ from the horizontal accuracy quite substantially, e.g. depending on whether a barometer is available or not.

API Changes

In the simplest case, an additional property Xamarin.Essentials.Location.AltitudeAccuracy could be added.

Alternatively, one could introduce a new class for representing altitude information, which could include properties like Value and Accuracy (or similar). This would be a more disruptive change of API, though.

Intended Use Case

The primary use case would be any situation where the user needs a good estimate of how accurate his own location is known, both horizontally and vertically. I'm mainly having augmented-reality scenarios in mind, but there are certainly other applications where this is important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions