diff --git a/assets/layers/beehive/beehive.json b/assets/layers/beehive/beehive.json new file mode 100644 index 000000000..4bedb02a2 --- /dev/null +++ b/assets/layers/beehive/beehive.json @@ -0,0 +1,75 @@ +{ + "id": "beehive", + "name": { + "en": "Beehives" + }, + "description": { + "en": "Layer showing beehives" + }, + "source": { + "osmTags": "man_made=beehive" + }, + "minzoom": 11, + "title": { + "en": "Beehive" + }, + "presets": [ + { + "title": { + "en": "a beehive" + }, + "tags": [ + "man_made=beehive" + ] + } + ], + "tagRenderings": [ + "images", + { + "id": "capacity", + "question": { + "en": "How many beehives are there?" + }, + "freeform": { + "key": "capacity", + "type": "pnat", + "placeholder": { + "en": "Number of beehives" + } + }, + "render": { + "en": "There are {capacity} beehives" + }, + "mappings": [ + { + "if": "capacity=1", + "then": { + "en": "There is 1 beehive" + } + } + ] + } + ], + "pointRendering": [ + { + "location": [ + "point", + "centroid" + ], + "marker": [ + { + "icon": "circle", + "color": "white" + }, + { + "icon": "./assets/layers/beehive/beehive.svg" + } + ] + } + ], + "allowMove": { + "enableImproveAccuracy": true, + "enableRelocation": true + }, + "deletion": true +} \ No newline at end of file diff --git a/assets/layers/beehive/beehive.svg b/assets/layers/beehive/beehive.svg new file mode 100644 index 000000000..df543ea1d --- /dev/null +++ b/assets/layers/beehive/beehive.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/layers/beehive/beehive.svg.license b/assets/layers/beehive/beehive.svg.license new file mode 100644 index 000000000..c028557e3 --- /dev/null +++ b/assets/layers/beehive/beehive.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Delapouite +SPDX-License-Identifier: CC BY 3.0 \ No newline at end of file diff --git a/assets/layers/beehive/license_info.json b/assets/layers/beehive/license_info.json new file mode 100644 index 000000000..83c3b974a --- /dev/null +++ b/assets/layers/beehive/license_info.json @@ -0,0 +1,12 @@ +[ + { + "path": "beehive.svg", + "license": "CC BY 3.0", + "authors": [ + "Delapouite" + ], + "sources": [ + "https://game-icons.net/1x1/delapouite/beehive.html" + ] + } +] \ No newline at end of file diff --git a/assets/layers/insect_hotel/insect_hotel.json b/assets/layers/insect_hotel/insect_hotel.json new file mode 100644 index 000000000..acb872b34 --- /dev/null +++ b/assets/layers/insect_hotel/insect_hotel.json @@ -0,0 +1,51 @@ +{ + "id": "insect_hotel", + "name": { + "en": "Insect Hotels", + "nl": "Insectenhotels" + }, + "description": { + "en": "Layer showing insect hotels", + "nl": "Laag met insectenhotels" + }, + "source": { + "osmTags": "man_made=insect_hotel" + }, + "minzoom": 11, + "title": { + "en": "Insect Hotel", + "nl": "Insectenhotel" + }, + "presets": [ + { + "title": { + "en": "an insect hotel", + "nl": "een insectenhotel" + }, + "tags": [ + "man_made=insect_hotel" + ] + } + ], + "tagRenderings": [ + "images" + ], + "pointRendering": [ + { + "location": [ + "point", + "centroid" + ], + "marker": [ + { + "icon": "./assets/layers/insect_hotel/insect_hotel.svg" + } + ] + } + ], + "allowMove": { + "enableImproveAccuracy": true, + "enableRelocation": true + }, + "deletion": true +} \ No newline at end of file diff --git a/assets/layers/insect_hotel/insect_hotel.svg b/assets/layers/insect_hotel/insect_hotel.svg new file mode 100644 index 000000000..a612d917a --- /dev/null +++ b/assets/layers/insect_hotel/insect_hotel.svg @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/insect_hotel/insect_hotel.svg.license b/assets/layers/insect_hotel/insect_hotel.svg.license new file mode 100644 index 000000000..75299f884 --- /dev/null +++ b/assets/layers/insect_hotel/insect_hotel.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Robin van der Linde +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/layers/insect_hotel/license_info.json b/assets/layers/insect_hotel/license_info.json new file mode 100644 index 000000000..1b8152aef --- /dev/null +++ b/assets/layers/insect_hotel/license_info.json @@ -0,0 +1,10 @@ +[ + { + "path": "insect_hotel.svg", + "license": "CC0-1.0", + "authors": [ + "Robin van der Linde" + ], + "sources": [] + } +] \ No newline at end of file diff --git a/assets/themes/insects/insects.json b/assets/themes/insects/insects.json new file mode 100644 index 000000000..4612c84e0 --- /dev/null +++ b/assets/themes/insects/insects.json @@ -0,0 +1,16 @@ +{ + "id": "insects", + "title": { + "en": "Insect Hotels", + "nl": "Insectenhotels" + }, + "description": { + "en": "Insect hotels provide shelter for insects.", + "nl": "Insectenhotels bieden onderdak aan insecten." + }, + "icon": "./assets/layers/insect_hotel/insect_hotel.svg", + "layers": [ + "insect_hotel", + "beehive" + ] +} \ No newline at end of file diff --git a/assets/themes/mapcomplete-changes/mapcomplete-changes.json b/assets/themes/mapcomplete-changes/mapcomplete-changes.json index b72511847..f06464705 100644 --- a/assets/themes/mapcomplete-changes/mapcomplete-changes.json +++ b/assets/themes/mapcomplete-changes/mapcomplete-changes.json @@ -38,7 +38,8 @@ "de": "Changeset-Zentren", "es": "Centros de conjuntos de cambios", "fr": "Centre du groupe de modifications", - "nl": "Changeset centra" + "nl": "Changeset centra", + "cs": "Changeset centra" }, "minzoom": 0, "source": { @@ -110,7 +111,8 @@ "en": "Change with theme {theme}", "de": "Änderung mit Thema {theme}", "es": "Cambio con el tema {theme}", - "nl": "Verander met thema {theme}" + "nl": "Verander met thema {theme}", + "cs": "Změna pomocí tématu {theme}" } }, { @@ -375,6 +377,10 @@ "if": "theme=indoors", "then": "./assets/layers/entrance/entrance.svg" }, + { + "if": "theme=insects", + "then": "./assets/layers/insect_hotel/insect_hotel.svg" + }, { "if": "theme=items_with_image", "then": "./assets/layers/item_with_image/camera.svg" diff --git a/assets/themes/nature/nature.json b/assets/themes/nature/nature.json index c6e5d94c4..a24f8f961 100644 --- a/assets/themes/nature/nature.json +++ b/assets/themes/nature/nature.json @@ -63,12 +63,20 @@ "guidepost", "shelter", "bbq", - "firepit" + "firepit", + "insect_hotel" ], "override": { "minzoom": 16 } + }, + { + "builtin": "tree_node", + "override": { + "minzoom": 18, + "shownByDefault": false + } } ], "widenFactor": 2 -} +} \ No newline at end of file