distanceCalculator

abstract fun distanceCalculator(latitude: Double): DistanceCalculator

Provides entity to calculate distances between geographical points.

Return

DistanceCalculator instance.

Parameters

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.