updated all styles

This commit is contained in:
Kalin Dobrev 2019-07-08 14:15:31 +02:00
parent 09fd0d5c73
commit cbbb7ef445
5 changed files with 1657 additions and 1084 deletions

View file

@ -104,25 +104,7 @@
} }
}, },
{ {
"id": "landuse_park", "id": "landuse_school",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "landcover",
"filter": [
"==",
"class",
"park"
],
"paint": {
"fill-color": "hsla(0, 0%, 77%, 0)",
"fill-outline-color": "hsla(0, 0%, 77%, 0)"
}
},
{
"id": "landuse_cemetery",
"type": "fill", "type": "fill",
"metadata": { "metadata": {
"mapbox:group": "1444849388993.3071" "mapbox:group": "1444849388993.3071"
@ -132,11 +114,31 @@
"filter": [ "filter": [
"==", "==",
"class", "class",
"cemetery" "school"
], ],
"paint": { "paint": {
"fill-color": "hsla(0, 0%, 88%, 0)", "fill-color": "hsla(0, 0%, 94%, 0)",
"fill-outline-color": "hsla(0, 0%, 88%, 0)" "fill-outline-color": "hsla(0, 0%, 94%, 0)"
}
},
{
"id": "landuse_wood",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "landcover",
"filter": [
"in",
"class",
"wood",
"grass"
],
"paint": {
"fill-color": "hsla(0, 0%, 47%, 0)",
"fill-opacity": 0.2,
"fill-outline-color": "hsla(0, 0%, 47%, 0)"
} }
}, },
{ {
@ -158,7 +160,7 @@
} }
}, },
{ {
"id": "landuse_school", "id": "landuse_cemetery",
"type": "fill", "type": "fill",
"metadata": { "metadata": {
"mapbox:group": "1444849388993.3071" "mapbox:group": "1444849388993.3071"
@ -168,36 +170,15 @@
"filter": [ "filter": [
"==", "==",
"class", "class",
"school" "cemetery"
], ],
"paint": { "paint": {
"fill-color": "hsla(0, 0%, 94%, 0)", "fill-color": "hsla(0, 0%, 88%, 0)",
"fill-outline-color": "hsla(0, 0%, 94%, 0)" "fill-outline-color": "hsla(0, 0%, 88%, 0)"
} }
}, },
{ {
"id": "landuse_pitch", "id": "landuse_park",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "landuse",
"filter": [
"all",
[
"==",
"class",
"pitch"
]
],
"paint": {
"fill-color": "hsla(0, 0%, 94%, 0)",
"fill-outline-color": "hsla(0, 0%, 94%, 0)"
}
},
{
"id": "landuse_wood",
"type": "fill", "type": "fill",
"metadata": { "metadata": {
"mapbox:group": "1444849388993.3071" "mapbox:group": "1444849388993.3071"
@ -207,12 +188,24 @@
"filter": [ "filter": [
"==", "==",
"class", "class",
"wood" "park"
], ],
"paint": { "paint": {
"fill-color": "hsla(0, 0%, 47%, 0)", "fill-color": "hsla(0, 0%, 77%, 0)",
"fill-opacity": 0.2, "fill-outline-color": "hsla(0, 0%, 77%, 0)"
"fill-outline-color": "hsla(0, 0%, 47%, 0)" }
},
{
"id": "water",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "mapbox",
"source-layer": "water",
"paint": {
"fill-color": "#46BCEC",
"fill-outline-color": "#46BCEC"
} }
}, },
{ {
@ -328,19 +321,6 @@
} }
} }
}, },
{
"id": "water",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "mapbox",
"source-layer": "water",
"paint": {
"fill-color": "#46BCEC",
"fill-outline-color": "#46BCEC"
}
},
{ {
"id": "aeroway_fill", "id": "aeroway_fill",
"type": "fill", "type": "fill",
@ -1234,6 +1214,48 @@
"line-opacity": 1 "line-opacity": 1
} }
}, },
{
"id": "road_minor",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"paint": {
"line-color": "#ffffff",
"line-width": {
"base": 1.2,
"stops": [
[
12,
0
],
[
14,
2
],
[
20,
11.5
]
]
},
"line-opacity": 1
},
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"all",
[
"in",
"class",
"minor"
]
],
"layout": {
"line-cap": "round",
"line-join": "round"
}
},
{ {
"id": "road_service_track_casing", "id": "road_service_track_casing",
"type": "line", "type": "line",
@ -2498,31 +2520,6 @@
} }
} }
}, },
{
"id": "road_minor",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"paint": {
"line-color": "#ffffff",
"line-width": 2
},
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"all",
[
"in",
"class",
"minor"
]
],
"layout": {
"line-cap": "round",
"line-join": "round"
}
},
{ {
"id": "admin_level_3", "id": "admin_level_3",
"type": "line", "type": "line",
@ -2542,6 +2539,11 @@
">=", ">=",
"admin_level", "admin_level",
3 3
],
[
"<",
"admin_level",
5
] ]
], ],
"layout": { "layout": {
@ -2777,6 +2779,39 @@
} }
} }
}, },
{
"id": "railway_line",
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"all",
[
"in",
"subclass",
"rail",
"subway",
"light_rail"
],
[
"==",
"class",
"rail"
]
],
"paint": {
"line-width": 1,
"line-color": "rgba(188, 188, 188, 1)",
"line-offset": 0
},
"line-opacity": 1,
"minzoom": 5,
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
}
},
{ {
"id": "water_label", "id": "water_label",
"type": "symbol", "type": "symbol",
@ -2784,7 +2819,7 @@
"mapbox:group": "1444849320558.5054" "mapbox:group": "1444849320558.5054"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "water", "source-layer": "water_name",
"filter": [ "filter": [
"==", "==",
"$type", "$type",
@ -2794,7 +2829,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-size": 12 "text-size": 12
}, },
@ -2805,14 +2840,14 @@
} }
}, },
{ {
"id": "poi_label_r1", "id": "poi_label_r10+",
"type": "symbol", "type": "symbol",
"metadata": { "metadata": {
"mapbox:group": "1444849297111.495" "mapbox:group": "1444849297111.495"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "poi",
"minzoom": 14, "minzoom": 16,
"filter": [ "filter": [
"all", "all",
[ [
@ -2821,9 +2856,9 @@
"Point" "Point"
], ],
[ [
"==", ">=",
"rank", "rank",
1 10
] ]
], ],
"layout": { "layout": {
@ -2831,51 +2866,7 @@
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "poi_label_r2",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
2
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name_en}",
"text-max-width": 9, "text-max-width": 9,
"text-padding": 2, "text-padding": 2,
"text-offset": [ "text-offset": [
@ -2924,7 +2915,95 @@
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "poi_label_r2",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
2
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name:latin}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "poi_label_r1",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 14,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
1
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name:latin}",
"text-max-width": 9, "text-max-width": 9,
"text-padding": 2, "text-padding": 2,
"text-offset": [ "text-offset": [
@ -2949,9 +3028,10 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "poi",
"minzoom": 13,
"layout": { "layout": {
"text-size": 12, "text-size": 12,
"icon-image": "{class}-11", "icon-image": "rail-11",
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
@ -2962,7 +3042,7 @@
0.6 0.6
], ],
"text-anchor": "top", "text-anchor": "top",
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9 "text-max-width": 9
}, },
"paint": { "paint": {
@ -2977,58 +3057,10 @@
"==", "==",
"class", "class",
"railway" "railway"
] ]
] ]
}, },
{
"id": "poi_label_r10+",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 16,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
">=",
"rank",
10
],
[
"<",
"rank",
20
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name_en}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{ {
"id": "airport_label", "id": "airport_label",
"type": "symbol", "type": "symbol",
@ -3036,7 +3068,7 @@
"mapbox:group": "1444849297111.495" "mapbox:group": "1444849297111.495"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "aerodrome_label",
"minzoom": 11, "minzoom": 11,
"filter": [ "filter": [
"all", "all",
@ -3044,21 +3076,14 @@
"==", "==",
"$type", "$type",
"Point" "Point"
],
[
"in",
"rank",
1,
2,
3
] ]
], ],
"layout": { "layout": {
"icon-image": "{class}-11", "icon-image": "airport-11",
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9, "text-max-width": 9,
"text-padding": 2, "text-padding": 2,
"text-offset": [ "text-offset": [
@ -3075,37 +3100,7 @@
"text-halo-blur": 0.5 "text-halo-blur": 0.5
} }
}, },
{
"id": "railway_line",
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"subclass",
"rail"
],
[
"==",
"class",
"rail"
]
],
"paint": {
"line-width": 1,
"line-color": "rgba(188, 188, 188, 1)",
"line-offset": 0
},
"line-opacity": 1,
"minzoom": 5,
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
}
},
{ {
"id": "road_label", "id": "road_label",
"type": "symbol", "type": "symbol",
@ -3114,13 +3109,18 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "transportation_name", "source-layer": "transportation_name",
"minzoom": 13,
"filter": [ "filter": [
"!=", "all",
"class", [
"ferry" "!in",
"class",
"ferry",
"path"
]
], ],
"layout": { "layout": {
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-font": [ "text-font": [
"Open Sans Regular" "Open Sans Regular"
], ],
@ -3146,18 +3146,26 @@
} }
}, },
{ {
"id": "road_label_highway_shield", "id": "road_motorway_shield",
"type": "symbol", "type": "symbol",
"metadata": { "metadata": {
"mapbox:group": "1456163609504.0715" "mapbox:group": "1456163609504.0715"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "transportation", "source-layer": "transportation_name",
"minzoom": 8, "minzoom": 8,
"filter": [ "filter": [
"<=", "all",
"reflen", [
6 "<=",
"ref_length",
4
],
[
"==",
"class",
"motorway"
]
], ],
"layout": { "layout": {
"text-field": "{ref}", "text-field": "{ref}",
@ -3165,7 +3173,7 @@
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-size": 11, "text-size": 11,
"icon-image": "motorway_{reflen}", "icon-image": "motorway_{ref_length}",
"symbol-placement": { "symbol-placement": {
"base": 1, "base": 1,
"stops": [ "stops": [
@ -3185,6 +3193,51 @@
}, },
"paint": {} "paint": {}
}, },
{
"id": "road_shield",
"type": "symbol",
"metadata": {
"mapbox:group": "1456163609504.0715"
},
"source": "mapbox",
"source-layer": "transportation_name",
"minzoom": 12,
"filter": [
"all",
[
"<=",
"ref_length",
6
]
],
"layout": {
"text-field": "{ref}",
"text-font": [
"Open Sans Semibold"
],
"text-size": 11,
"icon-image": "motorway_{ref_length}",
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"visibility": "visible",
"symbol-spacing": 500,
"text-rotation-alignment": "viewport",
"icon-rotation-alignment": "viewport"
},
"paint": {},
"maxzoom": 24
},
{ {
"id": "place_label_other", "id": "place_label_other",
"type": "symbol", "type": "symbol",
@ -3193,9 +3246,10 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"minzoom": 10,
"filter": [ "filter": [
"in", "in",
"type", "class",
"hamlet", "hamlet",
"island", "island",
"islet", "islet",
@ -3208,7 +3262,7 @@
], ],
"text-transform": "uppercase", "text-transform": "uppercase",
"text-letter-spacing": 0.1, "text-letter-spacing": 0.1,
"text-field": "{name_en}", "text-field": "{name}",
"text-max-width": 9, "text-max-width": 9,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3240,14 +3294,14 @@
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "==",
"type", "class",
"village" "village"
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Regular" "Open Sans Regular"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 8, "text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3279,14 +3333,14 @@
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "==",
"type", "class",
"town" "town"
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Regular" "Open Sans Regular"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 8, "text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3318,14 +3372,14 @@
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "==",
"type", "class",
"city" "city"
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 8, "text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3372,7 +3426,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3420,7 +3474,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6, "text-max-width": 6,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "point", "symbol-placement": "point",
@ -3469,7 +3523,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3517,7 +3571,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "point", "symbol-placement": "point",
@ -3566,7 +3620,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3614,7 +3668,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "point", "symbol-placement": "point",
@ -3663,7 +3717,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3711,7 +3765,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"text-line-height": 1.6, "text-line-height": 1.6,
@ -3749,15 +3803,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
">=", "all",
"rank", [
4 ">=",
"rank",
4
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {
@ -3789,15 +3851,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "all",
"rank", [
3 "==",
"rank",
3
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {
@ -3829,15 +3899,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "all",
"rank", [
2 "==",
"rank",
2
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {
@ -3869,15 +3947,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "all",
"rank", [
1 "==",
"rank",
1
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {

View file

@ -104,25 +104,7 @@
} }
}, },
{ {
"id": "landuse_park", "id": "landuse_school",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "landcover",
"filter": [
"==",
"class",
"park"
],
"paint": {
"fill-color": "#2C5A71",
"fill-outline-color": "#2C5A71"
}
},
{
"id": "landuse_cemetery",
"type": "fill", "type": "fill",
"metadata": { "metadata": {
"mapbox:group": "1444849388993.3071" "mapbox:group": "1444849388993.3071"
@ -132,11 +114,31 @@
"filter": [ "filter": [
"==", "==",
"class", "class",
"cemetery" "school"
], ],
"paint": { "paint": {
"fill-color": "#406D80", "fill-color": "#2C5A71",
"fill-outline-color": "#406D80" "fill-outline-color": "#2C5A71"
}
},
{
"id": "landuse_wood",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "landcover",
"filter": [
"in",
"class",
"wood",
"grass"
],
"paint": {
"fill-color": "#2C5A71",
"fill-opacity": 0.2,
"fill-outline-color": "#2C5A71"
} }
}, },
{ {
@ -158,7 +160,7 @@
} }
}, },
{ {
"id": "landuse_school", "id": "landuse_cemetery",
"type": "fill", "type": "fill",
"metadata": { "metadata": {
"mapbox:group": "1444849388993.3071" "mapbox:group": "1444849388993.3071"
@ -168,36 +170,15 @@
"filter": [ "filter": [
"==", "==",
"class", "class",
"school" "cemetery"
], ],
"paint": { "paint": {
"fill-color": "#2C5A71", "fill-color": "#406D80",
"fill-outline-color": "#2C5A71" "fill-outline-color": "#406D80"
} }
}, },
{ {
"id": "landuse_pitch", "id": "landuse_park",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "landuse",
"filter": [
"all",
[
"==",
"class",
"pitch"
]
],
"paint": {
"fill-color": "#2C5A71",
"fill-outline-color": "#2C5A71"
}
},
{
"id": "landuse_wood",
"type": "fill", "type": "fill",
"metadata": { "metadata": {
"mapbox:group": "1444849388993.3071" "mapbox:group": "1444849388993.3071"
@ -207,14 +188,26 @@
"filter": [ "filter": [
"==", "==",
"class", "class",
"wood" "park"
], ],
"paint": { "paint": {
"fill-color": "#2C5A71", "fill-color": "#2C5A71",
"fill-opacity": 0.2,
"fill-outline-color": "#2C5A71" "fill-outline-color": "#2C5A71"
} }
}, },
{
"id": "water",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "mapbox",
"source-layer": "water",
"paint": {
"fill-color": "#193341",
"fill-outline-color": "#193341"
}
},
{ {
"id": "waterway", "id": "waterway",
"type": "line", "type": "line",
@ -328,19 +321,6 @@
} }
} }
}, },
{
"id": "water",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "mapbox",
"source-layer": "water",
"paint": {
"fill-color": "#193341",
"fill-outline-color": "#193341"
}
},
{ {
"id": "aeroway_fill", "id": "aeroway_fill",
"type": "fill", "type": "fill",
@ -549,31 +529,6 @@
"line-opacity": 1 "line-opacity": 1
} }
}, },
{
"id": "road_minor",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"paint": {
"line-color": "rgba(25, 74, 87, 1)",
"line-width": 2
},
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"all",
[
"in",
"class",
"minor"
]
],
"layout": {
"line-cap": "round",
"line-join": "round"
}
},
{ {
"id": "tunnel_service_track_casing", "id": "tunnel_service_track_casing",
"type": "line", "type": "line",
@ -1259,6 +1214,48 @@
"line-opacity": 1 "line-opacity": 1
} }
}, },
{
"id": "road_minor",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"paint": {
"line-color": "rgba(25, 74, 87, 1)",
"line-width": {
"base": 1.2,
"stops": [
[
12,
0
],
[
14,
2
],
[
20,
11.5
]
]
},
"line-opacity": 1
},
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"all",
[
"in",
"class",
"minor"
]
],
"layout": {
"line-cap": "round",
"line-join": "round"
}
},
{ {
"id": "road_service_track_casing", "id": "road_service_track_casing",
"type": "line", "type": "line",
@ -2542,6 +2539,11 @@
">=", ">=",
"admin_level", "admin_level",
3 3
],
[
"<",
"admin_level",
5
] ]
], ],
"layout": { "layout": {
@ -2777,6 +2779,39 @@
} }
} }
}, },
{
"id": "railway_line",
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"all",
[
"in",
"subclass",
"rail",
"subway",
"light_rail"
],
[
"==",
"class",
"rail"
]
],
"paint": {
"line-width": 1,
"line-color": "rgba(188, 188, 188, 1)",
"line-offset": 0
},
"line-opacity": 1,
"minzoom": 5,
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
}
},
{ {
"id": "water_label", "id": "water_label",
"type": "symbol", "type": "symbol",
@ -2784,7 +2819,7 @@
"mapbox:group": "1444849320558.5054" "mapbox:group": "1444849320558.5054"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "water", "source-layer": "water_name",
"filter": [ "filter": [
"==", "==",
"$type", "$type",
@ -2794,7 +2829,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-size": 12 "text-size": 12
}, },
@ -2804,14 +2839,14 @@
} }
}, },
{ {
"id": "poi_label_r1", "id": "poi_label_r10+",
"type": "symbol", "type": "symbol",
"metadata": { "metadata": {
"mapbox:group": "1444849297111.495" "mapbox:group": "1444849297111.495"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "poi",
"minzoom": 14, "minzoom": 16,
"filter": [ "filter": [
"all", "all",
[ [
@ -2820,9 +2855,9 @@
"Point" "Point"
], ],
[ [
"==", ">=",
"rank", "rank",
1 10
] ]
], ],
"layout": { "layout": {
@ -2830,50 +2865,7 @@
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 100%)",
"text-halo-blur": 0.5,
"text-halo-width": 1
}
},
{
"id": "poi_label_r2",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
2
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name_en}",
"text-max-width": 9, "text-max-width": 9,
"text-padding": 2, "text-padding": 2,
"text-offset": [ "text-offset": [
@ -2921,7 +2913,7 @@
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9, "text-max-width": 9,
"text-padding": 2, "text-padding": 2,
"text-offset": [ "text-offset": [
@ -2937,6 +2929,94 @@
"text-halo-width": 1 "text-halo-width": 1
} }
}, },
{
"id": "poi_label_r2",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
2
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name:latin}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 100%)",
"text-halo-blur": 0.5,
"text-halo-width": 1
}
},
{
"id": "poi_label_r1",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 14,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
1
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name:latin}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 100%)",
"text-halo-blur": 0.5,
"text-halo-width": 1
}
},
{ {
"id": "rail_station_label", "id": "rail_station_label",
"type": "symbol", "type": "symbol",
@ -2945,9 +3025,10 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "poi",
"minzoom": 13,
"layout": { "layout": {
"text-size": 12, "text-size": 12,
"icon-image": "{class}-11", "icon-image": "rail-11",
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
@ -2958,7 +3039,7 @@
0.6 0.6
], ],
"text-anchor": "top", "text-anchor": "top",
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9 "text-max-width": 9
}, },
"paint": { "paint": {
@ -2972,88 +3053,10 @@
"==", "==",
"class", "class",
"railway" "railway"
] ]
] ]
}, },
{
"id": "poi_label_r10+",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 16,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
">=",
"rank",
10
],
[
"<",
"rank",
20
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name_en}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 100%)",
"text-halo-blur": 0.5,
"text-halo-width": 1
}
},
{
"id": "railway_line",
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"subclass",
"rail"
],
[
"==",
"class",
"rail"
]
],
"paint": {
"line-width": 1,
"line-color": "rgba(188, 188, 188, 1)",
"line-offset": 0
},
"line-opacity": 1,
"minzoom": 5,
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
}
},
{ {
"id": "airport_label", "id": "airport_label",
"type": "symbol", "type": "symbol",
@ -3061,7 +3064,7 @@
"mapbox:group": "1444849297111.495" "mapbox:group": "1444849297111.495"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "aerodome_label",
"minzoom": 11, "minzoom": 11,
"filter": [ "filter": [
"all", "all",
@ -3069,21 +3072,14 @@
"==", "==",
"$type", "$type",
"Point" "Point"
],
[
"in",
"rank",
1,
2,
3
] ]
], ],
"layout": { "layout": {
"icon-image": "{class}-11", "icon-image": "airport-11",
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9, "text-max-width": 9,
"text-padding": 2, "text-padding": 2,
"text-offset": [ "text-offset": [
@ -3107,13 +3103,18 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "transportation_name", "source-layer": "transportation_name",
"minzoom": 13,
"filter": [ "filter": [
"!=", "all",
"class", [
"ferry" "!in",
"class",
"ferry",
"path"
]
], ],
"layout": { "layout": {
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-font": [ "text-font": [
"Open Sans Regular" "Open Sans Regular"
], ],
@ -3139,18 +3140,26 @@
} }
}, },
{ {
"id": "road_label_highway_shield", "id": "road_motorway_shield",
"type": "symbol", "type": "symbol",
"metadata": { "metadata": {
"mapbox:group": "1456163609504.0715" "mapbox:group": "1456163609504.0715"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "transportation", "source-layer": "transportation_name",
"minzoom": 8, "minzoom": 8,
"filter": [ "filter": [
"<=", "all",
"reflen", [
6 "<=",
"ref_length",
4
],
[
"==",
"class",
"motorway"
]
], ],
"layout": { "layout": {
"text-field": "{ref}", "text-field": "{ref}",
@ -3158,7 +3167,7 @@
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-size": 11, "text-size": 11,
"icon-image": "motorway_{reflen}", "icon-image": "motorway_{ref_length}",
"symbol-placement": { "symbol-placement": {
"base": 1, "base": 1,
"stops": [ "stops": [
@ -3180,6 +3189,51 @@
"text-color": "#194A57" "text-color": "#194A57"
} }
}, },
{
"id": "road_shield",
"type": "symbol",
"metadata": {
"mapbox:group": "1456163609504.0715"
},
"source": "mapbox",
"source-layer": "transportation_name",
"minzoom": 12,
"filter": [
"all",
[
"<=",
"ref_length",
6
]
],
"layout": {
"text-field": "{ref}",
"text-font": [
"Open Sans Semibold"
],
"text-size": 11,
"icon-image": "motorway_{ref_length}",
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"visibility": "visible",
"symbol-spacing": 500,
"text-rotation-alignment": "viewport",
"icon-rotation-alignment": "viewport"
},
"paint": {},
"maxzoom": 24
},
{ {
"id": "place_label_other", "id": "place_label_other",
"type": "symbol", "type": "symbol",
@ -3188,9 +3242,10 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"minzoom": 10,
"filter": [ "filter": [
"in", "in",
"type", "class",
"hamlet", "hamlet",
"island", "island",
"islet", "islet",
@ -3203,7 +3258,7 @@
], ],
"text-transform": "uppercase", "text-transform": "uppercase",
"text-letter-spacing": 0.1, "text-letter-spacing": 0.1,
"text-field": "{name_en}", "text-field": "{name}",
"text-max-width": 9, "text-max-width": 9,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3234,14 +3289,14 @@
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "==",
"type", "class",
"village" "village"
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Regular" "Open Sans Regular"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 8, "text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3272,14 +3327,14 @@
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "==",
"type", "class",
"town" "town"
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Regular" "Open Sans Regular"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 8, "text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3310,14 +3365,14 @@
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "==",
"type", "class",
"city" "city"
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 8, "text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3363,7 +3418,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3410,7 +3465,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6, "text-max-width": 6,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "point", "symbol-placement": "point",
@ -3458,7 +3513,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3505,7 +3560,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "point", "symbol-placement": "point",
@ -3553,7 +3608,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3600,7 +3655,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "point", "symbol-placement": "point",
@ -3732,15 +3787,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
">=", "all",
"rank", [
4 ">=",
"rank",
4
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {
@ -3771,15 +3834,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "all",
"rank", [
3 "==",
"rank",
3
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {
@ -3810,15 +3881,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "all",
"rank", [
2 "==",
"rank",
2
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {
@ -3849,15 +3928,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "all",
"rank", [
1 "==",
"rank",
1
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {

View file

@ -84,6 +84,46 @@
"background-color": "hsl(30, 0%, 91%)" "background-color": "hsl(30, 0%, 91%)"
} }
}, },
{
"id": "landuse_prot_area",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "park",
"filter": [
"all",
[
"==",
"class",
"protected_area"
]
],
"paint": {
"fill-color": "#dddddd"
}
},
{
"id": "landuse_nat_park",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "park",
"filter": [
"all",
[
"==",
"class",
"national_park"
]
],
"paint": {
"fill-color": "#dddddd"
}
},
{ {
"id": "landuse_overlay_national_park", "id": "landuse_overlay_national_park",
"type": "fill", "type": "fill",
@ -104,25 +144,7 @@
} }
}, },
{ {
"id": "landuse_park", "id": "landuse_school",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "landcover",
"filter": [
"==",
"class",
"park"
],
"paint": {
"fill-color": "hsl(84, 0%, 77%)",
"fill-outline-color": "hsl(84, 0%, 77%)"
}
},
{
"id": "landuse_cemetery",
"type": "fill", "type": "fill",
"metadata": { "metadata": {
"mapbox:group": "1444849388993.3071" "mapbox:group": "1444849388993.3071"
@ -132,11 +154,31 @@
"filter": [ "filter": [
"==", "==",
"class", "class",
"cemetery" "school"
], ],
"paint": { "paint": {
"fill-color": "hsl(94, 0%, 88%)", "fill-color": "hsl(270,0%, 94%)",
"fill-outline-color": "hsl(94, 0%, 88%)" "fill-outline-color": "hsl(270, 0%, 94%)"
}
},
{
"id": "landuse_wood",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "landcover",
"filter": [
"in",
"class",
"wood",
"grass"
],
"paint": {
"fill-color": "hsl(100,0%, 47%)",
"fill-opacity": 0.2,
"fill-outline-color": "hsl(100, 0%, 47%)"
} }
}, },
{ {
@ -157,24 +199,6 @@
"fill-outline-color": "hsl(330, 0%, 94%)" "fill-outline-color": "hsl(330, 0%, 94%)"
} }
}, },
{
"id": "landuse_school",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "mapbox",
"source-layer": "landuse",
"filter": [
"==",
"class",
"school"
],
"paint": {
"fill-color": "hsl(270,0%, 94%)",
"fill-outline-color": "hsl(270, 0%, 94%)"
}
},
{ {
"id": "landuse_pitch", "id": "landuse_pitch",
"type": "fill", "type": "fill",
@ -197,22 +221,34 @@
} }
}, },
{ {
"id": "landuse_wood", "id": "landuse_cemetery",
"type": "fill", "type": "fill",
"metadata": { "metadata": {
"mapbox:group": "1444849388993.3071" "mapbox:group": "1444849388993.3071"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "landcover", "source-layer": "landuse",
"filter": [ "filter": [
"==", "==",
"class", "class",
"wood" "cemetery"
], ],
"paint": { "paint": {
"fill-color": "hsl(100,0%, 47%)", "fill-color": "hsl(94, 0%, 88%)",
"fill-opacity": 0.2, "fill-outline-color": "hsl(94, 0%, 88%)"
"fill-outline-color": "hsl(100, 0%, 47%)" }
},
{
"id": "water",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "mapbox",
"source-layer": "water",
"paint": {
"fill-color": "hsl(213, 0%, 82%)",
"fill-outline-color": "hsl(213, 0%, 82%)"
} }
}, },
{ {
@ -328,19 +364,6 @@
} }
} }
}, },
{
"id": "water",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "mapbox",
"source-layer": "water",
"paint": {
"fill-color": "hsl(213, 0%, 82%)",
"fill-outline-color": "hsl(213, 0%, 82%)"
}
},
{ {
"id": "aeroway_fill", "id": "aeroway_fill",
"type": "fill", "type": "fill",
@ -1252,8 +1275,25 @@
"mapbox:group": "1444849345966.4436" "mapbox:group": "1444849345966.4436"
}, },
"paint": { "paint": {
"line-color": "rgba(255, 255, 255, 1)", "line-color": "rgba(255, 255, 255, 1)",
"line-width": 2 "line-width": {
"base": 1.2,
"stops": [
[
12,
0
],
[
14,
2
],
[
20,
11.5
]
]
},
"line-opacity": 1
}, },
"type": "line", "type": "line",
"source": "mapbox", "source": "mapbox",
@ -2554,6 +2594,11 @@
">=", ">=",
"admin_level", "admin_level",
3 3
],
[
"<",
"admin_level",
5
] ]
], ],
"layout": { "layout": {
@ -2789,6 +2834,39 @@
} }
} }
}, },
{
"id": "railway_line",
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"any",
[
"in",
"subclass",
"rail",
"subway",
"light_rail"
],
[
"==",
"class",
"rail"
]
],
"paint": {
"line-width": 1,
"line-color": "rgba(188, 188, 188, 1)",
"line-offset": 0
},
"line-opacity": 1,
"minzoom": 5,
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
}
},
{ {
"id": "water_label", "id": "water_label",
"type": "symbol", "type": "symbol",
@ -2796,7 +2874,7 @@
"mapbox:group": "1444849320558.5054" "mapbox:group": "1444849320558.5054"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "water", "source-layer": "water_name",
"filter": [ "filter": [
"==", "==",
"$type", "$type",
@ -2806,7 +2884,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-size": 12 "text-size": 12
}, },
@ -2817,14 +2895,14 @@
} }
}, },
{ {
"id": "poi_label_r1", "id": "poi_label_r10+",
"type": "symbol", "type": "symbol",
"metadata": { "metadata": {
"mapbox:group": "1444849297111.495" "mapbox:group": "1444849297111.495"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "poi",
"minzoom": 14, "minzoom": 16,
"filter": [ "filter": [
"all", "all",
[ [
@ -2833,9 +2911,9 @@
"Point" "Point"
], ],
[ [
"==", ">=",
"rank", "rank",
1 10
] ]
], ],
"layout": { "layout": {
@ -2843,51 +2921,7 @@
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "poi_label_r2",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
2
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name_en}",
"text-max-width": 9, "text-max-width": 9,
"text-padding": 2, "text-padding": 2,
"text-offset": [ "text-offset": [
@ -2936,7 +2970,95 @@
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "poi_label_r2",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
2
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name:en}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "poi_label_r1",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 14,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
1
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name:en}",
"text-max-width": 9, "text-max-width": 9,
"text-padding": 2, "text-padding": 2,
"text-offset": [ "text-offset": [
@ -2961,9 +3083,10 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "poi",
"minzoom": 13,
"layout": { "layout": {
"text-size": 12, "text-size": 12,
"icon-image": "{class}-11", "icon-image": "rail-11",
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
@ -2974,7 +3097,7 @@
0.6 0.6
], ],
"text-anchor": "top", "text-anchor": "top",
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9 "text-max-width": 9
}, },
"paint": { "paint": {
@ -2989,88 +3112,8 @@
"==", "==",
"class", "class",
"railway" "railway"
]
]
},
{
"id": "poi_label_r10+",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849297111.495"
},
"source": "mapbox",
"source-layer": "poi",
"minzoom": 16,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
">=",
"rank",
10
],
[
"<",
"rank",
20
]
],
"layout": {
"icon-image": "{class}-11",
"text-font": [
"Open Sans Semibold"
],
"text-field": "{name_en}",
"text-max-width": 9,
"text-padding": 2,
"text-offset": [
0,
0.6
],
"text-anchor": "top",
"text-size": 12
},
"paint": {
"text-color": "hsl(0, 0%, 40%)",
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "railway_line",
"type": "line",
"source": "mapbox",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"subclass",
"rail"
],
[
"==",
"class",
"rail"
] ]
], ]
"paint": {
"line-width": 1,
"line-color": "rgba(188, 188, 188, 1)",
"line-offset": 0
},
"line-opacity": 1,
"minzoom": 5,
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
}
}, },
{ {
"id": "airport_label", "id": "airport_label",
@ -3079,7 +3122,7 @@
"mapbox:group": "1444849297111.495" "mapbox:group": "1444849297111.495"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "aerodome_label",
"minzoom": 11, "minzoom": 11,
"filter": [ "filter": [
"all", "all",
@ -3097,11 +3140,11 @@
] ]
], ],
"layout": { "layout": {
"icon-image": "{class}-11", "icon-image": "airport-11",
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-max-width": 9, "text-max-width": 9,
"text-padding": 2, "text-padding": 2,
"text-offset": [ "text-offset": [
@ -3126,13 +3169,18 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "transportation_name", "source-layer": "transportation_name",
"minzoom": 13,
"filter": [ "filter": [
"!=", "all",
"class", [
"ferry" "!in",
"class",
"ferry",
"path"
]
], ],
"layout": { "layout": {
"text-field": "{name_en}", "text-field": "{name:latin}",
"text-font": [ "text-font": [
"Open Sans Regular" "Open Sans Regular"
], ],
@ -3158,18 +3206,26 @@
} }
}, },
{ {
"id": "road_label_highway_shield", "id": "road_motorway_shield",
"type": "symbol", "type": "symbol",
"metadata": { "metadata": {
"mapbox:group": "1456163609504.0715" "mapbox:group": "1456163609504.0715"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "transportation", "source-layer": "transportation_name",
"minzoom": 8, "minzoom": 9,
"filter": [ "filter": [
"<=", "all",
"reflen", [
6 "<=",
"ref_length",
4
],
[
"==",
"class",
"motorway"
]
], ],
"layout": { "layout": {
"text-field": "{ref}", "text-field": "{ref}",
@ -3177,7 +3233,7 @@
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-size": 11, "text-size": 11,
"icon-image": "motorway_{reflen}", "icon-image": "motorway_{ref_length}",
"symbol-placement": { "symbol-placement": {
"base": 1, "base": 1,
"stops": [ "stops": [
@ -3197,6 +3253,51 @@
}, },
"paint": {} "paint": {}
}, },
{
"id": "road_shield",
"type": "symbol",
"metadata": {
"mapbox:group": "1456163609504.0715"
},
"source": "mapbox",
"source-layer": "transportation_name",
"minzoom": 12,
"filter": [
"all",
[
"<=",
"ref_length",
6
]
],
"layout": {
"text-field": "{ref}",
"text-font": [
"Open Sans Semibold"
],
"text-size": 11,
"icon-image": "motorway_{ref_length}",
"symbol-placement": {
"base": 1,
"stops": [
[
10,
"point"
],
[
11,
"line"
]
]
},
"visibility": "visible",
"symbol-spacing": 500,
"text-rotation-alignment": "viewport",
"icon-rotation-alignment": "viewport"
},
"paint": {},
"maxzoom": 24
},
{ {
"id": "place_label_other", "id": "place_label_other",
"type": "symbol", "type": "symbol",
@ -3205,9 +3306,10 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"minzoom": 10,
"filter": [ "filter": [
"in", "in",
"type", "class",
"hamlet", "hamlet",
"island", "island",
"islet", "islet",
@ -3220,7 +3322,7 @@
], ],
"text-transform": "uppercase", "text-transform": "uppercase",
"text-letter-spacing": 0.1, "text-letter-spacing": 0.1,
"text-field": "{name_en}", "text-field": "{name}",
"text-max-width": 9, "text-max-width": 9,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3252,14 +3354,14 @@
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "==",
"type", "class",
"village" "village"
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Regular" "Open Sans Regular"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 8, "text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3291,14 +3393,14 @@
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "==",
"type", "class",
"town" "town"
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Regular" "Open Sans Regular"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 8, "text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3330,14 +3432,14 @@
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "==",
"type", "class",
"city" "city"
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 8, "text-max-width": 8,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -3384,7 +3486,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3432,7 +3534,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6, "text-max-width": 6,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "point", "symbol-placement": "point",
@ -3481,7 +3583,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3529,7 +3631,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "point", "symbol-placement": "point",
@ -3578,7 +3680,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3626,7 +3728,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "point", "symbol-placement": "point",
@ -3675,7 +3777,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
"text-size": { "text-size": {
@ -3723,7 +3825,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"text-line-height": 1.6, "text-line-height": 1.6,
@ -3761,15 +3863,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
">=", "all",
"rank", [
4 ">=",
"rank",
4
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {
@ -3801,15 +3911,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "all",
"rank", [
3 "==",
"rank",
3
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {
@ -3841,15 +3959,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "all",
"rank", [
2 "==",
"rank",
2
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {
@ -3881,15 +4007,23 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"==", "all",
"rank", [
1 "==",
"rank",
1
],
[
"==",
"class",
"country"
]
], ],
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Bold" "Open Sans Bold"
], ],
"text-field": "{name_en}", "text-field": "{name:en}",
"text-max-width": 6.25, "text-max-width": 6.25,
"text-transform": "uppercase", "text-transform": "uppercase",
"text-size": { "text-size": {

File diff suppressed because it is too large Load diff

View file

@ -3349,7 +3349,7 @@
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name:latin}", "text-field": "{name:en}",
"text-max-width": 5, "text-max-width": 5,
"text-size": 12 "text-size": 12
}, },
@ -3367,7 +3367,7 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "poi", "source-layer": "poi",
"minzoom": 17, "minzoom": 16,
"filter": [ "filter": [
"all", "all",
[ [
@ -3766,6 +3766,7 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"minzoom": 10,
"filter": [ "filter": [
"in", "in",
"class", "class",
@ -3780,7 +3781,7 @@
"Open Sans Bold" "Open Sans Bold"
], ],
"text-letter-spacing": 0.1, "text-letter-spacing": 0.1,
"text-field": "{name:en}", "text-field": "{name}",
"text-max-width": 9, "text-max-width": 9,
"text-size": { "text-size": {
"base": 1.2, "base": 1.2,
@ -4320,6 +4321,7 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"minzoom": 2,
"filter": [ "filter": [
"all", "all",
[ [
@ -4368,6 +4370,7 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"minzoom": 2,
"filter": [ "filter": [
"all", "all",
[ [
@ -4416,6 +4419,7 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"minzoom": 2,
"filter": [ "filter": [
"all", "all",
[ [
@ -4464,6 +4468,7 @@
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"minzoom": 1,
"filter": [ "filter": [
"all", "all",
[ [