コード例 #1
0
        public bool CheckAnswer(LocationAnswer answer)
        {
            var distanceDifference = DistanceCalculator.DistanceBetweenPlaces(latitude, longitude, answer.Longitude, answer.Latitude);

            return(distanceDifference <= accurateTo);
        }
コード例 #2
0
        public bool CheckAnswer(LocationAnswer answer)
        {
            var distanceDifference = DistanceCalculator.DistanceBetweenPlaces(latitude, longitude, answer.Longitude, answer.Latitude);

            return distanceDifference <= accurateTo;
        }