abstract fun distanceCalculator(latitude: Double): DistanceCalculator
Provides entity to calculate distances between geographical points.
latitude
- the area in which fast distance calculation is performed. If second point's latitude far from latitude from constructor, better to use static DistanceCalculator.distanceOnSphere to minimize error level.
Return
DistanceCalculator instance.