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": [ "layers": [
{ {
"id": "airport-label-major", "id": "Major airport labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "aerodrome_label", "source-layer": "aerodrome_label",
"minzoom": 8, "minzoom": 8,
"maxzoom": 17, "maxzoom": 17,
"layout": { "layout": {
"icon-allow-overlap": false,
"icon-image": "aerodrome.12",
"icon-size": 1, "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": [ "text-font": [
"Open Sans Italic",
"Noto Sans Italic" "Noto Sans Italic"
], ],
"text-max-width": 9,
"text-offset": [
0,
0.6
],
"text-optional": true,
"text-padding": 2,
"text-size": { "text-size": {
"stops": [ "stops": [
[ [
@ -24,36 +56,12 @@
] ]
] ]
}, },
"icon-image": "aerodrome.12", "visibility": "visible"
"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
}, },
"paint": { "paint": {
"text-color": "#5e3b9e", "text-color": "hsl(261, 46%, 43%)",
"text-halo-blur": 0.5, "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 "text-halo-width": 1
}, },
"filter": [ "filter": [
@ -63,7 +71,7 @@
"iata" "iata"
] ]
], ],
"order": 190 "order": 232
} }
] ]
} }

View File

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

View File

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

View File

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

View File

@ -1,15 +1,21 @@
{ {
"layers": [ "layers": [
{ {
"id": "housenumber", "id": "House number labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "housenumber", "source-layer": "housenumber",
"minzoom": 17, "minzoom": 17,
"layout": { "layout": {
"symbol-avoid-edges": false,
"text-allow-overlap": false,
"text-field": "{housenumber}",
"text-font": [ "text-font": [
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-ignore-placement": false,
"text-line-height": -0.15,
"text-padding": 3,
"text-size": { "text-size": {
"stops": [ "stops": [
[ [
@ -21,20 +27,14 @@
11 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": { "paint": {
"text-color": "rgba(102, 102, 102, 1)", "text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "rgba(255,255,255,0.8)", "text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1 "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": [ "layers": [
{ {
"id": "landuse_classes", "id": "Residential",
"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",
"type": "fill", "type": "fill",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "landuse", "source-layer": "landuse",
"minzoom": 6, "minzoom": 6,
"maxzoom": 24,
"layout": { "layout": {
"visibility": "visible" "visibility": "visible"
}, },
@ -107,15 +14,15 @@
"stops": [ "stops": [
[ [
7, 7,
"#d0d0d0" "hsl(0, 0%, 82%)"
], ],
[ [
11, 11,
"#dddddd" "hsl(0, 0%, 87%)"
], ],
[ [
12, 12,
"#e0dfdf" "hsl(0, 2%, 88%)"
] ]
] ]
} }
@ -131,10 +38,366 @@
"neighbourhood" "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 "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", "type": "fill",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "landuse", "source-layer": "landuse",
@ -142,8 +405,28 @@
"visibility": "visible" "visibility": "visible"
}, },
"paint": { "paint": {
"fill-color": "#000000", "fill-antialias": true,
"fill-opacity": 1, "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": [ "fill-pattern": [
"match", "match",
[ [
@ -154,6 +437,8 @@
"military_red_hatch", "military_red_hatch",
"cemetery", "cemetery",
"grave_yard_generic", "grave_yard_generic",
"quarry",
"quarry",
"" ""
] ]
}, },
@ -164,13 +449,14 @@
"in", "in",
"class", "class",
"military", "military",
"cemetery" "cemetery",
"quarry"
] ]
], ],
"order": 25 "order": 59
}, },
{ {
"id": "landuse_class_outline", "id": "Landuse outline",
"type": "line", "type": "line",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "landuse", "source-layer": "landuse",
@ -186,42 +472,62 @@
"class" "class"
], ],
"railway", "railway",
"#c6b3c3", "hsl(309, 14%, 74%)",
"military", "military",
"#ff5555", "hsl(0, 100%, 67%)",
"residential", "residential",
"#b9b9b9", "hsl(0, 0%, 73%)",
"commercial", "commercial",
"#f2dad9", "hsl(2, 49%, 90%)",
"industrial", "industrial",
"#c6b3c3", "hsl(309, 14%, 74%)",
"retail", "retail",
"#d99c95", "hsl(6, 47%, 72%)",
"school", "school",
"#A6A68C", "hsl(60, 13%, 60%)",
"university", "university",
"#A6A68C", "hsl(60, 13%, 60%)",
"kindergarten", "kindergarten",
"#A6A68C", "hsl(60, 13%, 60%)",
"college", "college",
"#A6A68C", "hsl(60, 13%, 60%)",
"hospital", "hospital",
"#A6A68C", "hsl(60, 13%, 60%)",
"stadium", "stadium",
"#7ca680", "hsl(126, 19%, 57%)",
"pitch", "pitch",
"#7aaa97", "hsl(156, 22%, 57%)",
"playground", "playground",
"#3c6640", "hsl(126, 26%, 32%)",
"track", "track",
"#7aaa96", "hsl(155, 22%, 57%)",
"theme_park", "theme_park",
"#660033", "hsl(330, 100%, 20%)",
"zoo", "zoo",
"#660033", "hsl(330, 100%, 20%)",
"dam", "dam",
"#444444", "hsl(0, 0%, 27%)",
"#000" "hsl(0, 0%, 0%)"
],
"line-offset": [
"match",
[
"get",
"class"
],
"military",
1,
0
],
"line-opacity": [
"match",
[
"get",
"class"
],
"military",
0.24,
1
], ],
"line-width": [ "line-width": [
"match", "match",
@ -266,26 +572,6 @@
"dam", "dam",
2, 2,
1 1
],
"line-offset": [
"match",
[
"get",
"class"
],
"military",
1,
0
],
"line-opacity": [
"match",
[
"get",
"class"
],
"military",
0.24,
1
] ]
}, },
"filter": [ "filter": [
@ -313,10 +599,10 @@
"dam" "dam"
] ]
], ],
"order": 26 "order": 60
}, },
{ {
"id": "landuse_class_themepark", "id": "Theme park",
"type": "line", "type": "line",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "landuse", "source-layer": "landuse",
@ -327,19 +613,7 @@
"visibility": "visible" "visibility": "visible"
}, },
"paint": { "paint": {
"line-color": "#660033", "line-color": "hsl(330, 100%, 20%)",
"line-width": {
"stops": [
[
9,
3.5
],
[
14,
5.5
]
]
},
"line-offset": 2, "line-offset": 2,
"line-opacity": { "line-opacity": {
"stops": [ "stops": [
@ -352,6 +626,18 @@
0.3 0.3
] ]
] ]
},
"line-width": {
"stops": [
[
9,
3.5
],
[
14,
5.5
]
]
} }
}, },
"filter": [ "filter": [
@ -363,7 +649,7 @@
"zoo" "zoo"
] ]
], ],
"order": 27 "order": 61
} }
] ]
} }

View File

@ -1,11 +1,110 @@
{ {
"layers": [ "layers": [
{ {
"id": "mountain_peak", "id": "Volcano peak labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "mountain_peak", "source-layer": "mountain_peak",
"maxzoom": 16, "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": [ "filter": [
"all", "all",
[ [
@ -13,89 +112,13 @@
"class", "class",
"cliff", "cliff",
"volcano" "volcano"
]
],
"layout": {
"text-size": 10,
"icon-image": "peak",
"text-field": {
"stops": [
[
6,
" "
], ],
[ [
12, "has",
"{name} {ele}m" "ele"
]
]
},
"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"
] ]
], ],
"layout": { "order": 240
"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
} }
] ]
} }

View File

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

View File

@ -1,15 +1,36 @@
{ {
"layers": [ "layers": [
{ {
"id": "place_other", "id": "Other labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "place", "source-layer": "place",
"minzoom": 8, "minzoom": 8,
"layout": { "layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"symbol-spacing": 150,
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [ "text-font": [
"Open Sans Semibold",
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-max-width": 10,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
"stops": [ "stops": [
@ -27,22 +48,19 @@
] ]
] ]
}, },
"text-field": "{name:latin}\n{name:nonlatin}", "text-transform": "none",
"visibility": "visible", "visibility": "visible"
"symbol-spacing": 150,
"text-max-width": 10,
"text-transform": "none"
}, },
"paint": { "paint": {
"text-color": { "text-color": {
"stops": [ "stops": [
[ [
12.5, 12.5,
"#222222" "hsl(0, 0%, 13%)"
], ],
[ [
12.6, 12.6,
"#777777" "hsl(0, 0%, 47%)"
] ]
] ]
}, },
@ -51,11 +69,11 @@
"stops": [ "stops": [
[ [
11, 11,
"rgba(255,255,255,0.6)" "hsla(0, 0%, 100%, 0.6)"
], ],
[ [
13, 13,
"#ffffff" "hsl(0, 0%, 100%)"
] ]
] ]
}, },
@ -82,22 +100,31 @@
"island", "island",
"islet", "islet",
"neighbourhood", "neighbourhood",
"suburb", "suburb"
"borough"
] ]
], ],
"order": 193 "order": 235
}, },
{ {
"id": "place_village", "id": "Village labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "place", "source-layer": "place",
"minzoom": 8, "minzoom": 8,
"layout": { "layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-field": "{name}",
"text-font": [ "text-font": [
"Open Sans Semibold",
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
"stops": [ "stops": [
@ -111,13 +138,11 @@
] ]
] ]
}, },
"text-field": "{name:latin}\n{name:nonlatin}", "visibility": "visible"
"visibility": "visible",
"text-max-width": 8
}, },
"paint": { "paint": {
"text-color": "#333", "text-color": "hsl(0, 0%, 20%)",
"text-halo-color": "rgba(255,255,255,0.8)", "text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1.2 "text-halo-width": 1.2
}, },
"metadata": {}, "metadata": {},
@ -129,18 +154,43 @@
"village" "village"
] ]
], ],
"order": 199 "order": 241
}, },
{ {
"id": "place_town", "id": "Town labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "place", "source-layer": "place",
"minzoom": 6, "minzoom": 6,
"layout": { "layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-anchor": "bottom",
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [ "text-font": [
"Open Sans Semibold",
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-max-width": 8,
"text-offset": [
0,
0
],
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
"stops": [ "stops": [
@ -154,18 +204,11 @@
] ]
] ]
}, },
"text-field": "{name:latin}\n{name:nonlatin}", "visibility": "visible"
"visibility": "visible",
"text-anchor": "bottom",
"text-offset": [
0,
0
],
"text-max-width": 8
}, },
"paint": { "paint": {
"text-color": "#333", "text-color": "hsl(0, 0%, 20%)",
"text-halo-color": "rgba(255,255,255,0.8)", "text-halo-color": "hsla(0, 0%, 100%, 0.8)",
"text-halo-width": 1.2 "text-halo-width": 1.2
}, },
"metadata": {}, "metadata": {},
@ -177,20 +220,40 @@
"town" "town"
] ]
], ],
"order": 200 "order": 242
}, },
{ {
"id": "place_state", "id": "State labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "place", "source-layer": "place",
"minzoom": 4, "minzoom": 4,
"maxzoom": 12, "maxzoom": 12,
"layout": { "layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [ "text-font": [
"Noto Sans Regular", "Open Sans Regular",
"Noto Sans Bold" "Noto Sans Bold"
], ],
"text-letter-spacing": 0,
"text-padding": 2,
"text-size": { "text-size": {
"stops": [ "stops": [
[ [
@ -203,15 +266,12 @@
] ]
] ]
}, },
"text-field": "{name:latin}",
"visibility": "visible",
"text-padding": 2,
"text-transform": "none", "text-transform": "none",
"text-letter-spacing": 0 "visibility": "visible"
}, },
"paint": { "paint": {
"text-color": "#7e587d", "text-color": "hsl(302, 18%, 42%)",
"text-halo-color": "rgba(255,255,255,0.7)", "text-halo-color": "hsla(0, 0%, 100%, 0.7)",
"text-halo-width": 0.8 "text-halo-width": 0.8
}, },
"metadata": {}, "metadata": {},
@ -228,32 +288,17 @@
3 3
] ]
], ],
"order": 201 "order": 243
}, },
{ {
"id": "place_city", "id": "City labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "place", "source-layer": "place",
"minzoom": 4, "minzoom": 4,
"maxzoom": 14, "maxzoom": 14,
"layout": { "layout": {
"text-font": [ "icon-allow-overlap": true,
"Noto Sans Regular"
],
"text-size": {
"base": 1.2,
"stops": [
[
4,
12
],
[
15,
18
]
]
},
"icon-image": { "icon-image": {
"stops": [ "stops": [
[ [
@ -266,35 +311,68 @@
] ]
] ]
}, },
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"icon-offset": [ "icon-offset": [
0, 0,
3 3
], ],
"icon-optional": false,
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-anchor": "bottom", "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": [ "text-offset": [
0, 0,
0 0
], ],
"icon-optional": false, "text-size": {
"text-max-width": 8, "base": 1.2,
"icon-allow-overlap": true "stops": [
[
4,
11
],
[
15,
16
]
]
},
"visibility": "visible"
}, },
"paint": { "paint": {
"text-color": { "text-color": {
"stops": [ "stops": [
[ [
6, 6,
"rgba(88, 88, 88, 1)" "hsl(0, 0%, 35%)"
], ],
[ [
14, 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 "text-halo-width": 1
}, },
"metadata": {}, "metadata": {},
@ -311,33 +389,17 @@
1 1
] ]
], ],
"order": 202 "order": 244
}, },
{ {
"id": "place_capital", "id": "Capital city labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "place", "source-layer": "place",
"minzoom": 3, "minzoom": 3,
"maxzoom": 15, "maxzoom": 15,
"layout": { "layout": {
"icon-size": 1, "icon-allow-overlap": true,
"text-font": [
"Noto Sans Regular"
],
"text-size": {
"base": 1.2,
"stops": [
[
4,
11
],
[
12,
16
]
]
},
"icon-image": { "icon-image": {
"stops": [ "stops": [
[ [
@ -350,35 +412,59 @@
] ]
] ]
}, },
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"icon-offset": [ "icon-offset": [
0, 0,
3 3
], ],
"icon-optional": false,
"icon-size": 1,
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-anchor": "bottom", "text-anchor": "bottom",
"text-field": "{name:en}",
"text-font": [
"Open Sans Semibold",
"Noto Sans Regular"
],
"text-max-width": 8,
"text-offset": [ "text-offset": [
0, 0,
0 0
], ],
"icon-optional": false, "text-size": {
"text-max-width": 8, "base": 1.2,
"icon-allow-overlap": true "stops": [
[
4,
12
],
[
12,
18
]
]
},
"visibility": "visible"
}, },
"paint": { "paint": {
"text-color": { "text-color": {
"stops": [ "stops": [
[ [
6, 6,
"rgba(73, 73, 73, 1)" "hsl(0, 0%, 29%)"
], ],
[ [
14, 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 "text-halo-width": 1.2
}, },
"metadata": {}, "metadata": {},
@ -396,267 +482,116 @@
2 2
] ]
], ],
"order": 203 "order": 245
}, },
{ {
"id": "country_other", "id": "Country labels",
"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",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "place", "source-layer": "place",
"minzoom": 2, "minzoom": 2,
"maxzoom": 12, "maxzoom": 12,
"layout": { "layout": {
"symbol-sort-key": [
"to-number",
[
"get",
"rank"
]
],
"text-field": "{name:en}",
"text-font": [ "text-font": [
"Open Sans Semibold",
"Noto Sans Bold" "Noto Sans Bold"
], ],
"text-size": {
"stops": [
[
3,
11
],
[
5,
14
],
[
7,
19
]
]
},
"text-field": "{name:latin}",
"visibility": "visible",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "none" "text-size": [
}, "interpolate",
"paint": {
"text-color": {
"stops": [
[ [
3, "linear",
"rgba(108, 78, 107, 1)" 1
], ],
[ [
10, "zoom"
"rgba(57, 37, 73, 1)" ],
] 4.99,
]
},
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 0.8
},
"metadata": {},
"filter": [
"all",
[ [
"==", "case",
"rank", [
">",
[
"get",
"rank"
],
2 2
], ],
[ 0,
"==",
"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 11
], ],
[
5, 5,
[
"case",
[
">",
[
"get",
"rank"
],
2
],
13,
14 14
], ],
[
7, 7,
[
"case",
[
">",
[
"get",
"rank"
],
2
],
17,
19 19
] ]
] ],
}, "text-transform": "none",
"text-field": "{name:latin}", "visibility": "visible"
"visibility": "visible",
"text-max-width": 6.25,
"text-transform": "none"
}, },
"paint": { "paint": {
"text-color": { "text-color": {
"stops": [ "stops": [
[ [
2, 2,
"rgba(108, 78, 107, 1)" "hsl(302, 16%, 36%)"
], ],
[ [
10, 10,
"rgba(57, 37, 73, 1)" "hsl(273, 33%, 22%)"
] ]
] ]
}, },
"text-halo-blur": 1, "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 "text-halo-width": 0.8
}, },
"metadata": {}, "metadata": {},
"filter": [ "filter": [
"all", "all",
[
"==",
"rank",
1
],
[ [
"==", "==",
"class", "class",
"country" "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": [ "layers": [
{ {
"id": "ferry_label", "id": "Ferry labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "transportation_name", "source-layer": "transportation_name",
"minzoom": 14, "minzoom": 14,
"layout": { "layout": {
"symbol-placement": "line",
"text-anchor": "center",
"text-field": [
"coalesce",
[
"get",
"name:en"
],
[
"get",
"name"
]
],
"text-font": [ "text-font": [
"Open Sans Regular",
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-size": 10,
"text-field": "{name}",
"text-anchor": "center",
"text-offset": [ "text-offset": [
0, 0,
0 0
], ],
"symbol-placement": "line" "text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
14,
10,
18,
12
]
}, },
"paint": { "paint": {
"text-color": "#6666ff", "text-color": "hsl(240, 100%, 70%)",
"text-halo-blur": 1, "text-halo-blur": 0,
"text-halo-color": "rgba(255, 255, 255, 0.34)", "text-halo-color": "hsl(195, 45%, 77%)",
"text-halo-width": 1 "text-halo-width": 2
}, },
"metadata": {}, "metadata": {},
"filter": [ "filter": [
"all", "all",
[ [
"==", "==",
"subclass", "class",
"ferry" "ferry"
] ]
], ],
"order": 184 "order": 226
}, },
{ {
"id": "road_label", "id": "Road labels",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "transportation_name", "source-layer": "transportation_name",
"minzoom": 14, "minzoom": 11,
"maxzoom": 22,
"layout": { "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": [ "text-font": [
"Open Sans Regular",
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-offset": [
0,
0
],
"text-size": { "text-size": {
"base": 1, "base": 1,
"stops": [ "stops": [
@ -58,18 +111,11 @@
13 13
] ]
] ]
}, }
"text-field": "{name}",
"text-anchor": "center",
"text-offset": [
0,
0
],
"symbol-placement": "line"
}, },
"paint": { "paint": {
"text-color": "#000000", "text-color": "hsl(0, 0%, 0%)",
"text-halo-color": "rgba(255, 255, 255, 0.97)", "text-halo-color": "hsla(0, 0%, 100%, 0.97)",
"text-halo-width": 1 "text-halo-width": 1
}, },
"metadata": {}, "metadata": {},
@ -77,23 +123,51 @@
"all", "all",
[ [
"!=", "!=",
"subclass", "class",
"ferry" "ferry"
] ]
], ],
"order": 185 "order": 227
}, },
{ {
"id": "highway-shield-tertiary", "id": "Tertiary road shield",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "transportation_name", "source-layer": "transportation_name",
"minzoom": 9, "minzoom": 9,
"layout": { "layout": {
"icon-anchor": "center",
"icon-image": "road_tertiary",
"icon-padding": 2,
"icon-rotation-alignment": "viewport",
"icon-size": 1, "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": [ "text-font": [
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-rotation-alignment": "viewport",
"text-size": { "text-size": {
"stops": [ "stops": [
[ [
@ -110,38 +184,10 @@
] ]
] ]
}, },
"icon-image": "road_tertiary", "visibility": "visible"
"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"
}, },
"paint": { "paint": {
"text-color": "#3b3b3b" "text-color": "hsl(0, 0%, 23%)"
}, },
"filter": [ "filter": [
"all", "all",
@ -160,19 +206,47 @@
"ref" "ref"
] ]
], ],
"order": 186 "order": 228
}, },
{ {
"id": "highway-shield-secondary", "id": "Secondary road shield",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "transportation_name", "source-layer": "transportation_name",
"minzoom": 9, "minzoom": 9,
"layout": { "layout": {
"icon-anchor": "center",
"icon-image": "road_secondary",
"icon-padding": 2,
"icon-rotation-alignment": "viewport",
"icon-size": 1, "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": [ "text-font": [
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-rotation-alignment": "viewport",
"text-size": { "text-size": {
"stops": [ "stops": [
[ [
@ -189,38 +263,10 @@
] ]
] ]
}, },
"icon-image": "road_secondary", "visibility": "visible"
"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"
}, },
"paint": { "paint": {
"text-color": "#323b00" "text-color": "hsl(69, 100%, 12%)"
}, },
"filter": [ "filter": [
"all", "all",
@ -239,19 +285,47 @@
"ref" "ref"
] ]
], ],
"order": 187 "order": 229
}, },
{ {
"id": "highway-shield-primary", "id": "Primary road shield",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "transportation_name", "source-layer": "transportation_name",
"minzoom": 9, "minzoom": 9,
"layout": { "layout": {
"icon-anchor": "center",
"icon-image": "road_primary",
"icon-padding": 2,
"icon-rotation-alignment": "viewport",
"icon-size": 1, "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": [ "text-font": [
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-rotation-alignment": "viewport",
"text-size": { "text-size": {
"stops": [ "stops": [
[ [
@ -268,38 +342,10 @@
] ]
] ]
}, },
"icon-image": "road_primary", "visibility": "visible"
"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"
}, },
"paint": { "paint": {
"text-color": "#4c2e00" "text-color": "hsl(36, 100%, 15%)"
}, },
"filter": [ "filter": [
"all", "all",
@ -318,19 +364,50 @@
"ref" "ref"
] ]
], ],
"order": 188 "order": 230
}, },
{ {
"id": "highway-shield-motorway", "id": "Highway shield",
"type": "symbol", "type": "symbol",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "transportation_name", "source-layer": "transportation_name",
"minzoom": 9, "minzoom": 9,
"layout": { "layout": {
"icon-anchor": "center",
"icon-image": "road_motorway",
"icon-padding": 2,
"icon-rotation-alignment": "viewport",
"icon-size": 1, "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": [ "text-font": [
"Noto Sans Regular" "Noto Sans Regular"
], ],
"text-keep-upright": true,
"text-max-width": 10,
"text-optional": false,
"text-rotation-alignment": "viewport",
"text-size": { "text-size": {
"stops": [ "stops": [
[ [
@ -347,41 +424,10 @@
] ]
] ]
}, },
"icon-image": "road_motorway", "visibility": "visible"
"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"
}, },
"paint": { "paint": {
"text-color": "#620728" "text-color": "hsl(338, 87%, 21%)"
}, },
"filter": [ "filter": [
"all", "all",
@ -400,7 +446,7 @@
"ref" "ref"
] ]
], ],
"order": 189 "order": 231
} }
] ]
} }

View File

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

View File

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

View File

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

View File

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