GraphHopperRoutingService
class GraphHopperRoutingService @JvmOverloads constructor(map: URL, workingDirectory: File = defaultWorkingDirectory(map.openStream()), val defaultOptions: GraphHopperOptions = Companion.defaultOptions) : RoutingService<GeoPosition, GraphHopperOptions> (source)
RoutingService implementation based on GraphHopper.
Constructors
Link copied to clipboard
constructor(map: URL, workingDirectory: File = defaultWorkingDirectory(map.openStream()), defaultOptions: GraphHopperOptions = Companion.defaultOptions)
Functions
Link copied to clipboard
Retrieves (if available) the valid point closest to position, using the default options.
open override fun allowedPointClosestTo(position: GeoPosition, options: GraphHopperOptions): GeoPosition?
Link copied to clipboard
Creates a set of options from the provided string.
Link copied to clipboard
open override fun route(from: GeoPosition, to: GeoPosition, options: GraphHopperOptions): Route<GeoPosition>