I managed to create a minimal working example: minimal-graphhopper I hope it is a useful starting point. Would you add something to that or have some things that could be improved in the structure of the code?
Also, I assume that create-new-flagencoder.md needs to be updated since as far as I understood I needed to update DefaultFlagEncoderFactory
instead of adding the new FlagEncoder to EncodingManager.parseEncoderString
.
The API works now fine, but I experience two issues when running the routing in the browser:
-
If I select two points, the routing works. But if I first press on one of the encoders I get
No area description found
and I cannot select points until I reload the page back tolocalhost:8989
. Am I missing something?
-
Is there a simple way in my minimal example for the new FlagEncoder to have its own symbol (or reuses another symbol) in the browser?