mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 19:26:41 +02:00
Units field to Apartment Building
This commit is contained in:
@@ -367,6 +367,11 @@ en:
|
||||
label: Building
|
||||
# 'terms: structure'
|
||||
terms: '[translate with synonyms or related terms for ''Building'', separated by commas]'
|
||||
building/flats:
|
||||
# 'building:flats=*'
|
||||
label: Units
|
||||
# building/flats field placeholder
|
||||
placeholder: '2, 4, 6, 8...'
|
||||
building/levels:
|
||||
# 'building:levels=*'
|
||||
label: Levels
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
"bridge/support": {"key": "bridge:support", "type": "typeCombo", "label": "Type"},
|
||||
"building_area": {"key": "building", "type": "combo", "default": "yes", "geometry": ["area"], "label": "Building"},
|
||||
"building": {"key": "building", "type": "combo", "label": "Building", "terms": ["structure"]},
|
||||
"building/flats": {"key": "building:flats", "type": "number", "minValue": 0, "label": "Units", "placeholder": "2, 4, 6, 8..."},
|
||||
"building/levels_building": {"key": "building:levels", "type": "number", "minValue": 0, "label": "Building Levels", "placeholder": "2, 4, 6...", "prerequisiteTag": {"key": "building", "valueNot": "no"}},
|
||||
"building/levels": {"key": "building:levels", "type": "number", "minValue": 0, "label": "Levels", "placeholder": "2, 4, 6..."},
|
||||
"building/levels/underground": {"key": "building:levels:underground", "type": "number", "minValue": 0, "label": "Underground Levels", "placeholder": "2, 4, 6...", "terms": ["basement levels"]},
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"key": "building:flats",
|
||||
"type": "number",
|
||||
"minValue": 0,
|
||||
"label": "Units",
|
||||
"placeholder": "2, 4, 6, 8..."
|
||||
}
|
||||
@@ -1387,6 +1387,7 @@
|
||||
{"key": "boules", "description": "🄵 Type"},
|
||||
{"key": "brand", "description": "🄵 Brand"},
|
||||
{"key": "brewery", "description": "🄵 Draft Beers"},
|
||||
{"key": "building:flats", "description": "🄵 Units"},
|
||||
{"key": "building:levels", "description": "🄵 Building Levels, 🄵 Levels"},
|
||||
{"key": "building:levels:underground", "description": "🄵 Underground Levels"},
|
||||
{"key": "building:material", "description": "🄵 Material"},
|
||||
|
||||
Vendored
+4
@@ -3070,6 +3070,10 @@
|
||||
"label": "Building",
|
||||
"terms": "structure"
|
||||
},
|
||||
"building/flats": {
|
||||
"label": "Units",
|
||||
"placeholder": "2, 4, 6, 8..."
|
||||
},
|
||||
"building/levels_building": {
|
||||
"label": "Building Levels",
|
||||
"terms": "",
|
||||
|
||||
Reference in New Issue
Block a user