diff --git a/data/presets.yaml b/data/presets.yaml index 28b18c332..0e0a27739 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -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: '' + playground: + # playground=* + name: Playground Equipment playground/balance_beam: # playground=balancebeam name: Play Balance Beam diff --git a/data/presets/fields.json b/data/presets/fields.json index 606b32855..8d6d0d75b 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -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"}, diff --git a/data/presets/fields/playground.json b/data/presets/fields/playground.json new file mode 100644 index 000000000..e1d674bc1 --- /dev/null +++ b/data/presets/fields/playground.json @@ -0,0 +1,5 @@ +{ + "key": "playground", + "type": "combo", + "label": "Type" +} diff --git a/data/presets/presets.json b/data/presets/presets.json index 5d908ef27..e51b4d466 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -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"}, diff --git a/data/presets/presets/_playground.json b/data/presets/presets/_playground.json new file mode 100644 index 000000000..8b6598eed --- /dev/null +++ b/data/presets/presets/_playground.json @@ -0,0 +1,17 @@ +{ + "icon": "maki-playground", + "fields": [ + "playground" + ], + "geometry": [ + "point", + "vertex", + "line", + "area" + ], + "tags": { + "playground": "*" + }, + "searchable": false, + "name": "Playground Equipment" +} diff --git a/data/taginfo.json b/data/taginfo.json index e2df8f2be..b38dd6a6a 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -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"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index d071f2877..218a7872c 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -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": ""