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:
Bryan Housel
2015-06-30 22:02:22 -04:00
parent 56a563d345
commit 58cb66f472
11 changed files with 83 additions and 3 deletions
+2 -1
View File
@@ -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([