public bool CheckAnswer(LocationAnswer answer) { var distanceDifference = DistanceCalculator.DistanceBetweenPlaces(latitude, longitude, answer.Longitude, answer.Latitude); return(distanceDifference <= accurateTo); }
public bool CheckAnswer(LocationAnswer answer) { var distanceDifference = DistanceCalculator.DistanceBetweenPlaces(latitude, longitude, answer.Longitude, answer.Latitude); return distanceDifference <= accurateTo; }