Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Using .NET 4.0 System.Device.Location.GeoCoordinate.GetDistanceTo()

$
0
0

I have a local database of locations with coordinates, and am looking for a way to get a list of the locations within a specific radius. During my research, I found that .NET 4 Framework includes a System.Device.Location.GetDistanceTo() method. According to the documentation, this method "Returns the distance between the latitude and longitude coordinates that are specified by this GeoCoordinate and another specified GeoCoordinate".

Is there a reason I shouldn't be able to use this dll and method? I intend to use LocationManager to get the device location.

Thanks.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>