public static RoutingMode fromString(@NonNull final String input) {
        for (final RoutingMode mode : values()) {
            if (mode.parameterValue.equals(input)) {
                return mode;
            }
        }
        return WALK;
    }
Mapping of routing modes and {@link BRouterServiceConnection} implementation dependent parameter values.
main/src/main/java/cgeo/geocaching/maps/routing/RoutingMode.java