Пример #1
0
        public double Distance(double lat, double lng, XLocation b)
        {
            var xloca = new XLocation {
                Latitude = lat, Longitude = lng
            };

            return(DistanceHelper.DistanceBetween(xloca, b, DistanceType.Kilometers));
        }