Use smaller range for U-turn angles in map-matching

This commit is contained in:
Michael Krasnyk
2018-02-27 13:39:01 +01:00
parent 33021d37a1
commit c048a36a4c
5 changed files with 41 additions and 6 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ module.exports = function () {
if (headers.has('turns')) {
if (json.matchings.length != 1) throw new Error('*** Checking turns only supported for matchings with one subtrace');
turns = this.turnList(json.matchings[0].instructions);
turns = this.turnList(json.matchings[0]);
}
if (headers.has('route')) {