-
Notifications
You must be signed in to change notification settings - Fork 18
InstructionList.createGPX fails to null Translation #53
Comments
I just had a more detailed look here. It depends how you call the API. If you add
The easiest way as a workaround if you want to have |
Hmm the request hints are that way because they need to be for the wished routing result. |
As I said, there is a workaround possible. In your code you could do something like:
I haven't tested it, but I think this should work. The newIL contains your translations now and creating GPX should work without any problems. Anyway, I think we should make it possible to set the TranslationMap for an InstructionList, as this would solve the issue and would not hurt us I think. |
Using the alternative API client to perform online routing and then produce gpx from the result, fails with:
This is because in
GraphHopperWeb.createPathWrapper
a nullTranslation
is used:Since we have the online routing result, can we support GPX creation on the client?
e.g. enhance
InstructionList
to allow externalTranslation
?The text was updated successfully, but these errors were encountered: