mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 15:34:49 +02:00
Add Underground Levels field to building presets (close #6628)
This commit is contained in:
@@ -301,6 +301,11 @@ en:
|
||||
building:
|
||||
# building=*
|
||||
label: Building
|
||||
building/levels/underground:
|
||||
# 'building:levels:underground=*'
|
||||
label: Underground Levels
|
||||
# building/levels/underground field placeholder
|
||||
placeholder: '2, 4, 6...'
|
||||
building/levels_building:
|
||||
# 'building:levels=*'
|
||||
label: Building Levels
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
"building_area": {"key": "building", "type": "combo", "default": "yes", "geometry": "area", "label": "Building"},
|
||||
"building": {"key": "building", "type": "combo", "label": "Building"},
|
||||
"building/levels_building": {"key": "building:levels", "type": "number", "minValue": 0, "label": "Building Levels", "placeholder": "2, 4, 6...", "prerequisiteTag": {"key": "building", "valueNot": "no"}},
|
||||
"building/levels/underground": {"key": "building:levels:underground", "type": "number", "minValue": 0, "label": "Underground Levels", "placeholder": "2, 4, 6..."},
|
||||
"building/material": {"key": "building:material", "type": "combo", "label": "Material"},
|
||||
"bunker_type": {"key": "bunker_type", "type": "combo", "label": "Type"},
|
||||
"cables": {"key": "cables", "type": "number", "minValue": 1, "label": "Cables", "placeholder": "1, 2, 3..."},
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"key": "building:levels:underground",
|
||||
"type": "number",
|
||||
"minValue": 0,
|
||||
"label": "Underground Levels",
|
||||
"placeholder": "2, 4, 6..."
|
||||
}
|
||||
@@ -298,7 +298,7 @@
|
||||
"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_part": {"icon": "maki-building", "fields": ["levels", "height", "building/material", "roof/colour"], "moreFields": ["layer"], "geometry": ["area"], "tags": {"building:part": "*"}, "matchScore": 0.5, "terms": ["roof", "simple 3D buildings"], "name": "Building Part"},
|
||||
"building": {"icon": "maki-home", "fields": ["name", "building", "levels", "height", "address"], "moreFields": ["architect", "building/material", "layer", "operator", "roof/colour", "smoking", "wheelchair"], "geometry": ["area"], "tags": {"building": "*"}, "matchScore": 0.6, "terms": [], "name": "Building"},
|
||||
"building": {"icon": "maki-home", "fields": ["name", "building", "levels", "height", "address"], "moreFields": ["architect", "building/levels/underground", "building/material", "layer", "operator", "roof/colour", "smoking", "wheelchair"], "geometry": ["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 Building", "searchable": false},
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
],
|
||||
"moreFields": [
|
||||
"architect",
|
||||
"building/levels/underground",
|
||||
"building/material",
|
||||
"layer",
|
||||
"operator",
|
||||
|
||||
@@ -1260,6 +1260,7 @@
|
||||
{"key": "brewery", "description": "🄵 Draft Beers"},
|
||||
{"key": "bridge", "description": "🄵 Type, 🄵 Structure"},
|
||||
{"key": "building:levels", "description": "🄵 Building Levels, 🄵 Levels"},
|
||||
{"key": "building:levels:underground", "description": "🄵 Underground Levels"},
|
||||
{"key": "building:material", "description": "🄵 Material"},
|
||||
{"key": "bunker_type", "description": "🄵 Type"},
|
||||
{"key": "cables", "description": "🄵 Cables"},
|
||||
|
||||
Vendored
+4
@@ -2669,6 +2669,10 @@
|
||||
"label": "Building Levels",
|
||||
"placeholder": "2, 4, 6..."
|
||||
},
|
||||
"building/levels/underground": {
|
||||
"label": "Underground Levels",
|
||||
"placeholder": "2, 4, 6..."
|
||||
},
|
||||
"building/material": {
|
||||
"label": "Material"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user