mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Add generic preset for the "playground" key with a corresponding field
This commit is contained in:
@@ -1450,6 +1450,9 @@ en:
|
||||
label: Power Output
|
||||
# plant/output/electricity field placeholder
|
||||
placeholder: '500 MW, 1000 MW, 2000 MW...'
|
||||
playground:
|
||||
# playground=*
|
||||
label: Type
|
||||
playground/baby:
|
||||
# baby=*
|
||||
label: Baby Seat
|
||||
@@ -5768,6 +5771,9 @@ en:
|
||||
# place=village
|
||||
name: Village
|
||||
terms: '<translate with synonyms or related terms for ''Village'', separated by commas>'
|
||||
playground:
|
||||
# playground=*
|
||||
name: Playground Equipment
|
||||
playground/balance_beam:
|
||||
# playground=balancebeam
|
||||
name: Play Balance Beam
|
||||
|
||||
@@ -254,6 +254,7 @@
|
||||
"place": {"key": "place", "type": "typeCombo", "label": "Type"},
|
||||
"plant": {"key": "plant", "type": "combo", "label": "Plant"},
|
||||
"plant/output/electricity": {"key": "plant:output:electricity", "type": "text", "label": "Power Output", "placeholder": "500 MW, 1000 MW, 2000 MW..."},
|
||||
"playground": {"key": "playground", "type": "combo", "label": "Type"},
|
||||
"playground/baby": {"key": "baby", "type": "check", "label": "Baby Seat"},
|
||||
"playground/max_age": {"key": "max_age", "type": "number", "minValue": 0, "label": "Maximum Age"},
|
||||
"playground/min_age": {"key": "min_age", "type": "number", "minValue": 0, "label": "Minimum Age"},
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "playground",
|
||||
"type": "combo",
|
||||
"label": "Type"
|
||||
}
|
||||
@@ -14,6 +14,7 @@
|
||||
"man_made": {"icon": "temaki-storage_tank", "fields": ["name", "man_made"], "moreFields": ["material"], "geometry": ["point", "vertex", "line", "area"], "tags": {"man_made": "*"}, "searchable": false, "name": "Man Made"},
|
||||
"natural": {"icon": "maki-natural", "fields": ["name", "natural"], "geometry": ["point", "vertex", "line", "area"], "tags": {"natural": "*"}, "searchable": false, "name": "Natural"},
|
||||
"place": {"fields": ["name", "place"], "geometry": ["point", "vertex", "area"], "tags": {"place": "*"}, "searchable": false, "name": "Place"},
|
||||
"playground": {"icon": "maki-playground", "fields": ["playground"], "geometry": ["point", "vertex", "line", "area"], "tags": {"playground": "*"}, "searchable": false, "name": "Playground Equipment"},
|
||||
"power": {"geometry": ["point", "vertex", "line", "area"], "tags": {"power": "*"}, "fields": ["power"], "moreFields": ["material"], "searchable": false, "name": "Power"},
|
||||
"railway": {"fields": ["railway"], "geometry": ["point", "vertex", "line", "area"], "tags": {"railway": "*"}, "searchable": false, "name": "Railway"},
|
||||
"seamark": {"icon": "maki-harbor", "fields": ["seamark/type"], "geometry": ["point", "vertex", "line", "area"], "tags": {"seamark:type": "*"}, "searchable": false, "name": "Seamark"},
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"icon": "maki-playground",
|
||||
"fields": [
|
||||
"playground"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex",
|
||||
"line",
|
||||
"area"
|
||||
],
|
||||
"tags": {
|
||||
"playground": "*"
|
||||
},
|
||||
"searchable": false,
|
||||
"name": "Playground Equipment"
|
||||
}
|
||||
@@ -17,6 +17,7 @@
|
||||
{"key": "man_made", "description": "🄿 Man Made (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/bhousel/temaki/master/icons/storage_tank.svg?sanitize=true"},
|
||||
{"key": "natural", "description": "🄿 Natural (unsearchable), 🄵 Natural", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/natural-15.svg?sanitize=true"},
|
||||
{"key": "place", "description": "🄿 Place (unsearchable), 🄵 Type", "object_types": ["node", "area"]},
|
||||
{"key": "playground", "description": "🄿 Playground Equipment (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/playground-15.svg?sanitize=true"},
|
||||
{"key": "power", "description": "🄿 Power (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"]},
|
||||
{"key": "railway", "description": "🄿 Railway (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"]},
|
||||
{"key": "seamark:type", "description": "🄿 Seamark (unsearchable), 🄵 Seamark", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/harbor-15.svg?sanitize=true"},
|
||||
|
||||
Vendored
+7
@@ -3407,6 +3407,9 @@
|
||||
"label": "Power Output",
|
||||
"placeholder": "500 MW, 1000 MW, 2000 MW..."
|
||||
},
|
||||
"playground": {
|
||||
"label": "Type"
|
||||
},
|
||||
"playground/baby": {
|
||||
"label": "Baby Seat"
|
||||
},
|
||||
@@ -4115,6 +4118,10 @@
|
||||
"name": "Place",
|
||||
"terms": ""
|
||||
},
|
||||
"playground": {
|
||||
"name": "Playground Equipment",
|
||||
"terms": ""
|
||||
},
|
||||
"power": {
|
||||
"name": "Power",
|
||||
"terms": ""
|
||||
|
||||
Reference in New Issue
Block a user