Skip to content
Snippets Groups Projects
Commit 19c9e022 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Bugfix in der neuen Version von osrm-text-instructions

parent 8454b64d
No related branches found
No related tags found
No related merge requests found
function Step(stepJson, nextStreet, legIndex, legSize){
this.json = stepJson;
this.nextStreet = nextStreet;
var language = osrmTextInstructions.getBestMatchingLanguage('de-DE');
this.instruction = osrmTextInstructions.compile(language, stepJson, {"legCount": legSize, "legIndex": legIndex});
this.instruction = osrmTextInstructions.compile('de', stepJson, {"legCount": legSize, "legIndex": legIndex});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment