mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-28 19:01:31 +02:00
Add highway=corridor and universal level field
For now, `highway=corridor`: * styled like highway=pedestrian * and matches 'paths' feature filter. (closes #2687, closes #2218)
This commit is contained in:
@@ -119,6 +119,7 @@ describe('iD.Features', function() {
|
||||
iD.Way({id: 'bridleway', tags: {highway: 'bridleway'}, version: 1}),
|
||||
iD.Way({id: 'steps', tags: {highway: 'steps'}, version: 1}),
|
||||
iD.Way({id: 'pedestrian', tags: {highway: 'pedestrian'}, version: 1}),
|
||||
iD.Way({id: 'corridor', tags: {highway: 'corridor'}, version: 1}),
|
||||
|
||||
// Buildings
|
||||
iD.Way({id: 'building_yes', tags: {area: 'yes', amenity: 'school', building: 'yes'}, version: 1}),
|
||||
@@ -266,7 +267,7 @@ describe('iD.Features', function() {
|
||||
|
||||
doMatch([
|
||||
'path', 'footway', 'cycleway', 'bridleway',
|
||||
'steps', 'pedestrian'
|
||||
'steps', 'pedestrian', 'corridor'
|
||||
]);
|
||||
|
||||
dontMatch([
|
||||
|
||||
Reference in New Issue
Block a user