Parse voicehint modes form profile

This commit is contained in:
Norbert Renner 2021-03-16 19:56:02 +01:00
parent 25f8828ae7
commit 2189d68af9
7 changed files with 336 additions and 98 deletions

View file

@ -16,7 +16,7 @@ BR.Gpx = {
};
let gpxTransform = trkNameTransform;
if (turnInstructionMode > 0) {
if (turnInstructionMode > 1) {
const voiceHints = BR.voiceHints(geoJson, turnInstructionMode, transportMode);
gpxTransform = voiceHints.getGpxTransform();
}