mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Add roof:colour field to moreFields of building presets
This commit is contained in:
@@ -1482,6 +1482,9 @@ en:
|
||||
label: Type
|
||||
restrictions:
|
||||
label: Turn Restrictions
|
||||
roof/colour:
|
||||
# 'roof:colour=*'
|
||||
label: Roof Color
|
||||
rooms:
|
||||
# rooms=*
|
||||
label: Rooms
|
||||
|
||||
@@ -263,6 +263,7 @@
|
||||
"religion": {"key": "religion", "type": "combo", "label": "Religion"},
|
||||
"restriction": {"key": "restriction", "type": "combo", "label": "Type"},
|
||||
"restrictions": {"type": "restrictions", "geometry": "vertex", "icon": "iD-restrictions", "reference": {"rtype": "restriction"}, "label": "Turn Restrictions"},
|
||||
"roof/colour": {"key": "roof:colour", "type": "combo", "label": "Roof Color"},
|
||||
"rooms": {"key": "rooms", "type": "number", "minValue": 0, "label": "Rooms"},
|
||||
"route_master": {"key": "route_master", "type": "combo", "label": "Type"},
|
||||
"route": {"key": "route", "type": "combo", "label": "Type"},
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "roof:colour",
|
||||
"type": "combo",
|
||||
"label": "Roof Color"
|
||||
}
|
||||
@@ -251,7 +251,7 @@
|
||||
"boundary/administrative": {"name": "Administrative Boundary", "geometry": ["line"], "tags": {"boundary": "administrative"}, "fields": ["name", "admin_level"]},
|
||||
"bridge/support": {"icon": "fas-archway", "fields": ["bridge/support"], "moreFields": ["material", "seamark/type"], "geometry": ["point", "vertex", "area"], "tags": {"bridge:support": "*"}, "name": "Bridge Support"},
|
||||
"bridge/support/pier": {"icon": "fas-archway", "fields": ["bridge/support"], "moreFields": ["material", "seamark/type"], "geometry": ["point", "vertex", "area"], "tags": {"bridge:support": "pier"}, "name": "Bridge Pier"},
|
||||
"building": {"icon": "maki-home", "fields": ["name", "building", "levels", "height", "address"], "moreFields": ["architect", "building/material", "smoking", "wheelchair"], "geometry": ["point", "area"], "tags": {"building": "*"}, "matchScore": 0.6, "terms": [], "name": "Building"},
|
||||
"building": {"icon": "maki-home", "fields": ["name", "building", "levels", "height", "address"], "moreFields": ["architect", "building/material", "roof/colour", "smoking", "wheelchair"], "geometry": ["point", "area"], "tags": {"building": "*"}, "matchScore": 0.6, "terms": [], "name": "Building"},
|
||||
"building/bunker": {"geometry": ["area"], "tags": {"building": "bunker"}, "matchScore": 0.5, "name": "Bunker", "searchable": false},
|
||||
"building/entrance": {"icon": "maki-entrance-alt1", "fields": [], "moreFields": [], "geometry": ["vertex"], "tags": {"building": "entrance"}, "name": "Entrance/Exit", "searchable": false},
|
||||
"building/train_station": {"icon": "maki-building", "geometry": ["point", "vertex", "area"], "tags": {"building": "train_station"}, "matchScore": 0.5, "name": "Train Station", "searchable": false},
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"moreFields": [
|
||||
"architect",
|
||||
"building/material",
|
||||
"roof/colour",
|
||||
"smoking",
|
||||
"wheelchair"
|
||||
],
|
||||
|
||||
@@ -1416,6 +1416,7 @@
|
||||
{"key": "type", "description": "🄵 Type"},
|
||||
{"key": "religion", "description": "🄵 Religion"},
|
||||
{"key": "restriction", "description": "🄵 Type"},
|
||||
{"key": "roof:colour", "description": "🄵 Roof Color"},
|
||||
{"key": "rooms", "description": "🄵 Rooms"},
|
||||
{"key": "route_master", "description": "🄵 Type"},
|
||||
{"key": "route", "description": "🄵 Type"},
|
||||
|
||||
Vendored
+3
@@ -3078,6 +3078,9 @@
|
||||
"restrictions": {
|
||||
"label": "Turn Restrictions"
|
||||
},
|
||||
"roof/colour": {
|
||||
"label": "Roof Color"
|
||||
},
|
||||
"rooms": {
|
||||
"label": "Rooms"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user