Reputation: 139
Is it somehow possible to get the location accuracy?
I know how to get the location, but I would like to know the location accuracy radius in meters, for example.
Thanks to all in advance.
Upvotes: 0
Views: 648
Reputation: 1719
If you have a position as a Geoposition you can do this
Geoposition MyGeoPosition
...
double acc = MyGeoPosition.Coordinate.Accuracy;
Accuracy is returned in meters.
Upvotes: 0
Reputation: 3440
When You use class Geolocator:
Geolocator geolocator = new Geolocator();
var acc=geolocator.DesiredAccuracyInMeters;
From docs:
DesiredAccuracyInMeters
Windows Phone only. Gets or sets the desired accuracy in meters for data returned from the location service.
More information about class: LINK
Upvotes: 2