Add support of distance in foot and bicycle profiles

This commit is contained in:
Michael Krasnyk
2017-09-18 12:19:07 +02:00
parent fd7791a0e2
commit cfa5d7e172
3 changed files with 10 additions and 3 deletions
+5 -2
View File
@@ -536,7 +536,7 @@ function process_way(profile, way, result)
-- handle turn lanes and road classification, used for guidance
WayHandlers.classification,
-- handle allowed start/end modes
WayHandlers.startpoint,
@@ -544,7 +544,10 @@ function process_way(profile, way, result)
WayHandlers.roundabouts,
-- set name, ref and pronunciation
WayHandlers.names
WayHandlers.names,
-- set weight properties of the way
WayHandlers.weights
}
WayHandlers.run(profile,way,result,data,handlers)
+4 -1
View File
@@ -237,7 +237,10 @@ function process_way(profile, way, result)
WayHandlers.startpoint,
-- set name, ref and pronunciation
WayHandlers.names
WayHandlers.names,
-- set weight properties of the way
WayHandlers.weights
}
WayHandlers.run(profile,way,result,data,handlers)