A function type for distance calculations between two points
typedef DistanceCalculator = double Function(LatLng point1, LatLng point2);