Graph Hopper Routing Service
class GraphHopperRoutingService @JvmOverloads constructor(map: URL, workingDirectory: File, defaultOptions: GraphHopperOptions) : RoutingService<GeoPosition, GraphHopperOptions>
Content copied to clipboard
RoutingService implementation based on GraphHopper.
Constructors
Link copied to clipboard
fun GraphHopperRoutingService(map: URL, workingDirectory: File = defaultWorkingDirectory(map.openStream()), defaultOptions: GraphHopperOptions = Companion.defaultOptions)
Content copied to clipboard
Types
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?
Content copied to clipboard
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>
Content copied to clipboard
open fun route(from: GeoPosition, to: GeoPosition, options: String): Route<GeoPosition>
Content copied to clipboard