diff --git a/assets/layers/mountain_rescue/license_info.json b/assets/layers/mountain_rescue/license_info.json new file mode 100644 index 0000000000..4ec1d65063 --- /dev/null +++ b/assets/layers/mountain_rescue/license_info.json @@ -0,0 +1,12 @@ +[ + { + "path": "red_cross.svg", + "license": "trivial", + "authors": [ + " \tJon Harald Soby" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Flag_of_the_Red_Cross.svg" + ] + } +] \ No newline at end of file diff --git a/assets/layers/mountain_rescue/mountain_rescue.json b/assets/layers/mountain_rescue/mountain_rescue.json new file mode 100644 index 0000000000..13b6125e71 --- /dev/null +++ b/assets/layers/mountain_rescue/mountain_rescue.json @@ -0,0 +1,60 @@ +{ + "credits": "Not logged in", + "minzoom": 10, + "pointRendering": [ + { + "location": [ + "point", + "centroid" + ], + "marker": [ + { + "icon": "circle", + "color": "white" + }, + { + "icon": "./assets/layers/mountain_rescue/red_cross.svg" + } + ], + "rotation": "45" + } + ], + "tagRenderings": [ + "images" + ], + "lineRendering": [ + { + "width": "3", + "color": "#ed333b" + } + ], + "id": "mountain_rescue", + "name": { + "en": "Mountain rescue stations" + }, + "description": { + "en": "A building where first aid responders store material and might be on watch" + }, + "source": { + "osmTags": "emergency=mountain_rescue" + }, + "title": { + "render": { + "en": "Mountain rescue station" + } + }, + "deletion": true, + "allowMove": { + "enableRelocation": false + }, + "presets": [ + { + "title": { + "en": "a mountain rescue station" + }, + "tags": [ + "emergency=mountain_rescue" + ] + } + ] +} diff --git a/assets/layers/mountain_rescue/red_cross.svg b/assets/layers/mountain_rescue/red_cross.svg new file mode 100644 index 0000000000..a57ebf5c2b --- /dev/null +++ b/assets/layers/mountain_rescue/red_cross.svg @@ -0,0 +1,39 @@ + + + + + + diff --git a/assets/layers/mountain_rescue/red_cross.svg.license b/assets/layers/mountain_rescue/red_cross.svg.license new file mode 100644 index 0000000000..1f886d90a6 --- /dev/null +++ b/assets/layers/mountain_rescue/red_cross.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Jon Harald Soby +SPDX-License-Identifier: trivial \ No newline at end of file diff --git a/assets/themes/ski/ski.json b/assets/themes/ski/ski.json index b6565af9b0..1209804a7c 100644 --- a/assets/themes/ski/ski.json +++ b/assets/themes/ski/ski.json @@ -15,7 +15,8 @@ "builtin": [ "guidepost", "map", - "information_board" + "information_board", + "mountain_rescue" ], "override": { "minzoom": 13