allowedPointClosestTo

open override fun allowedPointClosestTo(position: GeoPosition, options: GraphHopperOptions): GeoPosition?(source)

Retrieves (if available) the valid point closest to position with the provided options. For instance, this method could be used to find the pedestrian-allowed road closer to a highway.