distanceToVPSCoverageFrom

fun distanceToVPSCoverageFrom(coordinate: Coordinate): Single<Double>

Calculates the distance to the nearest point of VPS coverage from the provided coordinate.

Return

The distance in meters if successfully calculated, or an error otherwise. The distance will be 0.0 if the provided coordinate is inside VPS-covered area.

Parameters

coordinate

The coordinate from which to calculate the distance.