Expose driving_side as a property on RouteStep

This commit is contained in:
Daniel Patterson
2017-10-31 23:51:11 -04:00
parent 5b79640b44
commit 5b58445535
14 changed files with 1811 additions and 31 deletions
+1 -1
View File
@@ -563,7 +563,7 @@ function WayHandlers.driving_side(profile, way, result, data)
elseif driving_side == 'right' then
result.is_left_hand_driving = false
else
result.is_left_hand_driving = profile.left_hand_driving
result.is_left_hand_driving = profile.properties.left_hand_driving
end
end