parse maxspeed using source:maxspeed and maxspeed:type tags
This commit is contained in:
parent
7fdaac3e33
commit
801d0ebe4d
@ -432,7 +432,7 @@ end
|
||||
|
||||
-- maxspeed and advisory maxspeed
|
||||
function WayHandlers.maxspeed(profile,way,result,data)
|
||||
local keys = Sequence { 'maxspeed:advisory', 'maxspeed' }
|
||||
local keys = Sequence { 'maxspeed', 'source:maxspeed', 'maxspeed:type', 'maxspeed:advisory' }
|
||||
local forward, backward = Tags.get_forward_backward_by_set(way,data,keys)
|
||||
forward = WayHandlers.parse_maxspeed(forward,profile)
|
||||
backward = WayHandlers.parse_maxspeed(backward,profile)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user