Themes: add mountain rescue stations to the ski map

This commit is contained in:
Pieter Vander Vennet 2024-02-10 23:31:59 +01:00
parent 6ac4b159c8
commit 04509bc3e7
5 changed files with 115 additions and 1 deletions

View file

@ -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"
]
}
]

View file

@ -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"
]
}
]
}

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="396"
height="396"
viewBox="0 0 66 66"
version="1.1"
id="svg2"
sodipodi:docname="Flag_of_the_Red_Cross.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#999999"
borderopacity="1"
inkscape:showpageshadow="2"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="0.85"
inkscape:cx="198.23529"
inkscape:cy="197.05882"
inkscape:window-width="1920"
inkscape:window-height="995"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
stroke="#da121a"
stroke-width="16.3022"
d="M 6.1014093,33 H 59.898591 M 33,6.1014093 V 59.898591"
id="path2" />
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Jon Harald Soby
SPDX-License-Identifier: trivial

View file

@ -15,7 +15,8 @@
"builtin": [
"guidepost",
"map",
"information_board"
"information_board",
"mountain_rescue"
],
"override": {
"minzoom": 13