Companion

Utilities for GraphHopper routing.

Properties

Link copied to clipboard
val allCustomModels: List<CustomModel>

All the available Profiles in the runtime.

Link copied to clipboard
val allProfiles: List<Profile>

All the available Profiles in the runtime.

Link copied to clipboard

Default GraphHopperOptions: foot as vehicle, fastest as weighting, and dijkstrabi as algorithm.

Link copied to clipboard

All the non-abstract subclasses of RoutingAlgorithm available in the runtime.

Functions

Link copied to clipboard
fun optionsFor(profile: String = "foot", algorithm: String = DIJKSTRA_BI): GraphHopperOptions

Retrieves or creates the set of options for the required profile (default: foot_fastest) and algorithm (default: dijstrabi).

fun optionsFor(vehicle: String = "foot", weighting: String = "fastest", algorithm: String = DIJKSTRA_BI): GraphHopperOptions

Retrieves or creates the set of options for the required vehicle (default: foot), weighting (default: fastest), and algorithm (default: dijstrabi).