Skip to content
Commit 5468b9a4 authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Parse ORS turn instructions and generate our own ones from it.

Retrieving localized instructions from ORS for a couple of (atm 28)
languages is possible, but the list cannot be queried and the somewhat
complicated needed fall-back behavior lead to regressions earlier
(bug 296382, bug 247339).
Instead query english instructions now, parse them and generate our own
instructions for them (localized). This means that we can cover more
languages now and (more important) can indicate the turn type correctly,
which enables voice guidance for ORS (previously only a sound could be
played).
The drawback is that once ORS changes the english instructions, parsing
will fail, so we'd be back at not localized instructions at that point.
Still better than having no route at all, of course.
CCBUG: 296382
parent 7b65f425
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment