Flat field added to apartment building

This commit is contained in:
ogbeche77
2020-08-12 14:13:09 +02:00
parent 248b29983d
commit 5915270331
9 changed files with 26 additions and 4 deletions
+5
View File
@@ -949,6 +949,11 @@ en:
flag/type:
# 'flag:type=*'
label: Flag Type
flats:
# flats=*
label: Flats
# flats field placeholder
placeholder: '2, 4, 6, 8...'
floating:
# floating=*
label: Floating
+1
View File
@@ -171,6 +171,7 @@
"fitness_station": {"key": "fitness_station", "type": "typeCombo", "label": "Equipment Type"},
"fixme": {"key": "fixme", "type": "textarea", "label": "Fix Me", "universal": true, "terms": ["help request"]},
"flag/type": {"key": "flag:type", "type": "combo", "label": "Flag Type"},
"flats": {"key": "flats", "type": "number", "minValue": 0, "label": "Flats", "placeholder": "2, 4, 6, 8..."},
"floating": {"key": "floating", "type": "check", "label": "Floating"},
"flood_prone": {"key": "flood_prone", "type": "check", "label": "Flood Prone"},
"ford": {"key": "ford", "type": "typeCombo", "label": "Type", "placeholder": "Default"},
+1 -1
View File
@@ -5,4 +5,4 @@
"terms": [
"structure"
]
}
}
+1 -1
View File
@@ -4,4 +4,4 @@
"minValue": 0,
"label": "Capacity",
"placeholder": "50, 100, 200..."
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"key": "flats",
"type": "number",
"minValue": 0,
"label": "Flats",
"placeholder": "2, 4, 6, 8..."
}
+1 -1
View File
@@ -339,7 +339,7 @@
"building/bunker": {"icon": "temaki-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},
"building/apartments": {"icon": "maki-building", "geometry": ["area"], "tags": {"building": "apartments"}, "matchScore": 0.5, "name": "Apartment Building"},
"building/apartments": {"icon": "maki-building", "fields": ["{building}", "flats"], "geometry": ["area"], "tags": {"building": "apartments"}, "matchScore": 0.5, "name": "Apartment Building"},
"building/barn": {"icon": "temaki-barn", "geometry": ["area"], "tags": {"building": "barn"}, "matchScore": 0.5, "name": "Barn"},
"building/boathouse": {"icon": "maki-harbor", "geometry": ["area"], "tags": {"building": "boathouse"}, "matchScore": 0.5, "terms": [], "name": "Boathouse"},
"building/bungalow": {"icon": "maki-home", "geometry": ["area"], "tags": {"building": "bungalow"}, "terms": ["home", "detached"], "matchScore": 0.5, "name": "Bungalow"},
@@ -1,5 +1,9 @@
{
"icon": "maki-building",
"fields": [
"{building}",
"flats"
],
"geometry": [
"area"
],
@@ -8,4 +12,4 @@
},
"matchScore": 0.5,
"name": "Apartment Building"
}
}
+1
View File
@@ -1537,6 +1537,7 @@
{"key": "fitness_station", "description": "🄵 Equipment Type"},
{"key": "fixme", "description": "🄵 Fix Me"},
{"key": "flag:type", "description": "🄵 Flag Type"},
{"key": "flats", "description": "🄵 Flats"},
{"key": "floating", "description": "🄵 Floating"},
{"key": "flood_prone", "description": "🄵 Flood Prone"},
{"key": "fountain", "description": "🄵 Type"},