Update icon

This commit is contained in:
Robin van der Linde 2022-10-23 20:36:22 +02:00
parent 189248980e
commit 68acea99ef
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
6 changed files with 54 additions and 19 deletions

View file

@ -51,7 +51,7 @@
"color": "gray"
},
{
"icon": "./assets/themes/stations/rail-light-15.svg",
"icon": "./assets/themes/stations/rail-light.svg",
"location": [
"point",
"centroid"

View file

@ -356,7 +356,7 @@
},
{
"if": "theme=stations",
"then": "./assets/themes/stations/rail-light-15.svg"
"then": "./assets/themes/stations/rail-light.svg"
},
{
"if": "theme=street_lighting",
@ -569,4 +569,4 @@
}
}
]
}
}

View file

@ -18,7 +18,7 @@
]
},
{
"path": "rail-light-15.svg",
"path": "rail-light.svg",
"license": "CC0",
"authors": [
"Maki"
@ -27,4 +27,4 @@
"https://labs.mapbox.com/maki-icons/"
]
}
]
]

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1"
id="svg4619" inkscape:version="0.91+devel+osxmenu r12911" sodipodi:docname="rail-light-15.svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="15px" height="15px"
viewBox="0 0 15 15" style="enable-background:new 0 0 15 15;" xml:space="preserve">
<path id="path14245" d="M5.5,0C5,0,5,0.5,5,0.5v1C5,1.777,5.223,2,5.5,2S6,1.777,6,1.5V1h1v2H6c0,0-2,0-2,2v3c0,3,3,3,3,3h1
c0,0,3,0,3-3V5c0-2-2-2-2-2H8V1h1v0.5C9,1.777,9.223,2,9.5,2S10,1.777,10,1.5v-1C10,0,9.5,0,9.5,0H5.5z M7.5,4l2.0449,0.7734L10,6.5
C10.1316,7,9.5,7,9.5,7h-4c0,0-0.6316,0-0.5-0.5l0.4551-1.7266L7.5,4z M7.5,8C7.7761,8,8,8.2239,8,8.5S7.7761,9,7.5,9
S7,8.7761,7,8.5S7.2239,8,7.5,8z M4.125,12L3,15h1.5l0.375-1h5.25l0.375,1H12l-1.125-3h-1.5l0.375,1h-4.5l0.375-1H4.125z"/>
</svg>

Before

(image error) Size: 1.3 KiB

View file

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg4619"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="rail-light.svg"
x="0px"
y="0px"
width="500"
height="500"
viewBox="0 0 500 500"
xml:space="preserve"><metadata
id="metadata8"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs6" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="3840"
inkscape:window-height="2066"
id="namedview4"
showgrid="false"
inkscape:zoom="1.53125"
inkscape:cx="-18.032948"
inkscape:cy="-17.271704"
inkscape:window-x="2149"
inkscape:window-y="-11"
inkscape:window-maximized="1"
inkscape:current-layer="svg4619" />
<path
id="path14245"
d="M 183.33333,0 C 166.66667,0 166.66667,16.666667 166.66667,16.666667 V 50 c 0,9.233332 7.43333,16.666668 16.66666,16.666668 C 192.56667,66.666668 200,59.233332 200,50 V 33.333332 h 33.33333 V 100 H 200 c 0,0 -66.66667,0 -66.66667,66.66667 v 100 c 0,100.00001 100,100.00001 100,100.00001 h 33.33334 c 0,0 100.00001,0 100.00001,-100.00001 v -100 C 366.66668,100 300,100 300,100 H 266.66667 V 33.333332 H 300 V 50 c 0,9.233332 7.43333,16.666668 16.66667,16.666668 9.23333,0 16.66665,-7.433336 16.66665,-16.666668 V 16.666667 C 333.33332,0 316.66667,0 316.66667,0 Z M 250,133.33333 l 68.16333,25.78 15.16999,57.55334 c 4.38669,16.66666 -16.66665,16.66666 -16.66665,16.66666 H 183.33333 c 0,0 -21.05333,0 -16.66666,-16.66666 l 15.16999,-57.55334 z m 0,133.33334 c 9.20333,0 16.66667,7.46333 16.66667,16.66666 C 266.66667,292.53667 259.20333,300 250,300 c -9.20333,0 -16.66667,-7.46333 -16.66667,-16.66667 0,-9.20333 7.46334,-16.66666 16.66667,-16.66666 z M 137.5,400 100,500 h 50 l 12.5,-33.33332 H 337.50002 L 350,500 h 50 L 362.50002,400 H 312.5 L 325,433.33332 H 175 L 187.5,400 Z"
style="stroke-width:33.3332" />
</svg>

After

(image error) Size: 2.5 KiB

View file

@ -6,7 +6,7 @@
"description": {
"en": "View, edit and add details to a train station"
},
"icon": "./assets/themes/stations/rail-light-15.svg",
"icon": "./assets/themes/stations/rail-light.svg",
"startLat": 0,
"startLon": 0,
"startZoom": 0,
@ -83,7 +83,7 @@
},
"mapRendering": [
{
"icon": "./assets/themes/stations/rail-light-15.svg",
"icon": "./assets/themes/stations/rail-light.svg",
"location": [
"point",
"centroid"