Repository navigation
Move /route-custom into /route endpoint - #2252
Conversation
|
I'm still wondering what the new API is supposed to be like. Currently with this PR a custom (POST) routing request looks like this: {
"profile": "some_custom_profile",
"custom_model": { ... }
}i.e. we have to pick a certain profile (that uses |
This shouldn't be. Using a custom profile without a custom model makes sense and should be allowed. |
# Conflicts: # web-bundle/src/main/resources/com/graphhopper/maps/js/main-template.js
…via req.setCustomModel)
|
Update: The behavior is now like this:
|
Here I moved the functionality of /route-custom into the route endpoint. The custom model now lives under a dedicated node called
custom_model.