optionsFor

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).


fun optionsFor(profile: String = "foot_fastest", algorithm: String = DIJKSTRA_BI): GraphHopperOptions

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