[styles] Added icons for tower and masts

Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
Yannik Bloscheck
2025-09-15 16:38:27 +02:00
committed by Yannik Bloscheck
parent 656f08c4b3
commit beaa7aef8b
10 changed files with 22 additions and 16 deletions

View File

@@ -0,0 +1 @@
<svg height="18" viewBox="0 0 18 18" width="18" xmlns="http://www.w3.org/2000/svg"><path d="m8 5.75c.27614237 0 .5.22385763.5.5 0 .14983281-.06590519.28427263-.17030802.37591193l.00030802 7.72408807.49.65h-1.64l.48924039-.65v-7.72502785c-.1037843-.09161737-.16924039-.22565072-.16924039-.37497215 0-.27614237.22385763-.5.5-.5zm2.7451777 1c.3435562 0 .678497.06666667 1.0048223.2v2.05c-.0107068-.16666667-.3456475-.25-1.0048223-.25-.3266293 0-.6642261.23417241-.9951777.275-.22463073.0277114-.55796406-.03062193-1-.175v-2c.47825318.14281471.81158651.20114804 1 .175.4588538-.06367978.7825713-.275.9951777-.275z" fill="#777777" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 653 B

View File

@@ -1,4 +1 @@
<svg viewBox="0 0 5 5" width="4" height="4" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="2.5" cy="2.5" r="2.2" stroke="#777777" stroke-width="0.6"/>
<circle cx="2.5" cy="2.5" r="1" fill="#777777"/>
</svg>
<svg height="18" viewBox="0 0 18 18" width="18" xmlns="http://www.w3.org/2000/svg"><path d="m9.43 4 .24 9.9542414 1.29 1.0457586h-3.92l1.28751729-1.0457586.24514286-9.9542414z" fill="#777777" fill-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 219 B

View File

@@ -0,0 +1,4 @@
<svg viewBox="0 0 5 5" width="4" height="4" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="2.5" cy="2.5" r="2.2" stroke="#777777" stroke-width="0.6"/>
<circle cx="2.5" cy="2.5" r="1" fill="#777777"/>
</svg>

After

Width:  |  Height:  |  Size: 220 B

View File

@@ -0,0 +1 @@
<svg height="18" viewBox="0 0 18 18" width="18" xmlns="http://www.w3.org/2000/svg"><path d="m9.67733997 4 .08566003 3.5h.737v1h-.712l.13448283 5.4542414 1.28751717 1.0457586h-4.42l1.28751729-1.0457586.13348271-5.4542414h-.711v-1h.736l.08666015-3.5z" fill="#777777" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 292 B

View File

@@ -1225,17 +1225,16 @@ node|z15-[man_made=flagpole],
node|z16-[man_made=mast],
{icon-image: dot-m.svg;}
/* TODO: needs a better icon */
node|z16-[man_made=tower],
node|z16-[man_made=flare],
{icon-image: mast-m.svg;}
{icon-image: tower-m.svg;}
node|z16-[man_made=tower][tower:type=communication],
{icon-image: communications_tower_minor-m.svg;}
/* TODO: needs a better icon */
node|z17-[man_made=petroleum_well],
{icon-image: mast-m.svg;}
{icon-image: pole-m.svg;}
node|z16-[amenity=taxi],
{icon-image: taxi-m.svg;icon-min-distance: 30;}

View File

@@ -0,0 +1 @@
<svg height="18" viewBox="0 0 18 18" width="18" xmlns="http://www.w3.org/2000/svg"><path d="m8 5.75c.27614237 0 .5.22385763.5.5 0 .14983281-.06590519.28427263-.17030802.37591193l.00030802 7.72408807.49.65h-1.64l.48924039-.65v-7.72502785c-.1037843-.09161737-.16924039-.22565072-.16924039-.37497215 0-.27614237.22385763-.5.5-.5zm2.7451777 1c.3435562 0 .678497.06666667 1.0048223.2v2.05c-.0107068-.16666667-.3456475-.25-1.0048223-.25-.3266293 0-.6642261.23417241-.9951777.275-.22463073.0277114-.55796406-.03062193-1-.175v-2c.47825318.14281471.81158651.20114804 1 .175.4588538-.06367978.7825713-.275.9951777-.275z" fill="#747e86" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 653 B

View File

@@ -1,4 +1 @@
<svg viewBox="0 0 5 5" width="4" height="4" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="2.5" cy="2.5" r="2.2" stroke="#747E86" stroke-width="0.6"/>
<circle cx="2.5" cy="2.5" r="1" fill="#747E86"/>
</svg>
<svg height="18" viewBox="0 0 18 18" width="18" xmlns="http://www.w3.org/2000/svg"><path d="m9.43 4 .24 9.9542414 1.29 1.0457586h-3.92l1.28751729-1.0457586.24514286-9.9542414z" fill="#747e86" fill-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 219 B

View File

@@ -0,0 +1,4 @@
<svg viewBox="0 0 5 5" width="4" height="4" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="2.5" cy="2.5" r="2.2" stroke="#747E86" stroke-width="0.6"/>
<circle cx="2.5" cy="2.5" r="1" fill="#747E86"/>
</svg>

After

Width:  |  Height:  |  Size: 220 B

View File

@@ -0,0 +1 @@
<svg height="18" viewBox="0 0 18 18" width="18" xmlns="http://www.w3.org/2000/svg"><path d="m9.67733997 4 .08566003 3.5h.737v1h-.712l.13448283 5.4542414 1.28751717 1.0457586h-4.42l1.28751729-1.0457586.13348271-5.4542414h-.711v-1h.736l.08666015-3.5z" fill="#747e86" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 292 B

View File

@@ -296,13 +296,13 @@ node|z16-[highway=ladder],
node|z13-[power=portal],
node|z13[power=tower],
{icon-image: mast-m.svg;}
{icon-image: pole-m.svg;}
node|z14-[power=portal],
node|z14-[power=tower],
{icon-image: power-tower-m.svg;}
node|z15-[power=pole],
node|z15-[man_made=utility_pole],
{icon-image: mast-m.svg;}
{icon-image: pole-m.svg;}
node|z13-[power=generator][generator:source=wind],
{icon-image: dot-m.svg;}
@@ -316,6 +316,7 @@ node|z12-[man_made=flagpole],
node|z13-[man_made=mast],
{icon-image: dot-m.svg;}
node|z14-[man_made=flagpole],
{icon-image: flagpole-m.svg;}
node|z14-[man_made=mast],
{icon-image: mast-m.svg;}
@@ -331,7 +332,7 @@ node|z16-[man_made=communications_tower],
node|z13-[man_made=tower],
node|z13-[man_made=flare],
{icon-image: mast-m.svg; font-size: 11;}
{icon-image: tower-m.svg; font-size: 11;}
node|z13-[man_made=tower][tower:type=communication],
{icon-image: communications_tower_minor-m.svg; }
@@ -348,7 +349,7 @@ node|z16-[amenity=hunting_stand],
/* TODO: needs a better icon */
node|z14-[man_made=petroleum_well],
{icon-image: mast-m.svg; font-size: 11;}
{icon-image: pole-m.svg; font-size: 11;}
node|z16-[man_made=petroleum_well],
{font-size: 12;}
@@ -358,7 +359,7 @@ node|z17-[man_made=cairn],
node|z13-[man_made=silo],
node|z13-[man_made=storage_tank],
node|z13-[man_made=water_tower],
{icon-image: mast-m.svg;}
{icon-image: pole-m.svg;}
node|z14-[man_made=silo],
node|z14-[man_made=storage_tank],
node|z14-[man_made=water_tower],