How to get distance between two locations in Windows Phone 8.1
问题 In Windows Phone 8 there seems to be method GeoCoordinate.GetDistanceTo() for calculating distances between two locations. (Even if the reference page for the method is not found.) But where is the equivalent in the whole Windows Phone 8.1 Geolocation namespace? I can't find a method to calculate distance between two locations at all. How to calculate distance between two locations in WP8.1? 回答1: GeoCoordinate.GetDistanceTo() is found in System.Device.Location namespace. But windows 8.1