mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-25 17:43:57 +01:00
2192 lines
36 KiB
JSON
2192 lines
36 KiB
JSON
{
|
|
"name": "Bright",
|
|
"constants": {
|
|
"@background": "#000",
|
|
"@water": "#5f87ff",
|
|
|
|
"@building": "#99b",
|
|
"@housenum_label": "#88a",
|
|
|
|
"@country_label_1": "#ff0",
|
|
"@country_label_2": "#ff0",
|
|
"@country_label_3": "#ff0",
|
|
"@country_label_4": "#ff0",
|
|
|
|
"@admin_level_2": "#fff",
|
|
"@admin_level_3": "#aac",
|
|
"@admin_level_4": "#777",
|
|
|
|
"@poi_label_1": "#ff0",
|
|
"@poi_label_2": "#ee0",
|
|
"@poi_label_3": "#cc0",
|
|
"@poi_label_4": "#aa0",
|
|
|
|
"@place_label_city": "#f00",
|
|
"@place_label_town": "#d33",
|
|
"@place_label_village": "#c33",
|
|
"@place_label_other": "#b33"
|
|
},
|
|
"layers": [
|
|
{
|
|
"type": "background",
|
|
"id": "background",
|
|
"paint": {
|
|
"background-color": "@background"
|
|
}
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"id": "landuse_hospital",
|
|
"paint": {
|
|
"fill-color": "#fde"
|
|
},
|
|
"source-layer": "landuse",
|
|
"filter": [
|
|
"==",
|
|
"class",
|
|
"hospital"
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "waterway",
|
|
"paint": {
|
|
"line-color": "#303090",
|
|
"line-width": {
|
|
"base": 1.3,
|
|
"stops": [
|
|
[
|
|
13,
|
|
0.5
|
|
],
|
|
[
|
|
20,
|
|
2
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "waterway",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"!=",
|
|
"class",
|
|
"river"
|
|
],
|
|
[
|
|
"!=",
|
|
"class",
|
|
"stream"
|
|
],
|
|
[
|
|
"!=",
|
|
"class",
|
|
"canal"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "waterway_river",
|
|
"paint": {
|
|
"line-color": "#303090",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
11,
|
|
0.5
|
|
],
|
|
[
|
|
20,
|
|
6
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "waterway",
|
|
"filter": [
|
|
"==",
|
|
"class",
|
|
"river"
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "waterway_stream_canal",
|
|
"paint": {
|
|
"line-color": "#a0c8f0",
|
|
"line-width": {
|
|
"base": 1.3,
|
|
"stops": [
|
|
[
|
|
13,
|
|
0.5
|
|
],
|
|
[
|
|
20,
|
|
6
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "waterway",
|
|
"filter": [
|
|
"in",
|
|
"class",
|
|
"stream",
|
|
"canal"
|
|
]
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"id": "water",
|
|
"paint": {
|
|
"fill-color": "@water"
|
|
},
|
|
"source-layer": "water"
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"id": "aeroway_fill",
|
|
"paint": {
|
|
"fill-color": "#f0ede9"
|
|
},
|
|
"source-layer": "aeroway",
|
|
"filter": [
|
|
"==",
|
|
"$type",
|
|
"Polygon"
|
|
],
|
|
"minzoom": 11
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "aeroway_runway",
|
|
"paint": {
|
|
"line-color": "#f0ede9",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
11,
|
|
3
|
|
],
|
|
[
|
|
20,
|
|
16
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "aeroway",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
"==",
|
|
"type",
|
|
"runway"
|
|
]
|
|
],
|
|
"minzoom": 11
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "aeroway_taxiway",
|
|
"paint": {
|
|
"line-color": "#f0ede9",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
11,
|
|
0.5
|
|
],
|
|
[
|
|
20,
|
|
6
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "aeroway",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
"==",
|
|
"type",
|
|
"taxiway"
|
|
]
|
|
],
|
|
"minzoom": 11
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "building",
|
|
"paint": {
|
|
"line-color": "@building"
|
|
},
|
|
"source-layer": "building",
|
|
"minzoom": 14.5
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "tunnel_motorway_link_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
1
|
|
],
|
|
[
|
|
13,
|
|
3
|
|
],
|
|
[
|
|
14,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"tunnel"
|
|
],
|
|
[
|
|
"==",
|
|
"class",
|
|
"motorway_link"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "tunnel_service_track_casing",
|
|
"paint": {
|
|
"line-color": "#cfcdca",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
15,
|
|
1
|
|
],
|
|
[
|
|
16,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
11
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"tunnel"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"service",
|
|
"track"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "tunnel_link_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
1
|
|
],
|
|
[
|
|
13,
|
|
3
|
|
],
|
|
[
|
|
14,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"tunnel"
|
|
],
|
|
[
|
|
"==",
|
|
"class",
|
|
"link"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "tunnel_street_casing",
|
|
"paint": {
|
|
"line-color": "#cfcdca",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
0.5
|
|
],
|
|
[
|
|
13,
|
|
1
|
|
],
|
|
[
|
|
14,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"tunnel"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"street",
|
|
"street_limited"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "tunnel_secondary_tertiary_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
8,
|
|
1.5
|
|
],
|
|
[
|
|
20,
|
|
17
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"tunnel"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"secondary",
|
|
"tertiary"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "tunnel_trunk_primary_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
5,
|
|
0.4
|
|
],
|
|
[
|
|
6,
|
|
0.6
|
|
],
|
|
[
|
|
7,
|
|
1.5
|
|
],
|
|
[
|
|
20,
|
|
22
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"tunnel"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"trunk",
|
|
"primary"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "tunnel_motorway_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
5,
|
|
0.4
|
|
],
|
|
[
|
|
6,
|
|
0.6
|
|
],
|
|
[
|
|
7,
|
|
1.5
|
|
],
|
|
[
|
|
20,
|
|
22
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"tunnel"
|
|
],
|
|
[
|
|
"==",
|
|
"class",
|
|
"motorway"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "tunnel_path_pedestrian",
|
|
"paint": {
|
|
"line-color": "#cba",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
15,
|
|
1.2
|
|
],
|
|
[
|
|
20,
|
|
4
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"tunnel"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"path",
|
|
"pedestrian"
|
|
]
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "tunnel_major_rail",
|
|
"paint": {
|
|
"line-color": "#bbb",
|
|
"line-width": {
|
|
"base": 1.4,
|
|
"stops": [
|
|
[
|
|
14,
|
|
0.4
|
|
],
|
|
[
|
|
15,
|
|
0.75
|
|
],
|
|
[
|
|
20,
|
|
2
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"tunnel"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"major_rail",
|
|
"minor_rail"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "road_motorway_link_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
1
|
|
],
|
|
[
|
|
13,
|
|
3
|
|
],
|
|
[
|
|
14,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"class",
|
|
"motorway_link"
|
|
],
|
|
[
|
|
"!in",
|
|
"structure",
|
|
"bridge",
|
|
"tunnel"
|
|
]
|
|
],
|
|
"minzoom": 12
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "road_service_track_casing",
|
|
"paint": {
|
|
"line-color": "#cfcdca",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
15,
|
|
1
|
|
],
|
|
[
|
|
16,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
11
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"in",
|
|
"class",
|
|
"service",
|
|
"track"
|
|
],
|
|
[
|
|
"!in",
|
|
"structure",
|
|
"bridge",
|
|
"tunnel"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "road_link_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
1
|
|
],
|
|
[
|
|
13,
|
|
3
|
|
],
|
|
[
|
|
14,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"class",
|
|
"link"
|
|
],
|
|
[
|
|
"!in",
|
|
"structure",
|
|
"bridge",
|
|
"tunnel"
|
|
]
|
|
],
|
|
"minzoom": 13
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "road_street_casing",
|
|
"paint": {
|
|
"line-color": "#cfcdca",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
0.5
|
|
],
|
|
[
|
|
13,
|
|
1
|
|
],
|
|
[
|
|
14,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
"all",
|
|
[
|
|
"in",
|
|
"class",
|
|
"street",
|
|
"street_limited"
|
|
],
|
|
[
|
|
"!in",
|
|
"structure",
|
|
"bridge",
|
|
"tunnel"
|
|
]
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "road_secondary_tertiary_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
8,
|
|
1.5
|
|
],
|
|
[
|
|
20,
|
|
17
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"in",
|
|
"class",
|
|
"secondary",
|
|
"tertiary"
|
|
],
|
|
[
|
|
"!in",
|
|
"structure",
|
|
"bridge",
|
|
"tunnel"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "road_trunk_primary_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
5,
|
|
0.4
|
|
],
|
|
[
|
|
6,
|
|
0.6
|
|
],
|
|
[
|
|
7,
|
|
1.5
|
|
],
|
|
[
|
|
20,
|
|
22
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"in",
|
|
"class",
|
|
"trunk",
|
|
"primary"
|
|
],
|
|
[
|
|
"!in",
|
|
"structure",
|
|
"bridge",
|
|
"tunnel"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "road_motorway_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
5,
|
|
0.4
|
|
],
|
|
[
|
|
6,
|
|
0.6
|
|
],
|
|
[
|
|
7,
|
|
1.5
|
|
],
|
|
[
|
|
20,
|
|
22
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"class",
|
|
"motorway"
|
|
],
|
|
[
|
|
"!in",
|
|
"structure",
|
|
"bridge",
|
|
"tunnel"
|
|
]
|
|
],
|
|
"minzoom": 5
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "road_path_pedestrian",
|
|
"paint": {
|
|
"line-color": "#cba",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
15,
|
|
1.2
|
|
],
|
|
[
|
|
20,
|
|
4
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
"all",
|
|
[
|
|
"in",
|
|
"class",
|
|
"path",
|
|
"pedestrian"
|
|
],
|
|
[
|
|
"!in",
|
|
"structure",
|
|
"bridge",
|
|
"tunnel"
|
|
]
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "road_major_rail",
|
|
"paint": {
|
|
"line-color": "#bbb",
|
|
"line-width": {
|
|
"base": 1.4,
|
|
"stops": [
|
|
[
|
|
14,
|
|
0.4
|
|
],
|
|
[
|
|
15,
|
|
0.75
|
|
],
|
|
[
|
|
20,
|
|
2
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"class",
|
|
"major_rail"
|
|
],
|
|
[
|
|
"!in",
|
|
"structure",
|
|
"bridge",
|
|
"tunnel"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "bridge_motorway_link_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
1
|
|
],
|
|
[
|
|
13,
|
|
3
|
|
],
|
|
[
|
|
14,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"bridge"
|
|
],
|
|
[
|
|
"==",
|
|
"class",
|
|
"motorway_link"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "bridge_service_track_casing",
|
|
"paint": {
|
|
"line-color": "#cfcdca",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
15,
|
|
1
|
|
],
|
|
[
|
|
16,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
11
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"bridge"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"service",
|
|
"track"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "bridge_link_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
1
|
|
],
|
|
[
|
|
13,
|
|
3
|
|
],
|
|
[
|
|
14,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"bridge"
|
|
],
|
|
[
|
|
"==",
|
|
"class",
|
|
"link"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "bridge_street_casing",
|
|
"paint": {
|
|
"line-color": "#cfcdca",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
0.5
|
|
],
|
|
[
|
|
13,
|
|
1
|
|
],
|
|
[
|
|
14,
|
|
4
|
|
],
|
|
[
|
|
20,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"bridge"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"street",
|
|
"street_limited"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "bridge_secondary_tertiary_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
8,
|
|
1.5
|
|
],
|
|
[
|
|
20,
|
|
17
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"bridge"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"secondary",
|
|
"tertiary"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "bridge_trunk_primary_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
5,
|
|
0.4
|
|
],
|
|
[
|
|
6,
|
|
0.6
|
|
],
|
|
[
|
|
7,
|
|
1.5
|
|
],
|
|
[
|
|
20,
|
|
22
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"bridge"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"trunk",
|
|
"primary"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "bridge_motorway_casing",
|
|
"paint": {
|
|
"line-color": "#e9ac77",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
5,
|
|
0.4
|
|
],
|
|
[
|
|
6,
|
|
0.6
|
|
],
|
|
[
|
|
7,
|
|
1.5
|
|
],
|
|
[
|
|
20,
|
|
22
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"bridge"
|
|
],
|
|
[
|
|
"==",
|
|
"class",
|
|
"motorway"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "bridge_path_pedestrian",
|
|
"paint": {
|
|
"line-color": "#cba",
|
|
"line-width": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
15,
|
|
1.2
|
|
],
|
|
[
|
|
20,
|
|
4
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"bridge"
|
|
],
|
|
[
|
|
"in",
|
|
"class",
|
|
"path",
|
|
"pedestrian"
|
|
]
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "bridge_major_rail",
|
|
"paint": {
|
|
"line-color": "#bbb",
|
|
"line-width": {
|
|
"base": 1.4,
|
|
"stops": [
|
|
[
|
|
14,
|
|
0.4
|
|
],
|
|
[
|
|
15,
|
|
0.75
|
|
],
|
|
[
|
|
20,
|
|
2
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "road",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"structure",
|
|
"bridge"
|
|
],
|
|
[
|
|
"==",
|
|
"class",
|
|
"major_rail"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "admin_level_4",
|
|
"paint": {
|
|
"line-color": "@admin_level_4",
|
|
"line-width": 1
|
|
},
|
|
"source-layer": "admin",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
">=",
|
|
"admin_level",
|
|
4
|
|
],
|
|
[
|
|
"==",
|
|
"maritime",
|
|
0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "admin_level_3",
|
|
"paint": {
|
|
"line-color": "@admin_level_3",
|
|
"line-width": 1
|
|
},
|
|
"source-layer": "admin",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"admin_level",
|
|
3
|
|
],
|
|
[
|
|
"==",
|
|
"maritime",
|
|
0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "admin_level_2",
|
|
"paint": {
|
|
"line-color": "@admin_level_2",
|
|
"line-width": {
|
|
"base": 1,
|
|
"stops": [
|
|
[
|
|
4,
|
|
1.4
|
|
],
|
|
[
|
|
5,
|
|
2
|
|
],
|
|
[
|
|
12,
|
|
8
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "admin",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"admin_level",
|
|
2
|
|
],
|
|
[
|
|
"==",
|
|
"disputed",
|
|
0
|
|
],
|
|
[
|
|
"==",
|
|
"maritime",
|
|
0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"id": "admin_level_2_disputed",
|
|
"paint": {
|
|
"line-color": "#9e9cab",
|
|
"line-width": {
|
|
"base": 1,
|
|
"stops": [
|
|
[
|
|
4,
|
|
1.4
|
|
],
|
|
[
|
|
5,
|
|
2
|
|
],
|
|
[
|
|
12,
|
|
8
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"source-layer": "admin",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"admin_level",
|
|
2
|
|
],
|
|
[
|
|
"==",
|
|
"disputed",
|
|
1
|
|
],
|
|
[
|
|
"==",
|
|
"maritime",
|
|
0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "water_label",
|
|
"paint": {
|
|
"text-color": "#74aee9"
|
|
},
|
|
"source-layer": "water_label",
|
|
"filter": [
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
"layout": {
|
|
"text-size": 12
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "poi_label_4",
|
|
"paint": {
|
|
"text-color": "@poi_label_4"
|
|
},
|
|
"source-layer": "poi_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
[
|
|
"==",
|
|
"scalerank",
|
|
4
|
|
]
|
|
],
|
|
"minzoom": 16,
|
|
"layout": {
|
|
"text-size": 12
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "poi_label_3",
|
|
"paint": {
|
|
"text-color": "@poi_label_3"
|
|
},
|
|
"source-layer": "poi_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
[
|
|
"==",
|
|
"scalerank",
|
|
3
|
|
]
|
|
],
|
|
"minzoom": 15,
|
|
"layout": {
|
|
"text-size": 12
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "poi_label_2",
|
|
"paint": {
|
|
"text-color": "@poi_label_2"
|
|
},
|
|
"source-layer": "poi_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
[
|
|
"==",
|
|
"scalerank",
|
|
2
|
|
]
|
|
],
|
|
"minzoom": 14,
|
|
"layout": {
|
|
"text-size": 12
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "rail_station_label",
|
|
"paint": {
|
|
"text-color": "#666"
|
|
},
|
|
"source-layer": "rail_station_label",
|
|
"layout": {
|
|
"text-size": 12
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "poi_label_1",
|
|
"paint": {
|
|
"text-color": "@poi_label_1"
|
|
},
|
|
"source-layer": "poi_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
[
|
|
"==",
|
|
"scalerank",
|
|
1
|
|
]
|
|
],
|
|
"minzoom": 13,
|
|
"layout": {
|
|
"text-size": 12
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "airport_label",
|
|
"paint": {
|
|
"text-color": "#666"
|
|
},
|
|
"source-layer": "airport_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
[
|
|
"in",
|
|
"scalerank",
|
|
1,
|
|
2,
|
|
3
|
|
]
|
|
],
|
|
"minzoom": 11,
|
|
"layout": {
|
|
"text-size": 12
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "road_label",
|
|
"paint": {
|
|
"text-color": "#765"
|
|
},
|
|
"source-layer": "road_label",
|
|
"filter": [
|
|
"!=",
|
|
"class",
|
|
"ferry"
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"base": 1,
|
|
"stops": [
|
|
[
|
|
13,
|
|
12
|
|
],
|
|
[
|
|
14,
|
|
13
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "housenum_label",
|
|
"paint": {
|
|
"text-color": "@housenum_label"
|
|
},
|
|
"minzoom": 16.5,
|
|
"source-layer": "housenum_label"
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "place_label_other",
|
|
"paint": {
|
|
"text-color": "@place_label_other"
|
|
},
|
|
"source-layer": "place_label",
|
|
"filter": [
|
|
"in",
|
|
"type",
|
|
"hamlet",
|
|
"suburb",
|
|
"neighbourhood",
|
|
"island",
|
|
"islet"
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
12,
|
|
10
|
|
],
|
|
[
|
|
15,
|
|
14
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "place_label_village",
|
|
"paint": {
|
|
"text-color": "@place_label_village"
|
|
},
|
|
"source-layer": "place_label",
|
|
"filter": [
|
|
"==",
|
|
"type",
|
|
"village"
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
10,
|
|
12
|
|
],
|
|
[
|
|
15,
|
|
22
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "place_label_town",
|
|
"paint": {
|
|
"text-color": "@place_label_town"
|
|
},
|
|
"source-layer": "place_label",
|
|
"filter": [
|
|
"==",
|
|
"type",
|
|
"town"
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
10,
|
|
14
|
|
],
|
|
[
|
|
15,
|
|
24
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "place_label_city",
|
|
"paint": {
|
|
"text-color": "@place_label_city"
|
|
},
|
|
"source-layer": "place_label",
|
|
"filter": [
|
|
"==",
|
|
"type",
|
|
"city"
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"base": 1.2,
|
|
"stops": [
|
|
[
|
|
7,
|
|
14
|
|
],
|
|
[
|
|
11,
|
|
24
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "marine_label_line_4",
|
|
"paint": {
|
|
"text-color": "#74aee9"
|
|
},
|
|
"source-layer": "marine_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
">=",
|
|
"labelrank",
|
|
4
|
|
]
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
3,
|
|
11
|
|
],
|
|
[
|
|
4,
|
|
12
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "marine_label_4",
|
|
"paint": {
|
|
"text-color": "#74aee9"
|
|
},
|
|
"source-layer": "marine_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
[
|
|
">=",
|
|
"labelrank",
|
|
4
|
|
]
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
3,
|
|
11
|
|
],
|
|
[
|
|
4,
|
|
12
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "marine_label_line_3",
|
|
"paint": {
|
|
"text-color": "#74aee9"
|
|
},
|
|
"source-layer": "marine_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
"==",
|
|
"labelrank",
|
|
3
|
|
]
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
3,
|
|
11
|
|
],
|
|
[
|
|
4,
|
|
14
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "marine_label_point_3",
|
|
"paint": {
|
|
"text-color": "#74aee9"
|
|
},
|
|
"source-layer": "marine_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
[
|
|
"==",
|
|
"labelrank",
|
|
3
|
|
]
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
3,
|
|
11
|
|
],
|
|
[
|
|
4,
|
|
14
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "marine_label_line_2",
|
|
"paint": {
|
|
"text-color": "#74aee9"
|
|
},
|
|
"source-layer": "marine_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
"==",
|
|
"labelrank",
|
|
2
|
|
]
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
3,
|
|
14
|
|
],
|
|
[
|
|
4,
|
|
16
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "marine_label_point_2",
|
|
"paint": {
|
|
"text-color": "#74aee9"
|
|
},
|
|
"source-layer": "marine_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
[
|
|
"==",
|
|
"labelrank",
|
|
2
|
|
]
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
3,
|
|
14
|
|
],
|
|
[
|
|
4,
|
|
16
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "marine_label_line_1",
|
|
"paint": {
|
|
"text-color": "#74aee9"
|
|
},
|
|
"source-layer": "marine_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"LineString"
|
|
],
|
|
[
|
|
"==",
|
|
"labelrank",
|
|
1
|
|
]
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
3,
|
|
18
|
|
],
|
|
[
|
|
4,
|
|
22
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "marine_label_point_1",
|
|
"paint": {
|
|
"text-color": "#74aee9"
|
|
},
|
|
"source-layer": "marine_label",
|
|
"filter": [
|
|
"all",
|
|
[
|
|
"==",
|
|
"$type",
|
|
"Point"
|
|
],
|
|
[
|
|
"==",
|
|
"labelrank",
|
|
1
|
|
]
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
3,
|
|
18
|
|
],
|
|
[
|
|
4,
|
|
22
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "country_label_4",
|
|
"paint": {
|
|
"text-color": "@country_label_4"
|
|
},
|
|
"source-layer": "country_label",
|
|
"filter": [
|
|
">=",
|
|
"scalerank",
|
|
4
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
4,
|
|
11
|
|
],
|
|
[
|
|
6,
|
|
15
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "country_label_3",
|
|
"paint": {
|
|
"text-color": "@country_label_3"
|
|
},
|
|
"source-layer": "country_label",
|
|
"filter": [
|
|
"==",
|
|
"scalerank",
|
|
3
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
3,
|
|
11
|
|
],
|
|
[
|
|
7,
|
|
17
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "country_label_2",
|
|
"paint": {
|
|
"text-color": "@country_label_2"
|
|
},
|
|
"source-layer": "country_label",
|
|
"filter": [
|
|
"==",
|
|
"scalerank",
|
|
2
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
2,
|
|
11
|
|
],
|
|
[
|
|
5,
|
|
17
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "symbol",
|
|
"id": "country_label_1",
|
|
"paint": {
|
|
"text-color": "@country_label_1"
|
|
},
|
|
"source-layer": "country_label",
|
|
"filter": [
|
|
"==",
|
|
"scalerank",
|
|
1
|
|
],
|
|
"layout": {
|
|
"text-size": {
|
|
"stops": [
|
|
[
|
|
1,
|
|
11
|
|
],
|
|
[
|
|
4,
|
|
17
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|