Update style (#1728)

Update style snippets with the latest changes.
This commit is contained in:
Adam Laža 2025-07-29 12:10:20 +02:00 committed by GitHub
parent 7e81eb677e
commit f446b50d0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 5558 additions and 4070 deletions

View File

@ -1,17 +1,49 @@
{
"layers": [
{
"id": "airport-label-major",
"id": "Major airport labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "aerodrome_label",
"minzoom": 8,
"maxzoom": 17,
"layout": {
"icon-allow-overlap": false,
"icon-image": "aerodrome.12",
"icon-size": 1,
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"symbol-z-order": "auto",
"text-allow-overlap": false,
"text-anchor": "top",
"text-field": {
"stops": [
[
8,
" "
],
[
11,
"{name}"
]
]
},
"text-font": [
"Open Sans Italic",
"Noto Sans Italic"
],
"text-max-width": 9,
"text-offset": [
0,
0.6
],
"text-optional": true,
"text-padding": 2,
"text-size": {
"stops": [
[
@ -24,36 +56,12 @@
]
]
},
"icon-image": "aerodrome.12",
"text-field": {
"stops": [
[
8,
" "
],
[
11,
"{name:latin}\n{name:nonlatin}"
]
]
},
"visibility": "visible",
"text-anchor": "top",
"text-offset": [
0,
0.6
],
"text-padding": 2,
"text-optional": true,
"symbol-z-order": "auto",
"text-max-width": 9,
"icon-allow-overlap": false,
"text-allow-overlap": false
"visibility": "visible"
},
"paint": {
"text-color": "#5e3b9e",
"text-color": "hsl(261, 46%, 43%)",
"text-halo-blur": 0.5,
"text-halo-color": "rgba(255, 255, 255, 0.8)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1
},
"filter": [
@ -63,7 +71,7 @@
"iata"
]
],
"order": 190
"order": 232
}
]
}

View File

@ -1,7 +1,7 @@
{
"layers": [
{
"id": "aeroway_fill",
"id": "Aeroway",
"type": "fill",
"source": "openmaptiles",
"source-layer": "aeroway",
@ -14,11 +14,11 @@
"stops": [
[
6,
"rgba(223, 223, 228, 1)"
"hsl(240, 8%, 88%)"
],
[
12,
"rgba(232, 231, 223, 1)"
"hsl(53, 16%, 89%)"
]
]
},
@ -30,10 +30,10 @@
"$type",
"Polygon"
],
"order": 3
"order": 12
},
{
"id": "aeroway_runway",
"id": "Runway",
"type": "line",
"source": "openmaptiles",
"source-layer": "aeroway",
@ -42,7 +42,8 @@
"visibility": "visible"
},
"paint": {
"line-color": "rgba(178, 181, 209, 1)",
"line-color": "hsl(234, 25%, 76%)",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [
@ -55,8 +56,7 @@
48
]
]
},
"line-opacity": 1
}
},
"metadata": {},
"filter": [
@ -72,10 +72,10 @@
"runway"
]
],
"order": 22
"order": 57
},
{
"id": "aeroway_taxiway",
"id": "Taxiway",
"type": "line",
"source": "openmaptiles",
"source-layer": "aeroway",
@ -84,7 +84,8 @@
"visibility": "visible"
},
"paint": {
"line-color": "rgba(178, 181, 209, 1)",
"line-color": "hsl(234, 25%, 76%)",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [
@ -97,8 +98,7 @@
24
]
]
},
"line-opacity": 1
}
},
"metadata": {},
"filter": [
@ -114,18 +114,37 @@
"taxiway"
]
],
"order": 23
"order": 58
},
{
"id": "airport_label",
"id": "Airport labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 14,
"layout": {
"symbol-placement": "line",
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Noto Sans Italic",
"Noto Sans Regular"
"Open Sans Italic",
"Noto Sans Italic"
],
"text-size": {
"stops": [
@ -139,13 +158,11 @@
]
]
},
"text-field": "{ref}",
"visibility": "visible",
"symbol-placement": "line"
"visibility": "visible"
},
"paint": {
"text-color": "#333333",
"text-halo-color": "rgba(255, 255, 255, 0.8)",
"text-color": "hsl(0, 0%, 20%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1
},
"filter": [
@ -157,16 +174,18 @@
"taxiway"
]
],
"order": 191
"order": 233
},
{
"id": "airport_gate",
"id": "Airport gate labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 16.5,
"layout": {
"text-field": "{ref}",
"text-font": [
"Open Sans Semibold",
"Noto Sans Regular"
],
"text-size": {
@ -181,12 +200,11 @@
]
]
},
"text-field": "{ref}",
"visibility": "visible"
},
"paint": {
"text-color": "rgba(135, 135, 135, 1)",
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-color": "hsl(0, 0%, 53%)",
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 1
},
"filter": [
@ -197,7 +215,7 @@
"gate"
]
],
"order": 192
"order": 234
}
]
}
}

View File

@ -1,7 +1,7 @@
{
"layers": [
{
"id": "boundary_3",
"id": "Other border",
"type": "line",
"source": "openmaptiles",
"source-layer": "boundary",
@ -11,7 +11,23 @@
"visibility": "visible"
},
"paint": {
"line-color": "#845283",
"line-color": "hsl(301, 23%, 42%)",
"line-dasharray": [
5,
3
],
"line-opacity": {
"stops": [
[
3,
0.5
],
[
10,
1
]
]
},
"line-width": {
"base": 1,
"stops": [
@ -28,23 +44,7 @@
1.6
]
]
},
"line-opacity": {
"stops": [
[
3,
0.5
],
[
10,
1
]
]
},
"line-dasharray": [
5,
3
]
}
},
"metadata": {},
"filter": [
@ -61,10 +61,10 @@
0
]
],
"order": 146
"order": 194
},
{
"id": "boundary_2",
"id": "Country border",
"type": "line",
"source": "openmaptiles",
"source-layer": "boundary",
@ -75,7 +75,8 @@
"visibility": "visible"
},
"paint": {
"line-color": "#a37da1",
"line-color": "hsl(303, 17%, 56%)",
"line-opacity": 1,
"line-width": {
"base": 1,
"stops": [
@ -92,8 +93,7 @@
3
]
]
},
"line-opacity": 1
}
},
"metadata": {},
"filter": [
@ -103,21 +103,16 @@
"admin_level",
2
],
[
"==",
"maritime",
0
],
[
"==",
"disputed",
0
]
],
"order": 147
"order": 195
},
{
"id": "boundary_2_disputed",
"id": "Disputed border",
"type": "line",
"source": "openmaptiles",
"source-layer": "boundary",
@ -128,121 +123,12 @@
"visibility": "visible"
},
"paint": {
"line-color": "#a37da1",
"line-width": {
"base": 1,
"stops": [
[
3,
0.3
],
[
5,
1.2
],
[
12,
3
]
]
},
"line-opacity": 1,
"line-color": "hsl(246, 17%, 56%)",
"line-dasharray": [
4,
3
]
},
"metadata": {},
"filter": [
"all",
[
"==",
"admin_level",
2
],
[
"==",
"disputed",
1
],
[
"==",
"maritime",
0
]
],
"order": 148
},
{
"id": "boundary_2_disputed_maritime",
"type": "line",
"source": "openmaptiles",
"source-layer": "boundary",
"minzoom": 0,
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(129, 125, 163, 1)",
"line-width": {
"base": 1,
"stops": [
[
3,
0.5
],
[
5,
1.2
],
[
12,
3
]
]
},
"line-opacity": 1,
"line-dasharray": [
4,
3
]
},
"metadata": {},
"filter": [
"all",
[
"==",
"admin_level",
2
],
[
"==",
"disputed",
1
],
[
"==",
"maritime",
1
]
],
"order": 149
},
{
"id": "boundary_2_maritime",
"type": "line",
"source": "openmaptiles",
"source-layer": "boundary",
"minzoom": 4,
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#a37da1",
"line-width": {
"base": 1,
"stops": [
@ -259,8 +145,7 @@
3
]
]
},
"line-opacity": 1
}
},
"metadata": {},
"filter": [
@ -273,15 +158,10 @@
[
"==",
"disputed",
0
],
[
"==",
"maritime",
1
]
],
"order": 150
"order": 196
}
]
}

View File

@ -1,12 +1,11 @@
{
"layers": [
{
"id": "building",
"id": "Building",
"type": "fill",
"source": "openmaptiles",
"source-layer": "building",
"minzoom": 12,
"maxzoom": 24,
"minzoom": 13,
"layout": {
"visibility": "visible"
},
@ -15,11 +14,11 @@
"stops": [
[
13,
"rgba(222, 213, 207, 1)"
"hsl(24, 19%, 84%)"
],
[
16,
"#d9d0c9"
"hsl(26, 17%, 82%)"
]
]
},
@ -28,17 +27,17 @@
"stops": [
[
13,
"#9A918A"
"hsl(26, 7%, 57%)"
],
[
16,
"rgba(166, 157, 150, 1)"
"hsl(26, 8%, 62%)"
]
]
}
},
"metadata": {},
"order": 19
"order": 62
}
]
}

View File

@ -1,15 +1,21 @@
{
"layers": [
{
"id": "housenumber",
"id": "House number labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "housenumber",
"minzoom": 17,
"layout": {
"symbol-avoid-edges": false,
"text-allow-overlap": false,
"text-field": "{housenumber}",
"text-font": [
"Noto Sans Regular"
],
"text-ignore-placement": false,
"text-line-height": -0.15,
"text-padding": 3,
"text-size": {
"stops": [
[
@ -21,20 +27,14 @@
11
]
]
},
"text-field": "{housenumber}",
"text-padding": 3,
"text-line-height": -0.15,
"symbol-avoid-edges": false,
"text-allow-overlap": false,
"text-ignore-placement": false
}
},
"paint": {
"text-color": "rgba(102, 102, 102, 1)",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1
},
"order": 154
"order": 200
}
]
}

File diff suppressed because it is too large Load Diff

View File

@ -1,104 +1,11 @@
{
"layers": [
{
"id": "landuse_classes",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": [
"match",
[
"get",
"class"
],
"railway",
"#ebdbe8",
"residential",
"#e0dfdf",
"cemetery",
"#aacbaf",
"military",
"#fceaea",
"commercial",
"#f2dad9",
"industrial",
"#ebdbe8",
"garages",
"#dfddce",
"retail",
"#ffd6d1",
"bus_station",
"#e9e7e2",
"school",
"#ffffe5",
"university",
"#ffffe5",
"kindergarten",
"#ffffe5",
"college",
"#ffffe5",
"hospital",
"#ffffe5",
"stadium",
"#d5ffd9",
"pitch",
"#aae0cb",
"playground",
"#d5ffd9",
"track",
"#aae0cb",
"dam",
"#adadad",
"#000"
],
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"in",
"class",
"railway",
"cemetery",
"military",
"residential",
"commercial",
"industrial",
"garages",
"retail",
"bus_station",
"school",
"university",
"kindergarten",
"college",
"hospital",
"stadium",
"pitch",
"playground",
"track",
"dam"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 1
},
{
"id": "landuse_residential",
"id": "Residential",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 6,
"maxzoom": 24,
"layout": {
"visibility": "visible"
},
@ -107,15 +14,15 @@
"stops": [
[
7,
"#d0d0d0"
"hsl(0, 0%, 82%)"
],
[
11,
"#dddddd"
"hsl(0, 0%, 87%)"
],
[
12,
"#e0dfdf"
"hsl(0, 2%, 88%)"
]
]
}
@ -131,10 +38,366 @@
"neighbourhood"
]
],
"order": 1
},
{
"id": "Cemetery",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(129, 24%, 73%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"cemetery"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 2
},
{
"id": "landuse_class_pattern",
"id": "Military",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(0, 75%, 95%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"military"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 3
},
{
"id": "Railway",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(311, 29%, 89%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"railway"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 4
},
{
"id": "Garage",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(53, 21%, 84%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"garages"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 5
},
{
"id": "Dam",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(0, 0%, 68%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"dam"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 6
},
{
"id": "Quarry",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(0, 0%, 83%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"quarry"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 7
},
{
"id": "Industrial",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(311, 29%, 89%)",
"fill-opacity": 1,
"fill-outline-color": "hsl(309, 14%, 74%)"
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"industrial"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 8
},
{
"id": "Retail",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(7, 100%, 91%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"retail"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 9
},
{
"id": "Commercial",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(2, 49%, 90%)",
"fill-opacity": 1,
"fill-outline-color": "hsl(2, 49%, 90%)"
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"commercial"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 10
},
{
"id": "Education and Health",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(60, 100%, 95%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"in",
"class",
"school",
"university",
"kindergarten",
"college",
"hospital"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 11
},
{
"id": "Stadium",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(126, 100%, 92%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"in",
"class",
"stadium",
"playground"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 21
},
{
"id": "Pitch",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(157, 47%, 77%)",
"fill-opacity": 1
},
"metadata": {},
"filter": [
"all",
[
"in",
"class",
"pitch",
"track"
],
[
"==",
"$type",
"Polygon"
]
],
"order": 22
},
{
"id": "Landuse pattern",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
@ -142,8 +405,28 @@
"visibility": "visible"
},
"paint": {
"fill-color": "#000000",
"fill-opacity": 1,
"fill-antialias": true,
"fill-color": "hsl(0, 0%, 0%)",
"fill-opacity": [
"match",
[
"get",
"class"
],
"quarry",
0.6,
1
],
"fill-outline-color": [
"match",
[
"get",
"class"
],
"quarry",
"hsl(0, 0%, 44%)",
"hsla(0, 0%, 0%, 0)"
],
"fill-pattern": [
"match",
[
@ -154,6 +437,8 @@
"military_red_hatch",
"cemetery",
"grave_yard_generic",
"quarry",
"quarry",
""
]
},
@ -164,13 +449,14 @@
"in",
"class",
"military",
"cemetery"
"cemetery",
"quarry"
]
],
"order": 25
"order": 59
},
{
"id": "landuse_class_outline",
"id": "Landuse outline",
"type": "line",
"source": "openmaptiles",
"source-layer": "landuse",
@ -186,42 +472,62 @@
"class"
],
"railway",
"#c6b3c3",
"hsl(309, 14%, 74%)",
"military",
"#ff5555",
"hsl(0, 100%, 67%)",
"residential",
"#b9b9b9",
"hsl(0, 0%, 73%)",
"commercial",
"#f2dad9",
"hsl(2, 49%, 90%)",
"industrial",
"#c6b3c3",
"hsl(309, 14%, 74%)",
"retail",
"#d99c95",
"hsl(6, 47%, 72%)",
"school",
"#A6A68C",
"hsl(60, 13%, 60%)",
"university",
"#A6A68C",
"hsl(60, 13%, 60%)",
"kindergarten",
"#A6A68C",
"hsl(60, 13%, 60%)",
"college",
"#A6A68C",
"hsl(60, 13%, 60%)",
"hospital",
"#A6A68C",
"hsl(60, 13%, 60%)",
"stadium",
"#7ca680",
"hsl(126, 19%, 57%)",
"pitch",
"#7aaa97",
"hsl(156, 22%, 57%)",
"playground",
"#3c6640",
"hsl(126, 26%, 32%)",
"track",
"#7aaa96",
"hsl(155, 22%, 57%)",
"theme_park",
"#660033",
"hsl(330, 100%, 20%)",
"zoo",
"#660033",
"hsl(330, 100%, 20%)",
"dam",
"#444444",
"#000"
"hsl(0, 0%, 27%)",
"hsl(0, 0%, 0%)"
],
"line-offset": [
"match",
[
"get",
"class"
],
"military",
1,
0
],
"line-opacity": [
"match",
[
"get",
"class"
],
"military",
0.24,
1
],
"line-width": [
"match",
@ -266,26 +572,6 @@
"dam",
2,
1
],
"line-offset": [
"match",
[
"get",
"class"
],
"military",
1,
0
],
"line-opacity": [
"match",
[
"get",
"class"
],
"military",
0.24,
1
]
},
"filter": [
@ -313,10 +599,10 @@
"dam"
]
],
"order": 26
"order": 60
},
{
"id": "landuse_class_themepark",
"id": "Theme park",
"type": "line",
"source": "openmaptiles",
"source-layer": "landuse",
@ -327,19 +613,7 @@
"visibility": "visible"
},
"paint": {
"line-color": "#660033",
"line-width": {
"stops": [
[
9,
3.5
],
[
14,
5.5
]
]
},
"line-color": "hsl(330, 100%, 20%)",
"line-offset": 2,
"line-opacity": {
"stops": [
@ -352,6 +626,18 @@
0.3
]
]
},
"line-width": {
"stops": [
[
9,
3.5
],
[
14,
5.5
]
]
}
},
"filter": [
@ -363,7 +649,7 @@
"zoo"
]
],
"order": 27
"order": 61
}
]
}

View File

@ -1,11 +1,110 @@
{
"layers": [
{
"id": "mountain_peak",
"id": "Volcano peak labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "mountain_peak",
"maxzoom": 16,
"layout": {
"icon-image": "volcano",
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-anchor": "top",
"text-field": {
"stops": [
[
6,
" "
],
[
12,
"{name} {ele}m"
]
]
},
"text-font": [
"Open Sans Regular",
"Noto Sans Regular"
],
"text-line-height": 1.1,
"text-max-width": 6,
"text-offset": [
0,
0.5
],
"text-size": 10
},
"paint": {
"text-color": "hsl(0, 100%, 42%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1
},
"filter": [
"all",
[
"==",
"class",
"volcano"
],
[
"has",
"ele"
]
],
"order": 239
},
{
"id": "Mountain peak labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "mountain_peak",
"maxzoom": 16,
"layout": {
"icon-image": "peak",
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-anchor": "top",
"text-field": {
"stops": [
[
6,
" "
],
[
12,
"{name} {ele}m"
]
]
},
"text-font": [
"Open Sans Regular",
"Noto Sans Regular"
],
"text-line-height": 1.1,
"text-max-width": 6,
"text-offset": [
0,
0.5
],
"text-size": 10,
"visibility": "visible"
},
"paint": {
"text-color": "hsl(29, 57%, 27%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1
},
"filter": [
"all",
[
@ -13,89 +112,13 @@
"class",
"cliff",
"volcano"
]
],
"layout": {
"text-size": 10,
"icon-image": "peak",
"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": "#6e441e",
"text-halo-color": "rgba(255, 255, 255, .8)",
"text-halo-width": 1
},
"order": 197
},
{
"id": "mountain_peak_volcano",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "mountain_peak",
"maxzoom": 16,
"filter": [
"all",
[
"==",
"class",
"volcano"
"has",
"ele"
]
],
"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
"order": 240
}
]
}

View File

@ -1,7 +1,7 @@
{
"layers": [
{
"id": "national_parks",
"id": "National parks",
"type": "line",
"source": "openmaptiles",
"source-layer": "park",
@ -10,7 +10,9 @@
"visibility": "visible"
},
"paint": {
"line-color": "rgba(154, 199, 136, 1)",
"line-color": "hsl(103, 36%, 66%)",
"line-offset": 1,
"line-opacity": 0.8,
"line-width": {
"base": 1,
"stops": [
@ -31,54 +33,70 @@
3.6
]
]
},
"line-offset": 1,
"line-opacity": 0.8
}
},
"order": 20
"order": 55
},
{
"id": "national_parks_thin",
"id": "National park outline",
"type": "line",
"source": "openmaptiles",
"source-layer": "park",
"minzoom": 10,
"minzoom": 14,
"layout": {
"visibility": "none"
"visibility": "visible"
},
"paint": {
"line-color": "rgba(93, 156, 76, 1)",
"line-color": "hsl(107, 34%, 45%)",
"line-width": 1.5
},
"order": 21
"order": 56
},
{
"id": "park-national",
"id": "National park labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "park",
"minzoom": 7,
"maxzoom": 12,
"layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"symbol-spacing": 150,
"text-allow-overlap": false,
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Open Sans Semibold Italic",
"Noto Sans Italic"
],
"text-size": 12,
"text-field": "{name:latin}{name:nonlatin}",
"visibility": "visible",
"symbol-spacing": 150,
"text-allow-overlap": false
"visibility": "visible"
},
"paint": {
"text-color": {
"stops": [
[
7,
"rgba(70, 164, 70, 1)"
"hsl(120, 40%, 46%)"
],
[
10,
"#008000"
"hsl(120, 100%, 25%)"
]
]
},
@ -87,11 +105,11 @@
"stops": [
[
7,
"rgba(241, 255, 234, 1)"
"hsl(100, 100%, 96%)"
],
[
10,
"rgba(208, 250, 200, 1)"
"hsl(110, 83%, 88%)"
]
]
},
@ -105,7 +123,7 @@
2
]
],
"order": 195
"order": 237
}
]
}
}

View File

@ -1,15 +1,36 @@
{
"layers": [
{
"id": "place_other",
"id": "Other labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 8,
"layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"symbol-spacing": 150,
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Open Sans Semibold",
"Noto Sans Regular"
],
"text-max-width": 10,
"text-size": {
"base": 1.2,
"stops": [
@ -27,22 +48,19 @@
]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"symbol-spacing": 150,
"text-max-width": 10,
"text-transform": "none"
"text-transform": "none",
"visibility": "visible"
},
"paint": {
"text-color": {
"stops": [
[
12.5,
"#222222"
"hsl(0, 0%, 13%)"
],
[
12.6,
"#777777"
"hsl(0, 0%, 47%)"
]
]
},
@ -51,11 +69,11 @@
"stops": [
[
11,
"rgba(255,255,255,0.6)"
"hsla(0, 0%, 100%, 0.6)"
],
[
13,
"#ffffff"
"hsl(0, 0%, 100%)"
]
]
},
@ -82,22 +100,31 @@
"island",
"islet",
"neighbourhood",
"suburb",
"borough"
"suburb"
]
],
"order": 193
"order": 235
},
{
"id": "place_village",
"id": "Village labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 8,
"layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-field": "{name}",
"text-font": [
"Open Sans Semibold",
"Noto Sans Regular"
],
"text-max-width": 8,
"text-size": {
"base": 1.2,
"stops": [
@ -111,13 +138,11 @@
]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-max-width": 8
"visibility": "visible"
},
"paint": {
"text-color": "#333",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-color": "hsl(0, 0%, 20%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1.2
},
"metadata": {},
@ -129,18 +154,43 @@
"village"
]
],
"order": 199
"order": 241
},
{
"id": "place_town",
"id": "Town labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 6,
"layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-anchor": "bottom",
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Open Sans Semibold",
"Noto Sans Regular"
],
"text-max-width": 8,
"text-offset": [
0,
0
],
"text-size": {
"base": 1.2,
"stops": [
@ -154,18 +204,11 @@
]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "bottom",
"text-offset": [
0,
0
],
"text-max-width": 8
"visibility": "visible"
},
"paint": {
"text-color": "#333",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-color": "hsl(0, 0%, 20%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1.2
},
"metadata": {},
@ -177,20 +220,40 @@
"town"
]
],
"order": 200
"order": 242
},
{
"id": "place_state",
"id": "State labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 4,
"maxzoom": 12,
"layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Noto Sans Regular",
"Open Sans Regular",
"Noto Sans Bold"
],
"text-letter-spacing": 0,
"text-padding": 2,
"text-size": {
"stops": [
[
@ -203,15 +266,12 @@
]
]
},
"text-field": "{name:latin}",
"visibility": "visible",
"text-padding": 2,
"text-transform": "none",
"text-letter-spacing": 0
"visibility": "visible"
},
"paint": {
"text-color": "#7e587d",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-color": "hsl(302, 18%, 42%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.8
},
"metadata": {},
@ -228,32 +288,17 @@
3
]
],
"order": 201
"order": 243
},
{
"id": "place_city",
"id": "City labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 4,
"maxzoom": 14,
"layout": {
"text-font": [
"Noto Sans Regular"
],
"text-size": {
"base": 1.2,
"stops": [
[
4,
12
],
[
15,
18
]
]
},
"icon-allow-overlap": true,
"icon-image": {
"stops": [
[
@ -266,35 +311,68 @@
]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"icon-offset": [
0,
3
],
"icon-optional": false,
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-anchor": "bottom",
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Open Sans Semibold",
"Noto Sans Regular"
],
"text-max-width": 8,
"text-offset": [
0,
0
],
"icon-optional": false,
"text-max-width": 8,
"icon-allow-overlap": true
"text-size": {
"base": 1.2,
"stops": [
[
4,
11
],
[
15,
16
]
]
},
"visibility": "visible"
},
"paint": {
"text-color": {
"stops": [
[
6,
"rgba(88, 88, 88, 1)"
"hsl(0, 0%, 35%)"
],
[
14,
"rgba(32, 32, 32, 1)"
"hsl(0, 0%, 13%)"
]
]
},
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1
},
"metadata": {},
@ -311,33 +389,17 @@
1
]
],
"order": 202
"order": 244
},
{
"id": "place_capital",
"id": "Capital city labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 3,
"maxzoom": 15,
"layout": {
"icon-size": 1,
"text-font": [
"Noto Sans Regular"
],
"text-size": {
"base": 1.2,
"stops": [
[
4,
11
],
[
12,
16
]
]
},
"icon-allow-overlap": true,
"icon-image": {
"stops": [
[
@ -350,35 +412,59 @@
]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"icon-offset": [
0,
3
],
"icon-optional": false,
"icon-size": 1,
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-anchor": "bottom",
"text-field": "{name:en}",
"text-font": [
"Open Sans Semibold",
"Noto Sans Regular"
],
"text-max-width": 8,
"text-offset": [
0,
0
],
"icon-optional": false,
"text-max-width": 8,
"icon-allow-overlap": true
"text-size": {
"base": 1.2,
"stops": [
[
4,
12
],
[
12,
18
]
]
},
"visibility": "visible"
},
"paint": {
"text-color": {
"stops": [
[
6,
"rgba(73, 73, 73, 1)"
"hsl(0, 0%, 29%)"
],
[
14,
"rgba(32, 32, 32, 1)"
"hsla(0, 0%, 13%, 1)"
]
]
},
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1.2
},
"metadata": {},
@ -396,267 +482,116 @@
2
]
],
"order": 203
"order": 245
},
{
"id": "country_other",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 4,
"maxzoom": 15,
"layout": {
"text-font": [
"Noto Sans Regular"
],
"text-size": {
"stops": [
[
3,
11
],
[
5,
13
],
[
7,
20
]
]
},
"text-field": "{name:latin}",
"visibility": "visible",
"text-max-width": 6.25,
"text-transform": "none"
},
"paint": {
"text-color": "rgba(131, 81, 130, 1)",
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 0.8
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"country"
],
[
"!has",
"iso_a2"
]
],
"order": 204
},
{
"id": "country_3",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 5,
"maxzoom": 12,
"layout": {
"text-font": [
"Noto Sans Bold"
],
"text-size": {
"stops": [
[
3,
11
],
[
5,
13
],
[
7,
17
]
]
},
"text-field": "{name:latin}",
"visibility": "visible",
"text-max-width": 6.25,
"text-transform": "none"
},
"paint": {
"text-color": {
"stops": [
[
3,
"rgba(108, 78, 107, 1)"
],
[
10,
"rgba(57, 37, 73, 1)"
]
]
},
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 0.8
},
"metadata": {},
"filter": [
"all",
[
">=",
"rank",
3
],
[
"==",
"class",
"country"
],
[
"has",
"iso_a2"
]
],
"order": 205
},
{
"id": "country_2",
"id": "Country labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 2,
"maxzoom": 12,
"layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-field": "{name:en}",
"text-font": [
"Open Sans Semibold",
"Noto Sans Bold"
],
"text-size": {
"stops": [
[
3,
11
],
[
5,
14
],
[
7,
19
]
]
},
"text-field": "{name:latin}",
"visibility": "visible",
"text-max-width": 6.25,
"text-transform": "none"
},
"paint": {
"text-color": {
"stops": [
"text-size": [
"interpolate",
[
"linear",
1
],
[
"zoom"
],
4.99,
[
"case",
[
3,
"rgba(108, 78, 107, 1)"
">",
[
"get",
"rank"
],
2
],
0,
11
],
5,
[
"case",
[
10,
"rgba(57, 37, 73, 1)"
]
">",
[
"get",
"rank"
],
2
],
13,
14
],
7,
[
"case",
[
">",
[
"get",
"rank"
],
2
],
17,
19
]
},
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 0.8
},
"metadata": {},
"filter": [
"all",
[
"==",
"rank",
2
],
[
"==",
"class",
"country"
],
[
"has",
"iso_a2"
]
],
"order": 206
},
{
"id": "country_1",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 2,
"maxzoom": 12,
"layout": {
"text-font": [
"Noto Sans Bold"
],
"text-size": {
"stops": [
[
3,
11
],
[
5,
14
],
[
7,
19
]
]
},
"text-field": "{name:latin}",
"visibility": "visible",
"text-max-width": 6.25,
"text-transform": "none"
"text-transform": "none",
"visibility": "visible"
},
"paint": {
"text-color": {
"stops": [
[
2,
"rgba(108, 78, 107, 1)"
"hsl(302, 16%, 36%)"
],
[
10,
"rgba(57, 37, 73, 1)"
"hsl(273, 33%, 22%)"
]
]
},
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 0.8
},
"metadata": {},
"filter": [
"all",
[
"==",
"rank",
1
],
[
"==",
"class",
"country"
],
[
"has",
"iso_a2"
"!=",
"iso_a2",
"VA"
]
],
"order": 207
"order": 246
}
]
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,51 +1,104 @@
{
"layers": [
{
"id": "ferry_label",
"id": "Ferry labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 14,
"layout": {
"symbol-placement": "line",
"text-anchor": "center",
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Open Sans Regular",
"Noto Sans Regular"
],
"text-size": 10,
"text-field": "{name}",
"text-anchor": "center",
"text-offset": [
0,
0
],
"symbol-placement": "line"
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
14,
10,
18,
12
]
},
"paint": {
"text-color": "#6666ff",
"text-halo-blur": 1,
"text-halo-color": "rgba(255, 255, 255, 0.34)",
"text-halo-width": 1
"text-color": "hsl(240, 100%, 70%)",
"text-halo-blur": 0,
"text-halo-color": "hsl(195, 45%, 77%)",
"text-halo-width": 2
},
"metadata": {},
"filter": [
"all",
[
"==",
"subclass",
"class",
"ferry"
]
],
"order": 184
"order": 226
},
{
"id": "road_label",
"id": "Road labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 14,
"minzoom": 11,
"maxzoom": 22,
"layout": {
"symbol-placement": "line",
"symbol-spacing": [
"step",
[
"zoom"
],
250,
20,
600,
21,
1100
],
"text-anchor": "center",
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Open Sans Regular",
"Noto Sans Regular"
],
"text-offset": [
0,
0
],
"text-size": {
"base": 1,
"stops": [
@ -58,18 +111,11 @@
13
]
]
},
"text-field": "{name}",
"text-anchor": "center",
"text-offset": [
0,
0
],
"symbol-placement": "line"
}
},
"paint": {
"text-color": "#000000",
"text-halo-color": "rgba(255, 255, 255, 0.97)",
"text-color": "hsl(0, 0%, 0%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.97)",
"text-halo-width": 1
},
"metadata": {},
@ -77,23 +123,51 @@
"all",
[
"!=",
"subclass",
"class",
"ferry"
]
],
"order": 185
"order": 227
},
{
"id": "highway-shield-tertiary",
"id": "Tertiary road shield",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 9,
"layout": {
"icon-anchor": "center",
"icon-image": "road_tertiary",
"icon-padding": 2,
"icon-rotation-alignment": "viewport",
"icon-size": 1,
"icon-text-fit": "both",
"icon-text-fit-padding": [
3,
4,
3,
4
],
"symbol-avoid-edges": true,
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"symbol-spacing": 560,
"text-field": "{ref}",
"text-font": [
"Noto Sans Regular"
],
"text-rotation-alignment": "viewport",
"text-size": {
"stops": [
[
@ -110,38 +184,10 @@
]
]
},
"icon-image": "road_tertiary",
"text-field": "{ref}",
"visibility": "visible",
"icon-anchor": "center",
"icon-padding": 2,
"icon-text-fit": "both",
"symbol-spacing": 560,
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"symbol-avoid-edges": true,
"icon-text-fit-padding": [
3,
4,
3,
4
],
"icon-rotation-alignment": "viewport",
"text-rotation-alignment": "viewport"
"visibility": "visible"
},
"paint": {
"text-color": "#3b3b3b"
"text-color": "hsl(0, 0%, 23%)"
},
"filter": [
"all",
@ -160,19 +206,47 @@
"ref"
]
],
"order": 186
"order": 228
},
{
"id": "highway-shield-secondary",
"id": "Secondary road shield",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 9,
"layout": {
"icon-anchor": "center",
"icon-image": "road_secondary",
"icon-padding": 2,
"icon-rotation-alignment": "viewport",
"icon-size": 1,
"icon-text-fit": "both",
"icon-text-fit-padding": [
3,
4,
3,
4
],
"symbol-avoid-edges": true,
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"symbol-spacing": 560,
"text-field": "{ref}",
"text-font": [
"Noto Sans Regular"
],
"text-rotation-alignment": "viewport",
"text-size": {
"stops": [
[
@ -189,38 +263,10 @@
]
]
},
"icon-image": "road_secondary",
"text-field": "{ref}",
"visibility": "visible",
"icon-anchor": "center",
"icon-padding": 2,
"icon-text-fit": "both",
"symbol-spacing": 560,
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"symbol-avoid-edges": true,
"icon-text-fit-padding": [
3,
4,
3,
4
],
"icon-rotation-alignment": "viewport",
"text-rotation-alignment": "viewport"
"visibility": "visible"
},
"paint": {
"text-color": "#323b00"
"text-color": "hsl(69, 100%, 12%)"
},
"filter": [
"all",
@ -239,19 +285,47 @@
"ref"
]
],
"order": 187
"order": 229
},
{
"id": "highway-shield-primary",
"id": "Primary road shield",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 9,
"layout": {
"icon-anchor": "center",
"icon-image": "road_primary",
"icon-padding": 2,
"icon-rotation-alignment": "viewport",
"icon-size": 1,
"icon-text-fit": "both",
"icon-text-fit-padding": [
3,
4,
3,
4
],
"symbol-avoid-edges": true,
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"symbol-spacing": 560,
"text-field": "{ref}",
"text-font": [
"Noto Sans Regular"
],
"text-rotation-alignment": "viewport",
"text-size": {
"stops": [
[
@ -268,38 +342,10 @@
]
]
},
"icon-image": "road_primary",
"text-field": "{ref}",
"visibility": "visible",
"icon-anchor": "center",
"icon-padding": 2,
"icon-text-fit": "both",
"symbol-spacing": 560,
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"symbol-avoid-edges": true,
"icon-text-fit-padding": [
3,
4,
3,
4
],
"icon-rotation-alignment": "viewport",
"text-rotation-alignment": "viewport"
"visibility": "visible"
},
"paint": {
"text-color": "#4c2e00"
"text-color": "hsl(36, 100%, 15%)"
},
"filter": [
"all",
@ -318,19 +364,50 @@
"ref"
]
],
"order": 188
"order": 230
},
{
"id": "highway-shield-motorway",
"id": "Highway shield",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 9,
"layout": {
"icon-anchor": "center",
"icon-image": "road_motorway",
"icon-padding": 2,
"icon-rotation-alignment": "viewport",
"icon-size": 1,
"icon-text-fit": "both",
"icon-text-fit-padding": [
3,
4,
3,
4
],
"symbol-avoid-edges": true,
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"symbol-spacing": 760,
"text-field": "{ref}",
"text-font": [
"Noto Sans Regular"
],
"text-keep-upright": true,
"text-max-width": 10,
"text-optional": false,
"text-rotation-alignment": "viewport",
"text-size": {
"stops": [
[
@ -347,41 +424,10 @@
]
]
},
"icon-image": "road_motorway",
"text-field": "{ref}",
"visibility": "visible",
"icon-anchor": "center",
"icon-padding": 2,
"icon-text-fit": "both",
"text-optional": false,
"symbol-spacing": 760,
"text-max-width": 10,
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"text-keep-upright": true,
"symbol-avoid-edges": true,
"icon-text-fit-padding": [
3,
4,
3,
4
],
"icon-rotation-alignment": "viewport",
"text-rotation-alignment": "viewport"
"visibility": "visible"
},
"paint": {
"text-color": "#620728"
"text-color": "hsl(338, 87%, 21%)"
},
"filter": [
"all",
@ -400,7 +446,7 @@
"ref"
]
],
"order": 189
"order": 231
}
]
}

View File

@ -1,7 +1,7 @@
{
"layers": [
{
"id": "water_intermittent",
"id": "Water intermittent",
"type": "fill",
"source": "openmaptiles",
"source-layer": "water",
@ -9,7 +9,7 @@
"visibility": "visible"
},
"paint": {
"fill-color": "rgba(172, 218, 251, 1)",
"fill-color": "hsl(205, 91%, 83%)",
"fill-opacity": 0.85
},
"metadata": {},
@ -21,10 +21,10 @@
1
]
],
"order": 17
"order": 53
},
{
"id": "water",
"id": "Water",
"type": "fill",
"source": "openmaptiles",
"source-layer": "water",
@ -32,7 +32,7 @@
"visibility": "visible"
},
"paint": {
"fill-color": "#aad3df"
"fill-color": "hsl(194, 45%, 77%)"
},
"metadata": {},
"filter": [
@ -48,7 +48,7 @@
"tunnel"
]
],
"order": 18
"order": 54
}
]
}

View File

@ -1,25 +1,35 @@
{
"layers": [
{
"id": "water_name_line",
"id": "Lakeline labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "water_name",
"minzoom": 0,
"layout": {
"text-font": [
"Noto Sans Regular",
"Noto Sans Bold"
"symbol-placement": "line",
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Open Sans Regular",
"Noto Sans Regular"
],
"text-size": 12,
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-max-width": 5,
"symbol-placement": "line"
"text-size": 12,
"visibility": "visible"
},
"paint": {
"text-color": "#5d60be",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-color": "hsl(238, 43%, 55%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 1
},
"metadata": {},
@ -31,27 +41,37 @@
"LineString"
]
],
"order": 152
"order": 198
},
{
"id": "water_name_point",
"id": "Water labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "water_name",
"minzoom": 16,
"maxzoom": 24,
"minzoom": 15,
"layout": {
"text-font": [
"Noto Sans Regular"
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Open Sans Regular",
"Open Sans Light"
],
"text-max-width": 5,
"text-size": 11,
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-max-width": 5
"visibility": "visible"
},
"paint": {
"text-color": "rgba(76, 125, 173, 1)",
"text-halo-color": "rgba(255,255,255,0)",
"text-color": "hsl(210, 39%, 49%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1
},
"metadata": {},
@ -68,7 +88,7 @@
"ocean"
]
],
"order": 153
"order": 199
}
]
}

View File

@ -1,7 +1,7 @@
{
"layers": [
{
"id": "waterway_tunnel",
"id": "River tunnel",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
@ -11,7 +11,11 @@
"visibility": "visible"
},
"paint": {
"line-color": "#a0c8f0",
"line-color": "hsl(210, 73%, 78%)",
"line-dasharray": [
2,
4
],
"line-width": {
"base": 1.3,
"stops": [
@ -24,11 +28,7 @@
6
]
]
},
"line-dasharray": [
2,
4
]
}
},
"filter": [
"all",
@ -38,10 +38,10 @@
"tunnel"
]
],
"order": 12
"order": 48
},
{
"id": "waterway_river",
"id": "River",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
@ -50,7 +50,7 @@
"visibility": "visible"
},
"paint": {
"line-color": "#a0c8f0",
"line-color": "hsl(210, 73%, 78%)",
"line-width": {
"base": 1.2,
"stops": [
@ -84,10 +84,10 @@
1
]
],
"order": 13
"order": 49
},
{
"id": "waterway_river_intermittent",
"id": "River intermittent",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
@ -95,7 +95,11 @@
"line-cap": "round"
},
"paint": {
"line-color": "#a0c8f0",
"line-color": "hsl(210, 73%, 78%)",
"line-dasharray": [
3,
2
],
"line-width": {
"base": 1.2,
"stops": [
@ -108,11 +112,7 @@
6
]
]
},
"line-dasharray": [
3,
2
]
}
},
"metadata": {},
"filter": [
@ -133,10 +133,10 @@
1
]
],
"order": 14
"order": 50
},
{
"id": "waterway_other",
"id": "Other waterway",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
@ -145,7 +145,7 @@
"visibility": "visible"
},
"paint": {
"line-color": "#a0c8f0",
"line-color": "hsl(210, 73%, 78%)",
"line-width": {
"base": 1.3,
"stops": [
@ -179,10 +179,10 @@
1
]
],
"order": 15
"order": 51
},
{
"id": "waterway_other_intermittent",
"id": "Other waterway intermittent",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
@ -191,7 +191,11 @@
"visibility": "visible"
},
"paint": {
"line-color": "#a0c8f0",
"line-color": "hsl(210, 73%, 78%)",
"line-dasharray": [
4,
3
],
"line-width": {
"base": 1.3,
"stops": [
@ -204,11 +208,7 @@
6
]
]
},
"line-dasharray": [
4,
3
]
}
},
"metadata": {},
"filter": [
@ -229,10 +229,10 @@
1
]
],
"order": 16
"order": 52
},
{
"id": "waterway-bridge-case",
"id": "River bridge outline",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
@ -241,20 +241,7 @@
"line-join": "miter"
},
"paint": {
"line-color": "#bbbbbb",
"line-width": {
"base": 1.6,
"stops": [
[
12,
0.5
],
[
20,
5
]
]
},
"line-color": "hsl(0, 0%, 73%)",
"line-gap-width": {
"base": 1.3,
"stops": [
@ -267,6 +254,19 @@
6
]
]
},
"line-width": {
"base": 1.6,
"stops": [
[
12,
0.5
],
[
20,
5
]
]
}
},
"filter": [
@ -282,10 +282,10 @@
"bridge"
]
],
"order": 111
"order": 152
},
{
"id": "waterway-bridge",
"id": "River bridge",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
@ -294,7 +294,7 @@
"line-join": "round"
},
"paint": {
"line-color": "rgba(134, 204, 250, 1)",
"line-color": "hsl(204, 92%, 75%)",
"line-width": {
"base": 1.3,
"stops": [
@ -322,19 +322,33 @@
"bridge"
]
],
"order": 112
"order": 153
},
{
"id": "water_way_name",
"id": "River labels",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "waterway",
"minzoom": 0,
"minzoom": 3,
"layout": {
"text-font": [
"Noto Sans Regular",
"Noto Sans Bold"
"symbol-placement": "line",
"symbol-spacing": 400,
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [
"Open Sans Regular",
"Noto Sans Regular"
],
"text-max-width": 5,
"text-size": {
"stops": [
[
@ -347,15 +361,11 @@
]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"symbol-spacing": 400,
"text-max-width": 5,
"symbol-placement": "line"
"visibility": "visible"
},
"paint": {
"text-color": "#4d80b3",
"text-halo-color": "rgba(255, 255, 255, 0.8)",
"text-color": "hsl(210, 40%, 50%)",
"text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1
},
"metadata": {},
@ -367,7 +377,7 @@
"LineString"
]
],
"order": 151
"order": 197
}
]
}

View File

@ -23,13 +23,13 @@
"sprite": "sprite",
"layers": [
{
"id": "background",
"id": "Background",
"type": "background",
"layout": {
"visibility": "visible"
},
"paint": {
"background-color": "#f2efe9"
"background-color": "hsl(40, 26%, 93%)"
}
}
]