style: use red color for volcano (#1630)

Change the color used for a volcano label and icon to #d40000.
pull/1620/head^2
Andrea Mennillo 2024-02-20 08:56:29 +01:00 zatwierdzone przez GitHub
rodzic 718fd359d3
commit ee8259ced5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 64 dodań i 12 usunięć

Wyświetl plik

@ -6,6 +6,15 @@
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "mountain_peak", "source-layer": "mountain_peak",
"maxzoom": 16, "maxzoom": 16,
"filter": [
"all",
[
"!in",
"class",
"cliff",
"volcano"
]
],
"layout": { "layout": {
"text-size": 10, "text-size": 10,
"icon-image": "peak", "icon-image": "peak",
@ -38,15 +47,55 @@
"text-halo-color": "rgba(255, 255, 255, .8)", "text-halo-color": "rgba(255, 255, 255, .8)",
"text-halo-width": 1 "text-halo-width": 1
}, },
"order": 197
},
{
"id": "mountain_peak_volcano",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "mountain_peak",
"maxzoom": 16,
"filter": [ "filter": [
"all", "all",
[ [
"!=", "==",
"class", "class",
"cliff" "volcano"
] ]
], ],
"order": 197 "layout": {
"text-size": 10,
"icon-image": "volcano",
"text-field": {
"stops": [
[
6,
" "
],
[
12,
"{name} {ele}m"
]
]
},
"text-anchor": "top",
"text-offset": [
0,
0.5
],
"text-max-width": 6,
"text-line-height": 1.1,
"text-font": [
"Noto Sans Regular",
"Noto Sans Italic"
]
},
"paint": {
"text-color": "#d40000",
"text-halo-color": "rgba(255, 255, 255, .8)",
"text-halo-width": 1
},
"order": 198
} }
] ]
} }

Wyświetl plik

@ -129,7 +129,7 @@
"village" "village"
] ]
], ],
"order": 198 "order": 199
}, },
{ {
"id": "place_town", "id": "place_town",
@ -177,7 +177,7 @@
"town" "town"
] ]
], ],
"order": 199 "order": 200
}, },
{ {
"id": "place_state", "id": "place_state",
@ -228,7 +228,7 @@
3 3
] ]
], ],
"order": 200 "order": 201
}, },
{ {
"id": "place_city", "id": "place_city",
@ -311,7 +311,7 @@
1 1
] ]
], ],
"order": 201 "order": 202
}, },
{ {
"id": "place_capital", "id": "place_capital",
@ -396,7 +396,7 @@
2 2
] ]
], ],
"order": 202 "order": 203
}, },
{ {
"id": "country_other", "id": "country_other",
@ -449,7 +449,7 @@
"iso_a2" "iso_a2"
] ]
], ],
"order": 203 "order": 204
}, },
{ {
"id": "country_3", "id": "country_3",
@ -518,7 +518,7 @@
"iso_a2" "iso_a2"
] ]
], ],
"order": 204 "order": 205
}, },
{ {
"id": "country_2", "id": "country_2",
@ -587,7 +587,7 @@
"iso_a2" "iso_a2"
] ]
], ],
"order": 205 "order": 206
}, },
{ {
"id": "country_1", "id": "country_1",
@ -656,7 +656,7 @@
"iso_a2" "iso_a2"
] ]
], ],
"order": 206 "order": 207
} }
] ]
} }

Wyświetl plik

@ -0,0 +1,3 @@
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 1L0 8H8L4 1Z" fill="#D40000"/>
</svg>

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 142 B