Supports destination:street, resolves #3541
This commit is contained in:
committed by
Daniel J. H
parent
1d4d3b80b5
commit
fd57c5b48b
@@ -18,11 +18,12 @@ end
|
||||
function Destination.get_destination(way, is_forward)
|
||||
ref = Destination.get_directional_tag(way, is_forward, 'destination:ref')
|
||||
dest = Destination.get_directional_tag(way, is_forward, 'destination')
|
||||
street = Destination.get_directional_tag(way, is_forward, 'destination:street')
|
||||
if ref and dest then
|
||||
return ref .. ': ' .. dest
|
||||
else
|
||||
return ref or dest or ''
|
||||
return ref or dest or street or ''
|
||||
end
|
||||
end
|
||||
|
||||
return Destination
|
||||
return Destination
|
||||
|
||||
Reference in New Issue
Block a user