ts/public/style.json
2025-02-11 10:56:16 +08:00

6754 lines
158 KiB
JSON

{
"version": 8,
"name": "OSM OpenMapTiles",
"metadata": { "maputnik:renderer": "mbgljs" },
"center": [0, 0],
"zoom": 1,
"bearing": 0,
"pitch": 0,
"sources": {
"openmaptiles": {
"type": "vector",
"scheme": "tms",
"tiles": ["http://localhost:8080/tmp/pbfReq/{z}/{x}/{y}.pbf"]
}
},
"sprite": "http://219.238.106.206:9310/tileStyles/sprite",
"glyphs": "http://219.238.106.206:9310/tileStyles/fonts/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"layout": { "visibility": "visible" },
"paint": { "background-color": "rgba(60, 62, 78, 1)" }
},
{
"id": "buildings",
"source": "openmaptiles",
"source-layer": "building",
"type": "fill",
"paint": {
"fill-color": "#dfdcd7",
"fill-opacity": 1
}
},
{
"id": "administrative",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "administrative",
"layout": { "visibility": "visible" },
"paint": {
"fill-color": "#f00"
}
},
{
"id": "administrative1",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "administrative",
"layout": {
"visibility": "visible",
"text-field": "{name:latin}\n{name:nonlatin}"
},
"paint": {
"text-color": "#000000"
}
},
{
"id": "landuse_classes",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 7,
"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"]
],
"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
}
},
{
"id": "landuse_residential",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 6,
"maxzoom": 24,
"filter": [
"all",
["in", "class", "residential", "suburbs", "neighbourhood"]
],
"layout": { "visibility": "visible" },
"paint": {
"fill-color": {
"stops": [
[7, "#d0d0d0"],
[11, "#dddddd"],
[12, "#e0dfdf"]
]
}
}
},
{
"id": "aeroway_fill",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 11,
"filter": ["==", "$type", "Polygon"],
"layout": { "visibility": "visible" },
"paint": {
"fill-color": {
"stops": [
[6, "rgba(223, 223, 228, 1)"],
[12, "rgba(232, 231, 223, 1)"]
]
},
"fill-opacity": 1
}
},
{
"id": "landcover_classes",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landcover",
"maxzoom": 13,
"filter": [
"all",
["in", "class", "farmland", "wood", "rock", "grass", "wetland", "sand"]
],
"layout": { "visibility": "visible" },
"paint": {
"fill-color": [
"match",
["get", "class"],
"farmland",
"#eef0d5",
"wood",
"#add19e",
"rock",
"#eee5dc",
"grass",
"#cdebb0",
"sand",
"#f5e9c6",
"wetland",
"#add19e",
"#000"
],
"fill-opacity": {
"stops": [
[7, 0.5],
[10, 1]
]
},
"fill-antialias": false
}
},
{
"id": "landcover_class_outline",
"type": "line",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": ["all", ["in", "class", "farmland"]],
"layout": { "visibility": "visible" },
"paint": { "line-color": "#c7c9ae", "line-width": 0.5 }
},
{
"id": "landcover_park",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"minzoom": 13,
"filter": ["all", ["==", "subclass", "park"]],
"layout": { "visibility": "visible" },
"paint": { "fill-color": "#c8facc", "fill-antialias": true }
},
{
"id": "landcover_subclasses",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"minzoom": 13,
"filter": [
"all",
[
"in",
"subclass",
"allotments",
"bare_rock",
"beach",
"dune",
"scrub",
"farm",
"farmland",
"forest",
"garden",
"grass",
"grassland",
"golf_course",
"heath",
"meadow",
"orchard",
"plant_nursery",
"recreation_ground",
"reedbed",
"saltmarsh",
"sand",
"scree",
"swamp",
"tidalflat",
"tundra",
"village_green",
"vineyard",
"wet_meadow",
"wetland",
"wood"
]
],
"layout": { "visibility": "visible" },
"paint": {
"fill-color": [
"match",
["get", "subclass"],
"allotments",
"#c9e1bf",
"bare_rock",
"#eee5dc",
"beach",
"#fff1ba",
"bog",
"#d6d99f",
"dune",
"#f5e9c6",
"scrub",
"#c8d7ab",
"farm",
"#f5dcba",
"farmland",
"#eef0d5",
"forest",
"#add19e",
"grass",
"#cdebb0",
"grassland",
"#cdebb0",
"golf_course",
"#def6c0",
"heath",
"#d6d99f",
"mangrove",
"#c8d7ab",
"meadow",
"#cdebb0",
"orchard",
"#aedfa3",
"park",
"#c8facc",
"garden",
"#cdebb0",
"plant_nursery",
"#aedfa3",
"recreation_ground",
"#d5ffd9",
"reedbed",
"#cdebb0",
"saltmarsh",
"#cdebb0",
"sand",
"#f5e9c6",
"scree",
"#eee5dc",
"swamp",
"#add19e",
"tidalflat",
"#DED6CF",
"village_green",
"#cdebb0",
"vineyard",
"#aedfa3",
"wet_meadow",
"#cdebb0",
"wetland",
"#add19e",
"wood",
"#add19e",
"marsh",
"#ff0",
"#FFFFFF"
],
"fill-antialias": true
}
},
{
"id": "landcover_subclass_patterns",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landcover",
"minzoom": 13,
"filter": [
"all",
[
"in",
"subclass",
"allotments",
"bare_rock",
"beach",
"bog",
"dune",
"scrub",
"farm",
"farmland",
"forest",
"garden",
"grass",
"grassland",
"golf_course",
"heath",
"mangrove",
"marsh",
"meadow",
"orchard",
"park",
"plant_nursery",
"recreation_ground",
"reedbed",
"saltern",
"saltmarsh",
"sand",
"scree",
"swamp",
"village_green",
"vineyard",
"wet_meadow",
"wetland",
"wood"
]
],
"layout": { "visibility": "visible" },
"paint": {
"fill-opacity": [
"match",
["get", "subclass"],
"beach",
0.4,
"forest",
0.4,
"bare_rock",
0.3,
"scrub",
0.6,
"garden",
0.6,
"scree",
0.3,
"wood",
0.4,
1
]
}
},
{
"id": "landcover_subclass_outline",
"type": "line",
"source": "openmaptiles",
"source-layer": "landcover",
"minzoom": 15,
"filter": [
"all",
[
"in",
"subclass",
"allotments",
"farm",
"farmland",
"recreation_ground"
]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": [
"match",
["get", "subclass"],
"allotments",
"#B1C6A8",
"farm",
"#d1b48c",
"farmland",
"#c7c9ae",
"recreation_ground",
"#3c6640",
"#000"
],
"line-width": [
"match",
["get", "subclass"],
"recreation_ground",
0.3,
0.5
],
"line-opacity": 1
}
},
{
"id": "landcover_ice",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landcover",
"minzoom": 5,
"filter": ["all", ["in", "class", "ice"]],
"paint": { "fill-color": "#ddecec", "fill-antialias": false }
},
{
"id": "landcover_ice_outline",
"type": "line",
"source": "openmaptiles",
"source-layer": "landcover",
"minzoom": 5,
"filter": ["all", ["in", "class", "ice"]],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "#9cf",
"line-width": {
"stops": [
[5, 1],
[10, 1.5]
]
},
"line-dasharray": {
"stops": [
[5, [1, 0]],
[10, [4, 2]]
]
}
}
},
{
"id": "waterway_tunnel",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"minzoom": 14,
"filter": ["all", ["==", "brunnel", "tunnel"]],
"layout": { "line-cap": "round", "visibility": "visible" },
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[13, 0.5],
[20, 6]
]
},
"line-dasharray": [2, 4]
}
},
{
"id": "waterway_river",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"all",
["==", "class", "river"],
["!=", "brunnel", "tunnel"],
["!=", "intermittent", 1]
],
"layout": { "line-cap": "round", "visibility": "visible" },
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.2,
"stops": [
[11, 0.5],
[20, 6]
]
}
}
},
{
"id": "waterway_river_intermittent",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"all",
["==", "class", "river"],
["!=", "brunnel", "tunnel"],
["==", "intermittent", 1]
],
"layout": { "line-cap": "round" },
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.2,
"stops": [
[11, 0.5],
[20, 6]
]
},
"line-dasharray": [3, 2]
}
},
{
"id": "waterway_other",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"all",
["!=", "class", "river"],
["!=", "brunnel", "tunnel"],
["!=", "intermittent", 1]
],
"layout": { "line-cap": "round", "visibility": "visible" },
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[13, 0.5],
[20, 6]
]
}
}
},
{
"id": "waterway_other_intermittent",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"all",
["!=", "class", "river"],
["!=", "brunnel", "tunnel"],
["==", "intermittent", 1]
],
"layout": { "line-cap": "round", "visibility": "visible" },
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[13, 0.5],
[20, 6]
]
},
"line-dasharray": [4, 3]
}
},
{
"id": "water_intermittent",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "water",
"filter": ["all", ["==", "intermittent", 1]],
"layout": { "visibility": "visible" },
"paint": { "fill-color": "rgba(172, 218, 251, 1)", "fill-opacity": 0.85 }
},
{
"id": "water",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "water",
"filter": ["all", ["!=", "intermittent", 1], ["!=", "brunnel", "tunnel"]],
"layout": { "visibility": "visible" },
"paint": { "fill-color": "#aad3df", "fill-translate-anchor": "map" }
},
{
"id": "building",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "building",
"minzoom": 12,
"maxzoom": 24,
"layout": { "visibility": "visible" },
"paint": {
"fill-color": {
"stops": [
[13, "rgba(222, 213, 207, 1)"],
[16, "#d9d0c9"]
]
},
"fill-outline-color": {
"base": 1,
"stops": [
[13, "#9A918A"],
[16, "rgba(166, 157, 150, 1)"]
]
}
}
},
{
"id": "national_parks",
"type": "line",
"source": "openmaptiles",
"source-layer": "park",
"minzoom": 8,
"layout": { "visibility": "visible" },
"paint": {
"line-color": "rgba(154, 199, 136, 1)",
"line-width": {
"base": 1,
"stops": [
[8, 1.2],
[9, 1.5],
[10, 3.6],
[24, 3.6]
]
},
"line-offset": 1,
"line-opacity": 0.8
}
},
{
"id": "national_parks_thin",
"type": "line",
"source": "openmaptiles",
"source-layer": "park",
"minzoom": 10,
"layout": { "visibility": "none" },
"paint": { "line-color": "rgba(93, 156, 76, 1)", "line-width": 1.5 }
},
{
"id": "aeroway_runway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "class", "runway"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "rgba(178, 181, 209, 1)",
"line-width": {
"base": 1.2,
"stops": [
[11, 3],
[20, 48]
]
},
"line-opacity": 1
}
},
{
"id": "aeroway_taxiway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "class", "taxiway"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "rgba(178, 181, 209, 1)",
"line-width": {
"base": 1.2,
"stops": [
[11, 1],
[20, 24]
]
},
"line-opacity": 1
}
},
{
"id": "ferry",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 4,
"filter": ["all", ["in", "class", "ferry"]],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#66f",
"line-width": {
"stops": [
[10, 0.5],
[14, 1.1]
]
},
"line-dasharray": [6, 6]
}
},
{
"id": "landuse_class_pattern",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landuse",
"filter": ["all", ["in", "class", "military", "cemetery"]],
"layout": { "visibility": "visible" },
"paint": { "fill-color": "#000000", "fill-opacity": 1 }
},
{
"id": "landuse_class_outline",
"type": "line",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 13,
"filter": [
"all",
[
"in",
"class",
"railway",
"military",
"residential",
"commercial",
"industrial",
"retail",
"school",
"university",
"kindergarten",
"college",
"hospital",
"stadium",
"pitch",
"playground",
"track",
"theme_park",
"zoo",
"dam"
]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": [
"match",
["get", "class"],
"railway",
"#c6b3c3",
"military",
"#ff5555",
"residential",
"#b9b9b9",
"commercial",
"#f2dad9",
"industrial",
"#c6b3c3",
"retail",
"#d99c95",
"school",
"#A6A68C",
"university",
"#A6A68C",
"kindergarten",
"#A6A68C",
"college",
"#A6A68C",
"hospital",
"#A6A68C",
"stadium",
"#7ca680",
"pitch",
"#7aaa97",
"playground",
"#3c6640",
"track",
"#7aaa96",
"theme_park",
"#660033",
"zoo",
"#660033",
"dam",
"#444444",
"#000"
],
"line-width": [
"match",
["get", "class"],
"railway",
0.7,
"military",
2,
"residential",
0.5,
"commercial",
0.5,
"industrial",
0.5,
"retail",
0.5,
"school",
0.3,
"university",
0.3,
"kindergarten",
0.3,
"college",
0.3,
"hospital",
0.3,
"stadium",
0.3,
"pitch",
0.5,
"playground",
0.3,
"track",
0.5,
"theme_park",
1,
"zoo",
1,
"dam",
2,
1
],
"line-offset": ["match", ["get", "class"], "military", 1, 0],
"line-opacity": ["match", ["get", "class"], "military", 0.24, 1]
}
},
{
"id": "landuse_class_themepark",
"type": "line",
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 13,
"filter": ["all", ["in", "class", "theme_park", "zoo"]],
"layout": {
"line-cap": "square",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#660033",
"line-width": {
"stops": [
[9, 3.5],
[14, 5.5]
]
},
"line-offset": 2,
"line-opacity": {
"stops": [
[9, 0.1],
[12, 0.3]
]
}
}
},
{
"id": "tunnel_motorway_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["==", "class", "motorway_link"],
["==", "ramp", 1],
["==", "brunnel", "tunnel"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[11, "#c24e6b"],
[12, "#dc2a67"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 1.5],
[12, 4],
[14, 7.8],
[16, 12],
[17, 13],
[18, 16],
[19, 17]
]
}
}
},
{
"id": "tunnel_service_track_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "service", "track"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#cfcdca",
"line-width": {
"base": 1.2,
"stops": [
[15, 1],
[16, 4],
[20, 11]
]
},
"line-dasharray": [0.5, 0.25]
}
},
{
"id": "tunnel_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "ramp", "1"],
["==", "brunnel", "tunnel"],
[">", "layer", 0]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [
[12, 1],
[13, 3],
[14, 4],
[20, 15]
]
},
"line-opacity": 1
}
},
{
"id": "tunnel_street_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "street", "street_limited"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#cfcdca",
"line-width": {
"base": 1.2,
"stops": [
[12, 0.5],
[13, 1],
[14, 4],
[20, 15]
]
},
"line-opacity": {
"stops": [
[12, 0],
[12.5, 1]
]
}
}
},
{
"id": "tunnel_tertiary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "tertiary"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#8f8f8f",
"line-width": {
"base": 1.2,
"stops": [
[11, 2.5],
[12, 5],
[13, 5],
[14, 9],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-opacity": 1,
"line-dasharray": [0.5, 0.25]
}
},
{
"id": "tunnel_secondary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "secondary"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#707d05",
"line-width": {
"base": 1.2,
"stops": [
[11, 3.5],
[12, 5],
[13, 5],
[14, 9],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-opacity": 1,
"line-dasharray": [0.5, 0.25]
}
},
{
"id": "tunnel_trunk_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "trunk"]],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[11, "#cf6649"],
[12, "#c84e2f"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 3.5],
[12, 6],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-dasharray": [0.5, 0.25]
}
},
{
"id": "tunnel_trunk_construction_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "trunk_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "rgba(255, 255, 255, 1)",
"line-width": {
"base": 1.2,
"stops": [
[11, 3.5],
[12, 6],
[15, 10],
[16, 18],
[17, 21],
[18, 25]
]
},
"line-dasharray": [1, 0]
}
},
{
"id": "tunnel_primary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "primary"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[6, "#a06b00"],
[10, "rgba(160, 116, 0, 1)"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 3.5],
[12, 6],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-dasharray": [0.5, 0.25]
}
},
{
"id": "tunnel_motorway_construction_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway_construction"],
["==", "brunnel", "tunnel"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[6, "#dc2a67"],
[10, "#c24e6b"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1.75],
[18, 27]
]
},
"line-dasharray": [0.5, 0.25]
}
},
{
"id": "tunnel_motorway_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway"],
["==", "brunnel", "tunnel"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[6, "#dc2a67"],
[10, "#c24e6b"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1.75],
[18, 27]
]
},
"line-dasharray": [0.5, 0.25]
}
},
{
"id": "tunnel_path_casing_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "tunnel"],
["==", "class", "path"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "rgba(50, 50, 50, 1)",
"line-width": {
"base": 1.2,
"stops": [
[13, 3.7],
[14, 4],
[15, 4.3],
[17, 4.3],
[18, 4.6]
]
},
"line-dasharray": [1, 0.5]
}
},
{
"id": "tunnel_path_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "tunnel"],
["==", "class", "path"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "rgba(255, 255, 255, 1)",
"line-width": {
"base": 1.2,
"stops": [
[13, 2.7],
[14, 3],
[15, 3.3],
[17, 3.3],
[18, 3.6]
]
},
"line-dasharray": [1, 0]
}
},
{
"id": "tunnel_path_cycleway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "tunnel"],
["in", "class", "path"],
["any", ["==", "subclass", "cycleway"], ["==", "bicycle", "designated"]]
],
"paint": {
"line-color": "#0000ff",
"line-width": {
"base": 1.2,
"stops": [
[13, 0.8],
[14, 1],
[15, 1.3],
[17, 1.3],
[18, 1.6]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_path_bridleway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "tunnel"],
["in", "class", "path"],
["any", ["==", "subclass", "bridleway"], ["==", "horse", "designated"]],
["!=", "bicycle", "designated"]
],
"paint": {
"line-color": "#008000",
"line-width": {
"base": 1.2,
"stops": [
[13, 0.8],
[14, 1],
[15, 1.3],
[17, 1.3],
[18, 1.6]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_path_footway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "tunnel"],
["in", "class", "path"],
["in", "subclass", "footway", "path"],
["!=", "bicycle", "designated"],
["!=", "horse", "designated"]
],
"paint": {
"line-color": "#fa8072",
"line-width": {
"base": 1.2,
"stops": [
[13, 0.8],
[14, 1],
[15, 1.3],
[17, 1.3],
[18, 1.6]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_motorway_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 8,
"filter": [
"all",
["==", "class", "motorway"],
["==", "ramp", 1],
["==", "brunnel", "tunnel"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#f1bcc6",
"line-width": {
"base": 1.2,
"stops": [
[8, 0.7],
[11, 0.9],
[12, 3],
[14, 6.6],
[16, 10.4],
[17, 11.4],
[18, 14.4],
[19, 15.4]
]
},
"line-opacity": 1,
"line-dasharray": [0.5, 0.25]
}
},
{
"id": "tunnel_service_track",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 15,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "service", "track"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#f2f2f2",
"line-width": {
"base": 1.2,
"stops": [
[15, 0.8],
[16, 1.9],
[17, 3.1],
[18, 3.9],
[19, 6.9]
]
}
}
},
{
"id": "tunnel_service_track_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 15,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "service_construction", "track_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[15, 0.8],
[16, 1.9],
[17, 3.1],
[18, 3.9],
[19, 6.9]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "ramp", "1"],
["==", "brunnel", "tunnel"],
[">", "layer", 0]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fff4c6",
"line-width": {
"base": 1.2,
"stops": [
[12.5, 0],
[13, 1.5],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "tunnel_minor",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "minor"]],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[13.5, 0],
[14, 2.5],
[20, 11.5]
]
},
"line-opacity": 1
}
},
{
"id": "tunnel_minor_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "minor_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[13.5, 0],
[14, 2.5],
[20, 11.5]
]
},
"line-opacity": 1,
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_tertiary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "tertiary"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#ffffff",
"line-width": {
"base": 1.2,
"stops": [
[11, 1.9],
[12, 3],
[13, 3.9],
[14, 7.8],
[15, 8.8],
[16, 16.4],
[17, 19.4],
[18, 25.4]
]
}
}
},
{
"id": "tunnel_tertiary_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "tertiary_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#ffffff",
"line-width": {
"base": 1.2,
"stops": [
[11, 1.9],
[12, 3],
[13, 3.9],
[14, 7.8],
[15, 8.8],
[16, 16.4],
[17, 19.4],
[18, 25.4]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_secondary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 8,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "secondary"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fafcd7",
"line-width": {
"base": 1.2,
"stops": [
[8, 1],
[9, 1.1],
[10, 1.1],
[11, 2.9],
[12, 4.3],
[12, 4.3],
[14, 7.6],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
}
}
},
{
"id": "tunnel_secondary_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 8,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "secondary_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fafcd7",
"line-width": {
"base": 1.2,
"stops": [
[8, 1],
[9, 1.1],
[10, 1.1],
[11, 2.9],
[12, 4.3],
[12, 4.3],
[14, 7.6],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_primary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "primary"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#feecd5",
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.6],
[7, 1],
[8, 1.4],
[9, 1.9],
[10, 1.9],
[11, 4.5],
[12, 5],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
},
"line-opacity": 1
}
},
{
"id": "tunnel_primary_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "primary_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#feecd5",
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.6],
[7, 1],
[8, 1.4],
[9, 1.9],
[10, 1.9],
[11, 4.5],
[12, 5],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
},
"line-opacity": 1,
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_trunk",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "trunk"]],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[5, "#f5977a"],
[11, "#fcd7cc"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.6],
[7, 1],
[8, 1.4],
[9, 1.9],
[10, 1.9],
[11, 4.5],
[12, 5],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
},
"line-opacity": 1
}
},
{
"id": "tunnel_trunk_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "trunk_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#f9b29c",
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.6],
[7, 1],
[8, 1.4],
[9, 1.9],
[10, 1.9],
[11, 4.5],
[12, 5],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
},
"line-opacity": 1,
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_motorway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway"],
["==", "brunnel", "tunnel"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[5, "#e66e89"],
[11, "#f1bcc6"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[18, 25]
]
}
}
},
{
"id": "tunnel_motorway_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway_construction"],
["==", "brunnel", "tunnel"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[5, "#e66e89"],
[11, "#f1bcc6"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[18, 25]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_major_rail",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "rail"]],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "rgba(166, 166, 166, 1)",
"line-width": {
"base": 1.4,
"stops": [
[8, 0.8],
[15, 3],
[20, 5.4]
]
}
}
},
{
"id": "tunnel_major_rail_hatching",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 9,
"filter": [
"all",
["in", "brunnel", "tunnel", "tunnel"],
["==", "class", "rail"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[8, "rgba(114, 114, 114, 0.44)"],
[10, "rgba(199, 199, 199, 1)"]
]
},
"line-width": {
"base": 1.4,
"stops": [
[8, 0],
[15, 2],
[20, 4]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "road_area_pier",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "$type", "Polygon"], ["==", "class", "pier"]],
"layout": { "visibility": "visible" },
"paint": {
"fill-color": "rgba(246, 241, 229, 1)",
"fill-antialias": true
}
},
{
"id": "road_pier",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "$type", "LineString"], ["==", "class", "pier"]],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "rgba(246, 241, 229, 1)",
"line-width": {
"base": 1.2,
"stops": [
[15, 1],
[17, 4]
]
}
}
},
{
"id": "road_area_bridge",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": ["all", ["==", "$type", "Polygon"], ["==", "class", "bridge"]],
"layout": { "visibility": "visible" },
"paint": { "fill-color": "#b8b8b8", "fill-antialias": true }
},
{
"id": "road_area_platform",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "Polygon"],
["!has", "brunnel"],
["==", "class", "path"],
["==", "subclass", "platform"]
],
"layout": { "visibility": "visible" },
"paint": { "fill-color": "#bababa" }
},
{
"id": "road_area_pedestrian",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "Polygon"],
["!has", "brunnel"],
["!in", "class", "bridge", "pier"]
],
"layout": { "visibility": "visible" },
"paint": { "fill-color": "#dddde8" }
},
{
"id": "road_service_track_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "service", "track"]
],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "#bbbbbb",
"line-width": {
"base": 1.2,
"stops": [
[13, 2],
[15, 3.5],
[16, 7],
[17, 8.5],
[18, 11],
[19, 12]
]
}
}
},
{
"id": "road_primary_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "ramp", 1],
["in", "class", "primary"]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[11, "#c38a27"],
[12, "#a06b00"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 1.5],
[12, 4],
[13, 4],
[14, 7.8],
[16, 12],
[17, 13],
[18, 16]
]
}
}
},
{
"id": "road_trunk_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "ramp", 1],
["in", "class", "trunk"]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[11, "#cf6649"],
[12, "#c84e2f"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 1.5],
[12, 4],
[14, 7.8],
[16, 12],
[17, 13],
[18, 16]
]
}
}
},
{
"id": "road_motorway_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "motorway"],
["==", "ramp", 1]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[11, "#c24e6b"],
[12, "#dc2a67"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 1.5],
[12, 4],
[14, 7.8],
[16, 12],
[17, 13],
[18, 16],
[19, 17]
]
},
"line-opacity": 1
}
},
{
"id": "road_minor_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "minor"],
["!=", "ramp", "1"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#bbbbbb",
"line-width": {
"base": 1.2,
"stops": [
[13, 3],
[14, 5],
[15, 6],
[16, 12],
[17, 13],
[18, 17]
]
},
"line-opacity": {
"stops": [
[10, 0],
[12.5, 1]
]
}
}
},
{
"id": "road_tertiary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "tertiary"],
["!=", "ramp", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#8f8f8f",
"line-width": {
"base": 1.2,
"stops": [
[11, 2.5],
[12, 4],
[13, 5],
[14, 9],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-opacity": 1
}
},
{
"id": "road_secondary_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "secondary"],
["==", "ramp", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[11, "#9eae23"],
[12, "#707d05"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 3.5],
[12, 5],
[13, 5],
[14, 9],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-opacity": 1
}
},
{
"id": "road_secondary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "secondary"],
["!=", "ramp", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[11, "#9eae23"],
[12, "#707d05"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 3.5],
[12, 5],
[13, 5],
[14, 9],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-opacity": 1
}
},
{
"id": "road_trunk_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["!=", "ramp", 1],
["in", "class", "trunk"],
["!=", "ramp", 1]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[11, "rgba(160, 116, 0, 1)"],
[12, "#c84e2f"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[9, 6],
[11, 3.5],
[12, 5],
[13, 5],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-opacity": 1
}
},
{
"id": "road_primary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 9,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["!=", "ramp", 1],
["in", "class", "primary"],
["!=", "ramp", 1]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[10.9, "rgba(255, 250, 234, 0.47)"],
[11, "rgba(160, 116, 0, 1)"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[9, 6],
[11, 3.5],
[12, 5],
[13, 5],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-opacity": 1
}
},
{
"id": "road_motorway_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 5,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "motorway"],
["!=", "ramp", 1]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[11, "#c24e6b"],
[12, "#dc2a67"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1.75],
[18, 27]
]
}
}
},
{
"id": "road_pedestrian_casing",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "class", "path"],
["==", "subclass", "pedestrian"],
["!=", "brunel", "tunnel"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "#999999",
"line-width": {
"stops": [
[13, 3],
[14, 5],
[15, 6],
[16, 12],
[17, 13],
[18, 17]
]
}
}
},
{
"id": "road_pedestrian",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "class", "path"],
["==", "subclass", "pedestrian"],
["!=", "brunel", "tunnel"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "#dddde8",
"line-width": {
"stops": [
[13, 1.9],
[14, 3.8],
[15, 4.8],
[16, 10.4],
[17, 11.4],
[18, 15.4]
]
}
}
},
{
"id": "road_path_steps_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 15,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "path"],
["==", "subclass", "steps"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "rgba(236, 236, 236, 1)",
"line-width": {
"base": 1.2,
"stops": [
[14, 4],
[15, 4.3],
[17, 4.3],
[18, 4.6]
]
},
"line-opacity": 0.6
}
},
{
"id": "road_path_bridleway_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 15,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "path"],
["any", ["==", "subclass", "bridleway"], ["==", "horse", "designated"]],
["!=", "bicycle", "designated"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "rgba(236, 236, 236, 1)",
"line-width": {
"base": 1.2,
"stops": [
[14, 3],
[15, 3.3],
[17, 3.3],
[18, 3.6]
]
},
"line-opacity": 0.6
}
},
{
"id": "road_path_cycleway_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 15,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "path"],
["any", ["==", "subclass", "cycleway"], ["==", "bicycle", "designated"]]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "rgba(236, 236, 236, 1)",
"line-width": {
"base": 1.2,
"stops": [
[14, 3],
[15, 3.3],
[17, 3.3],
[18, 3.6]
]
},
"line-opacity": 0.6
}
},
{
"id": "road_path_footway_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 15,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "path"],
["in", "subclass", "footway", "path"],
["!=", "bicycle", "designated"],
["!=", "horse", "designated"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "rgba(236, 236, 236, 1)",
"line-width": {
"base": 1.2,
"stops": [
[14, 2.7],
[15, 3],
[17, 3.3],
[18, 3.6]
]
},
"line-opacity": 0.6
}
},
{
"id": "road_path_cycleway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "path"],
["any", ["==", "subclass", "cycleway"], ["==", "bicycle", "designated"]]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#0000ff",
"line-width": {
"base": 1.2,
"stops": [
[12, 0.7],
[14, 0.9],
[17, 1],
[18, 1.3]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "road_path_steps",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "path"],
["==", "subclass", "steps"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fa8072",
"line-width": {
"base": 1.2,
"stops": [
[12, 1.7],
[14, 1.9],
[17, 2],
[18, 2.3]
]
},
"line-dasharray": [0.5, 0.5]
}
},
{
"id": "road_path_bridleway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "path"],
["any", ["==", "subclass", "bridleway"], ["==", "horse", "designated"]],
["!=", "bicycle", "designated"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#008000",
"line-width": {
"base": 1.2,
"stops": [
[12, 0.7],
[14, 0.9],
[17, 1],
[18, 1.3]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "road_path_footway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "path"],
["in", "subclass", "footway", "path"],
["!=", "bicycle", "designated"],
["!=", "horse", "designated"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fa8072",
"line-width": {
"base": 1.2,
"stops": [
[13, 0.6],
[14, 1],
[15, 1.3],
[17, 1.3],
[18, 1.6]
]
},
"line-dasharray": [2, 1]
}
},
{
"id": "road_primary_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "ramp", 1],
["in", "class", "primary"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fcd6a4",
"line-width": {
"base": 1.2,
"stops": [
[11, 1.5],
[12, 3],
[13, 3],
[14, 6.6],
[16, 10.4],
[17, 11.4],
[18, 14.4]
]
}
}
},
{
"id": "road_trunk_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "ramp", 1],
["in", "class", "trunk"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[6, "#fdb59e"],
[11, "#f9b29c"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 0.9],
[12, 3],
[14, 6.6],
[16, 10.4],
[17, 11.4],
[18, 14.4]
]
}
}
},
{
"id": "road_motorway_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 8,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "motorway"],
["==", "ramp", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[6, "#e66e89"],
[10, "#e892a2"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[8, 0.7],
[11, 0.9],
[12, 3],
[14, 6.6],
[16, 10.4],
[17, 11.4],
[18, 14.4],
[19, 15.4]
]
}
}
},
{
"id": "road_service_track",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "service", "track"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[13, 0.9],
[15, 2.3],
[15, 0.5],
[16, 5.4],
[17, 6.9],
[18, 9.4],
[19, 10.4]
]
}
}
},
{
"id": "road_service_track_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "service_construction", "track_construction"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[13, 0.9],
[15, 2.3],
[15, 0.5],
[16, 5.4],
[17, 6.9],
[18, 9.4],
[19, 10.4]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "road_raceway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 9,
"filter": ["all", ["in", "class", "raceway"]],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(254, 190, 200, 1)",
"line-width": {
"base": 1.2,
"stops": [
[11, 0.7],
[12, 1.9],
[13, 3.9],
[14, 5.1],
[15, 5.1],
[16, 11.5],
[17, 11.5],
[18, 12.7]
]
}
}
},
{
"id": "road_minor",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["==", ["geometry-type"], "LineString"],
[
"all",
["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true],
["match", ["get", "class"], ["minor"], true, false]
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[12, "#d3d3d3"],
[13, "rgba(255, 255, 255, 1)"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[12, 1],
[13, 1.9],
[14, 3.8],
[15, 4.8],
[16, 10.4],
[17, 11.4],
[18, 15.4]
]
},
"line-opacity": 1
}
},
{
"id": "road_minor_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["==", ["geometry-type"], "LineString"],
[
"all",
["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true],
["match", ["get", "class"], ["minor_construction"], true, false]
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[12, "#d3d3d3"],
[13, "rgba(255, 255, 255, 1)"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[12, 1],
[13, 1.9],
[14, 3.8],
[15, 4.8],
[16, 10.4],
[17, 11.4],
[18, 15.4]
]
},
"line-opacity": 1,
"line-dasharray": [2, 2]
}
},
{
"id": "road_secondary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 8,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "secondary"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[10.5, "#bbbbbb"],
[10.6, "#f7fabf"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[8, 1],
[9, 1.1],
[10, 1.1],
[11, 2.9],
[12, 4.3],
[13, 4.3],
[14, 7.6],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
}
}
},
{
"id": "road_tertiary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 9,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "tertiary"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[10.5, "#bbbbbb"],
[10.6, "#FFFFFF"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[9, 0.7],
[10, 0.7],
[11, 1.9],
[12, 3],
[13, 3.9],
[14, 7.8],
[15, 8.8],
[16, 16.4],
[17, 19.4],
[18, 25.4]
]
}
}
},
{
"id": "road_tertiary_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 9,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "tertiary_construction"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[10.5, "#bbbbbb"],
[10.6, "#fff"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[9, 0.7],
[11, 1.9],
[12, 3],
[13, 3.9],
[14, 7.8],
[15, 8.8],
[16, 16.4],
[17, 19.4],
[18, 25.4]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "road_secondary_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 8,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "secondary_construction"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[10.5, "#bbbbbb"],
[10.6, "#f7fabf"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[8, 1],
[9, 1.1],
[10, 1.1],
[11, 2.9],
[12, 4.3],
[13, 4.3],
[14, 7.6],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "road_primary_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 7,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["!=", "ramp", 1],
["in", "class", "primary_construction"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[7, "#f3c380"],
[11, "#fcd6a4"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[7, 1],
[8, 1.4],
[9, 1.8],
[10, 1.8],
[11, 2.5],
[12, 4],
[13, 4],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
}
}
},
{
"id": "road_primary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 7,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["!=", "ramp", 1],
["in", "class", "primary"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[7, "#f3c380"],
[11, "#fcd6a4"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[7, 1],
[8, 1.4],
[9, 1.8],
[10, 1.8],
[11, 2.5],
[12, 4],
[13, 4],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
}
}
},
{
"id": "road_trunk",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 7,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["!=", "ramp", 1],
["in", "class", "trunk"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[5, "#fdb59e"],
[11, "#f9b29c"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[7, 1],
[8, 1.4],
[9, 1.8],
[10, 1.8],
[11, 2.5],
[12, 4],
[13, 4],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
}
}
},
{
"id": "road_trunk_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 7,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["!=", "ramp", 1],
["in", "class", "trunk_construction"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[6, "#fdb59e"],
[11, "#f9b29c"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[7, 1],
[8, 1.4],
[9, 1.8],
[10, 1.8],
[11, 2.5],
[12, 4],
[13, 4],
[15, 8.6],
[16, 16],
[17, 19],
[18, 25]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "road_motorway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 5,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "motorway"],
["!=", "ramp", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"stops": [
[6, "#e66e89"],
[10, "#e892a2"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[18, 25]
]
}
}
},
{
"id": "road_motorway_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 5,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "motorway_construction"],
["!=", "ramp", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": {
"base": 1,
"stops": [
[6, "#e892a2"],
[10, "#e66e89"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[20, 18]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "rail_subway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "transit"],
["==", "subclass", "subway"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "#81817f",
"line-width": {
"stops": [
[14, 1],
[18, 3]
]
},
"line-opacity": 1,
"line-dasharray": [1, 1.2]
}
},
{
"id": "rail_major",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "rail"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[8, "#787878"],
[14, "rgba(129, 129, 129, 1)"]
]
},
"line-width": {
"base": 1.4,
"stops": [
[8, 0.8],
[11, 1.5],
[15, 3],
[20, 5.4]
]
}
}
},
{
"id": "rail_minor",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "subclass", "tram", "light_rail"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "rgba(129, 129, 129, 1)",
"line-width": {
"base": 1.4,
"stops": [
[12, 0.8],
[15, 1.2],
[20, 4]
]
}
}
},
{
"id": "rail_major_hatching",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 8,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "rail"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[8, "rgba(255, 255, 255, 0.44)"],
[10, "rgba(242, 242, 242, 0.44)"]
]
},
"line-width": {
"base": 1.4,
"stops": [
[9, 0],
[15, 2],
[20, 4]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "rail_minor_hatching",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "subclass", "tram", "light_rail"]
],
"layout": { "visibility": "visible" },
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[14.5, 0],
[15, 2],
[20, 6]
]
},
"line-dasharray": [0.2, 4]
}
},
{
"id": "waterway-bridge-case",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"]
],
"layout": { "line-cap": "butt", "line-join": "miter" },
"paint": {
"line-color": "#bbbbbb",
"line-width": {
"base": 1.6,
"stops": [
[12, 0.5],
[20, 5]
]
},
"line-gap-width": {
"base": 1.3,
"stops": [
[13, 0.5],
[20, 6]
]
}
}
},
{
"id": "waterway-bridge",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"]
],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "rgba(134, 204, 250, 1)",
"line-width": {
"base": 1.3,
"stops": [
[13, 0.5],
[20, 6]
]
}
}
},
{
"id": "bridge_motorway_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway"],
["==", "ramp", 1],
["==", "brunnel", "bridge"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[11, "#c24e6b"],
[12, "#dc2a67"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[12, 4],
[14, 7],
[18, 16],
[19, 17]
]
},
"line-opacity": 1
}
},
{
"id": "bridge_service_track_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "service", "track"]
],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#cfcdca",
"line-width": {
"base": 1.2,
"stops": [
[15, 1],
[16, 4],
[20, 11]
]
}
}
},
{
"id": "bridge_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [
[12, 1],
[13, 3],
[14, 4],
[20, 15]
]
},
"line-opacity": 1
}
},
{
"id": "bridge_street_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "street", "street_limited"]
],
"layout": { "line-join": "round" },
"paint": {
"line-color": "hsl(36, 6%, 74%)",
"line-width": {
"base": 1.2,
"stops": [
[12, 0.5],
[13, 1],
[14, 4],
[20, 25]
]
},
"line-opacity": {
"stops": [
[12, 0],
[12.5, 1]
]
}
}
},
{
"id": "bridge_path_casing_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"],
["in", "class", "path"]
],
"layout": { "line-join": "miter", "visibility": "visible" },
"paint": {
"line-color": "rgba(0, 0, 0, 1)",
"line-width": {
"base": 1.2,
"stops": [
[13, 3.7],
[14, 4],
[15, 4.3],
[17, 4.3],
[18, 4.6]
]
},
"line-dasharray": [1, 0]
}
},
{
"id": "bridge_path_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"],
["in", "class", "path"]
],
"layout": { "line-join": "miter", "visibility": "visible" },
"paint": {
"line-color": "rgba(255, 255, 255, 1)",
"line-width": {
"base": 1.2,
"stops": [
[13, 2.7],
[14, 3],
[15, 3.3],
[17, 3.3],
[18, 3.6]
]
},
"line-dasharray": [1, 0]
}
},
{
"id": "bridge_secondary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "secondary", "tertiary"]
],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#000000",
"line-width": {
"base": 1.2,
"stops": [
[12, 5],
[13, 5],
[14, 9],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
},
"line-opacity": 1
}
},
{
"id": "bridge_tertiary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "secondary", "tertiary"]
],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(195, 189, 187, 1)",
"line-width": {
"base": 1.2,
"stops": [
[8, 1.5],
[20, 17]
]
},
"line-opacity": 1
}
},
{
"id": "bridge_trunk_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "trunk"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": {
"stops": [
[11, "#cf6649"],
[12, "#c84e2f"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[11, 3.5],
[12, 6],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
}
}
},
{
"id": "bridge_primary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "primary"]
],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#000000",
"line-width": {
"base": 1.2,
"stops": [
[12, 5],
[13, 5],
[15, 10],
[16, 18],
[17, 21],
[18, 27]
]
}
}
},
{
"id": "bridge_motorway_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway"],
["==", "brunnel", "bridge"],
["!=", "ramp", 1]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#000000",
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1.75],
[18, 27]
]
}
}
},
{
"id": "bridge_path_cycleway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"],
["in", "class", "path"],
["any", ["==", "subclass", "cycleway"], ["==", "bicycle", "designated"]]
],
"paint": {
"line-color": "#0000ff",
"line-width": {
"base": 1.2,
"stops": [
[13, 0.8],
[14, 1],
[15, 1.3],
[17, 1.3],
[18, 1.6]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "bridge_path_bridleway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"],
["in", "class", "path"],
["any", ["==", "subclass", "bridleway"], ["==", "horse", "designated"]],
["!=", "bicycle", "designated"]
],
"paint": {
"line-color": "#008000",
"line-width": {
"base": 1.2,
"stops": [
[13, 0.8],
[14, 1],
[15, 1.3],
[17, 1.3],
[18, 1.6]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "bridge_path_footway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"],
["in", "class", "path"],
["in", "subclass", "footway", "path"],
["!=", "bicycle", "designated"],
["!=", "horse", "designated"]
],
"paint": {
"line-color": "#fa8072",
"line-width": {
"base": 1.2,
"stops": [
[13, 0.8],
[14, 1],
[15, 1.3],
[17, 1.3],
[18, 1.6]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "bridge_motorway_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway"],
["==", "ramp", 1],
["==", "brunnel", "bridge"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[6, "#e66e89"],
[10, "#e892a2"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[12, 3],
[14, 6],
[18, 15],
[19, 16]
]
}
}
},
{
"id": "bridge_service_track",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "service", "track"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[15.5, 0],
[16, 2],
[20, 7.5]
]
}
}
},
{
"id": "bridge_service_track_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "service_construction", "track_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[15.5, 0],
[16, 2],
[20, 7.5]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "bridge_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fea",
"line-width": {
"base": 1.2,
"stops": [
[12.5, 0],
[13, 1.5],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "bridge_minor",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "minor"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[13.5, 0],
[14, 2.5],
[20, 18]
]
},
"line-opacity": 1
}
},
{
"id": "bridge_minor_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "minor_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[13.5, 0],
[14, 2.5],
[20, 18]
]
},
"line-opacity": 1,
"line-dasharray": [2, 2]
}
},
{
"id": "bridge_tertiary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 11,
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "tertiary"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#ffffff",
"line-width": {
"base": 1.2,
"stops": [
[11, 2.3],
[12, 3],
[13, 4],
[14, 7.5],
[15, 8.5],
[16, 16.4],
[17, 19.4],
[18, 25.4]
]
}
}
},
{
"id": "bridge_secondary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 7,
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "secondary"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#f7fabf",
"line-width": {
"base": 1.2,
"stops": [
[7, 1.5],
[11, 3.3],
[12, 4],
[13, 3.8],
[14, 7.5],
[15, 8.5],
[16, 16],
[17, 19],
[18, 25]
]
}
}
},
{
"id": "bridge_secondary_construction-copy",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "secondary_construction"]
],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[6.5, 0],
[8, 0.5],
[20, 13]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "bridge_tertiary_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "tertiary_construction"]
],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[6.5, 0],
[8, 0.5],
[20, 13]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "bridge_primary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "primary"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fcd6a4",
"line-width": {
"base": 1.2,
"stops": [
[7, 1.5],
[11, 3.3],
[12, 4],
[13, 4],
[15, 8.5],
[16, 16],
[17, 19],
[18, 25]
]
}
}
},
{
"id": "bridge_trunk",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "trunk"]],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#f9b29c",
"line-width": {
"base": 1.2,
"stops": [
[7, 1.5],
[11, 4.5],
[12, 5],
[15, 8.5],
[16, 16],
[17, 19],
[18, 25]
]
}
}
},
{
"id": "bridge_trunk_primary_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "primary_construction", "trunk_construction"]
],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#fea",
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[20, 18]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "bridge_motorway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway"],
["==", "brunnel", "bridge"],
["!=", "ramp", 1]
],
"layout": { "line-join": "round" },
"paint": {
"line-color": {
"stops": [
[6, "#e66e89"],
[10, "#e892a2"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[18, 25]
]
}
}
},
{
"id": "bridge_motorway_construction",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway_construction"],
["==", "brunnel", "bridge"],
["!=", "ramp", 1]
],
"layout": { "line-join": "round" },
"paint": {
"line-color": {
"stops": [
[6, "#e892a2"],
[10, "#e66e89"]
]
},
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[18, 25]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "bridge_major_rail",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "rail"]],
"layout": { "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[6, "rgba(147, 147, 147, 1)"],
[12, "rgba(139, 139, 139, 1)"],
[14, "rgba(129, 129, 129, 1)"]
]
},
"line-width": {
"base": 1.4,
"stops": [
[8, 0.5],
[15, 3],
[20, 5.4]
]
}
}
},
{
"id": "bridge_major_rail_hatching",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 8,
"filter": ["all", ["==", "brunnel", "bridge"], ["==", "class", "rail"]],
"layout": { "visibility": "visible" },
"paint": {
"line-color": {
"stops": [
[8, "rgba(255, 255, 255, 0.44)"],
[10, "rgba(201, 201, 201, 1)"]
]
},
"line-width": {
"base": 1.4,
"stops": [
[9, 0],
[15, 2],
[20, 4]
]
},
"line-dasharray": [2, 2]
}
},
{
"id": "cablecar",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": ["==", "class", "aerialway"],
"layout": { "line-cap": "round", "visibility": "visible" },
"paint": {
"line-color": "#808080",
"line-width": {
"base": 1,
"stops": [
[11, 1],
[19, 2.5]
]
}
}
},
{
"id": "cablecar-dash",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": ["==", "class", "aerialway"],
"layout": { "line-cap": "round", "visibility": "visible" },
"paint": {
"line-color": "rgba(67, 67, 67, 1)",
"line-width": {
"base": 1,
"stops": [
[11, 1],
[19, 3]
]
},
"line-dasharray": [0.5, 10]
}
},
{
"id": "boundary_3",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "boundary",
"minzoom": 3,
"filter": ["all", ["in", "admin_level", 3, 4], ["==", "maritime", 0]],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#845283",
"line-width": {
"base": 1,
"stops": [
[4, 0.4],
[5, 0.7],
[12, 1.6]
]
},
"line-opacity": {
"stops": [
[3, 0.5],
[10, 1]
]
},
"line-dasharray": [5, 3]
}
},
{
"id": "boundary_2",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "boundary",
"minzoom": 0,
"filter": [
"all",
["==", "admin_level", 2],
["==", "maritime", 0],
["==", "disputed", 0]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#a37da1",
"line-width": {
"base": 1,
"stops": [
[3, 0.5],
[5, 1.2],
[12, 3]
]
},
"line-opacity": 1
}
},
{
"id": "boundary_2_disputed",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "boundary",
"minzoom": 0,
"filter": [
"all",
["==", "admin_level", 2],
["==", "disputed", 1],
["==", "maritime", 0]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#a37da1",
"line-width": {
"base": 1,
"stops": [
[3, 0.3],
[5, 1.2],
[12, 3]
]
},
"line-opacity": 1,
"line-dasharray": [4, 3]
}
},
{
"id": "boundary_2_disputed_maritime",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "boundary",
"minzoom": 0,
"filter": [
"all",
["==", "admin_level", 2],
["==", "disputed", 1],
["==", "maritime", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(129, 125, 163, 1)",
"line-width": {
"base": 1,
"stops": [
[3, 0.5],
[5, 1.2],
[12, 3]
]
},
"line-opacity": 1,
"line-dasharray": [4, 3]
}
},
{
"id": "boundary_2_maritime",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "boundary",
"minzoom": 4,
"filter": [
"all",
["==", "admin_level", 2],
["==", "disputed", 0],
["==", "maritime", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#a37da1",
"line-width": {
"base": 1,
"stops": [
[3, 0.5],
[5, 1.2],
[12, 3]
]
},
"line-opacity": 1
}
},
{
"id": "water_way_name",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "waterway",
"minzoom": 0,
"filter": ["all", ["==", "$type", "LineString"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[11, 10],
[13, 12]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"symbol-spacing": 400,
"text-max-width": 5,
"symbol-placement": "line"
},
"paint": {
"text-color": "#4d80b3",
"text-halo-color": "rgba(255, 255, 255, 0.8)",
"text-halo-width": 1
}
},
{
"id": "water_name_line",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "water_name",
"minzoom": 0,
"filter": ["all", ["==", "$type", "LineString"]],
"layout": {
"text-font": ["hwxk"],
"text-size": 12,
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-max-width": 5,
"symbol-placement": "line"
},
"paint": {
"text-color": "#5d60be",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 1
}
},
{
"id": "water_name_point",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "water_name",
"minzoom": 2,
"maxzoom": 24,
"filter": ["all", ["==", "$type", "Point"], ["!=", "class", "ocean"]],
"layout": {
"text-font": ["hwxk"],
"text-size": 11,
"text-field": "{name:latin}{name:nolatin}",
"visibility": "visible",
"text-max-width": 5
},
"paint": {
"text-color": "rgba(76, 125, 173, 1)",
"text-halo-color": "rgba(255,255,255,0)",
"text-halo-width": 1
}
},
{
"id": "housenumber",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "housenumber",
"minzoom": 17,
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[17, 9],
[22, 11]
]
},
"text-field": "{housenumber}",
"text-padding": 3,
"text-line-height": -0.15,
"symbol-avoid-edges": false,
"text-allow-overlap": false,
"text-ignore-placement": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgba(102, 102, 102, 1)",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1
}
},
{
"id": "poi_shop-z17",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 17,
"filter": [
"all",
[
"in",
"class",
"shop",
"clothing_store",
"library",
"art_gallery",
"music",
"alcohol_shop",
"bakery"
],
[
"!in",
"subclass",
"mall",
"library",
"artwork",
"arts_centre",
"gallery"
]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": [
"match",
["get", "subclass"],
"chocolate",
"confectionery",
"wine",
"alcohol",
"kiosk",
"newsagent",
"perfume",
"perfumery",
"wholesale",
"trade",
["get", "subclass"]
],
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.1],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": true
},
"paint": {
"text-color": "#939",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_shop-z15",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 15,
"filter": ["all", ["==", "subclass", "supermarket"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": [
"match",
["get", "subclass"],
"chocolate",
"confectionery",
["get", "subclass"]
],
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.1],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": true
},
"paint": {
"text-color": "#939",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_waste",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 18,
"filter": [
"all",
[
"in",
"class",
"recycling",
"waste_basket",
"drinking_water",
"toilets"
]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 0.8],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#734a08",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_cemetery",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 14,
"filter": ["all", ["in", "class", "cemetery"]],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": 11,
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"icon-anchor": "bottom",
"icon-offset": [0, 0],
"text-anchor": "center",
"text-offset": [0, 0],
"text-padding": 2,
"icon-text-fit": "none",
"text-max-width": 14,
"icon-allow-overlap": false,
"icon-pitch-alignment": "viewport"
},
"paint": {
"text-color": "#2d4931",
"icon-translate": [0, 0],
"text-translate": [0, 5],
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 0.8,
"icon-translate-anchor": "map",
"text-translate-anchor": "viewport"
}
},
{
"id": "poi_school",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": ["all", ["in", "class", "college", "school"]],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": 11,
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"icon-anchor": "bottom",
"icon-offset": [0, 0],
"text-anchor": "center",
"text-offset": [0, 0],
"text-padding": 2,
"icon-text-fit": "none",
"text-max-width": 9,
"icon-allow-overlap": false,
"icon-pitch-alignment": "viewport"
},
"paint": {
"text-color": "#4d4d00",
"icon-translate": [0, 0],
"text-translate": [0, 5],
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 0.8,
"icon-translate-anchor": "map",
"text-translate-anchor": "viewport"
}
},
{
"id": "poi_outdoor",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": [
"all",
["in", "class", "playground", "stile", "garden", "gate"]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#008c0d",
"icon-opacity": 1,
"text-halo-blur": 0,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_parking",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 15,
"filter": ["all", ["in", "class", "parking"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": {
"stops": [
[15, ""],
[16, "{name:latin}\n{name:nonlatin}"]
]
},
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 0.9],
"text-padding": 2,
"text-max-width": 6,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#0066ff",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_golf",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": ["all", ["in", "class", "golf"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "golf",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#008c0d",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_sport",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": [
"all",
[
"in",
"class",
"stadium",
"swimming_pool",
"sports_centre",
"water_park"
]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#008c0d",
"icon-opacity": 1,
"icon-halo-blur": 0,
"text-halo-blur": 1,
"text-halo-color": "#ffffff",
"text-halo-width": 0.2
}
},
{
"id": "poi_ferry",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
["==", "subclass", "ferry_terminal"],
["==", "class", "ferry_terminal"]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "ferry",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 0.7],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#5e3b9e",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_food",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": [
"all",
[
"in",
"class",
"ice_cream",
"cafe",
"beer",
"bar",
"fast_food",
"restaurant"
]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#C77400",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_water",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 7,
"filter": ["all", ["in", "class", "ice_rink"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#4d80b3",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_public",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": [
"all",
[
"in",
"class",
"town_hall",
"post",
"library",
"police",
"information",
"cinema",
"theatre",
"fire_station",
"office"
],
["!=", "subclass", "books"]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": ["coalesce", ["get", "subclass"]],
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 0.8],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#734a08",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_cultural",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
[
"in",
"class",
"cinema",
"library",
"museum",
"castle",
"monument",
"art_gallery"
],
["!in", "subclass", "books", "art"]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 0.8],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#734a08",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_attraction",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 15,
"filter": ["all", ["==", "class", "attraction"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#660033",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_car",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 17,
"filter": [
"all",
["in", "class", "car", "bicycle_parking", "fuel", "charging_station"]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": {
"stops": [
[15, ""],
[16, "{name:latin}\n{name:nonlatin}"]
]
},
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false,
"icon-ignore-placement": false
},
"paint": {
"text-color": "#0066ff",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_health",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": ["all", ["in", "class", "pharmacy", "dentist", "veterinary"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[14, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#BF0000",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_hospital",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 14,
"filter": ["all", ["in", "class", "hospital"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[14, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": {
"stops": [
[14, ""],
[16, "{name:latin}\n{name:nonlatin}"]
]
},
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#BF0000",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_campsite",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": ["all", ["in", "class", "campsite"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "camping",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#0066ff",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_accommodation",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 17,
"filter": ["all", ["in", "class", "lodging", "campsite"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "{subclass}",
"text-field": {
"stops": [
[17, ""],
[18, "{name:latin}\n{name:nonlatin}"]
]
},
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 0.6],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#0066ff",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_place_of_worship",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": ["all", ["==", "class", "place_of_worship"]],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 12]
]
},
"icon-image": "{subclass}",
"text-field": {
"stops": [
[15, ""],
[16, "{name:latin}\n{name:nonlatin}"]
]
},
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false,
"text-allow-overlap": false
},
"paint": {
"text-color": "rgba(56, 56, 71, 1)",
"text-halo-blur": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_busstop",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 17,
"filter": ["all", ["in", "class", "bus"]],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 10],
[20, 11]
]
},
"icon-image": "bus_stop.12",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"icon-anchor": "bottom",
"text-anchor": "top",
"text-padding": 2,
"icon-text-fit": "none",
"text-max-width": 14,
"icon-keep-upright": true,
"icon-allow-overlap": false,
"icon-pitch-alignment": "viewport"
},
"paint": {
"text-color": "#0066ff",
"icon-translate": [0, 0],
"text-translate": [0, 4],
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 0.8,
"icon-translate-anchor": "map",
"text-translate-anchor": "viewport"
}
},
{
"id": "poi_bus",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 17,
"filter": [
"all",
["in", "class", "bus"],
["!in", "subclass", "bus_stop"]
],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": 11,
"icon-image": "{subclass}",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"icon-anchor": "bottom",
"icon-offset": [0, 0],
"text-anchor": "center",
"text-padding": 2,
"icon-text-fit": "none",
"text-max-width": 14,
"icon-keep-upright": true,
"icon-allow-overlap": false,
"icon-pitch-alignment": "viewport"
},
"paint": {
"text-color": "#0066ff",
"icon-translate": [0, 0],
"text-translate": [0, 5],
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 0.8,
"icon-translate-anchor": "map",
"text-translate-anchor": "viewport"
}
},
{
"id": "poi_harbor",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": ["all", ["==", "class", "harbor"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[14, 13],
[20, 16]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-padding": 2,
"text-max-width": 6,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#576ddf",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.1,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.2,
"text-halo-color": "#ffffff",
"text-halo-width": 0.3
}
},
{
"id": "poi_mall",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 15,
"filter": ["all", ["==", "class", "shop"], ["==", "subclass", "mall"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 12],
[20, 16]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.1],
"text-padding": 2,
"text-max-width": 9,
"icon-allow-overlap": false
},
"paint": {
"text-color": "#d11700",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_train",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 10,
"filter": ["all", ["in", "class", "railway"]],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": 11,
"icon-image": "square_train",
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"icon-anchor": "bottom",
"icon-offset": [0, 0],
"text-anchor": "center",
"text-offset": [0, 0.5],
"text-padding": 2,
"icon-text-fit": "none",
"text-max-width": 12,
"icon-allow-overlap": false,
"text-allow-overlap": false,
"icon-pitch-alignment": "viewport"
},
"paint": {
"text-color": "#4957ad",
"icon-translate": [0, 0],
"text-translate": [0, 1],
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 0.8,
"icon-translate-anchor": "map",
"text-translate-anchor": "viewport"
}
},
{
"id": "road_path_oneway",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 15,
"filter": ["all", ["==", "oneway", 1], ["==", "class", "path"]],
"layout": {
"icon-size": {
"stops": [
[15, 0.7],
[20, 1]
]
},
"icon-image": "oneway-path",
"visibility": "visible",
"icon-padding": 2,
"symbol-spacing": 125,
"symbol-placement": "line",
"icon-rotation-alignment": "map",
"text-font": ["hwxk"]
},
"paint": { "icon-opacity": 1 }
},
{
"id": "road_oneway",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 15,
"filter": [
"all",
["==", "oneway", 1],
[
"in",
"class",
"motorway",
"trunk",
"primary",
"secondary",
"tertiary",
"minor",
"service"
]
],
"layout": {
"icon-size": {
"stops": [
[15, 0.8],
[20, 1]
]
},
"icon-image": "oneway",
"visibility": "visible",
"icon-padding": 2,
"symbol-spacing": 95,
"symbol-placement": "line",
"icon-rotation-alignment": "map",
"text-font": ["hwxk"]
},
"paint": { "icon-opacity": 1 }
},
{
"id": "road_oneway_opposite",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 15,
"filter": [
"all",
["==", "oneway", -1],
[
"in",
"class",
"motorway",
"trunk",
"primary",
"secondary",
"tertiary",
"minor",
"service"
]
],
"layout": {
"icon-size": {
"stops": [
[15, 0.5],
[19, 1]
]
},
"icon-image": "oneway",
"visibility": "visible",
"icon-rotate": -90,
"icon-padding": 2,
"symbol-spacing": 75,
"symbol-placement": "line",
"icon-rotation-alignment": "map",
"text-font": ["hwxk"]
},
"paint": { "icon-opacity": 0.5 }
},
{
"id": "ferry_label",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 14,
"filter": ["all", ["==", "subclass", "ferry"]],
"layout": {
"text-font": ["hwxk"],
"text-size": 10,
"text-field": "{name}",
"text-anchor": "center",
"text-offset": [0, 0],
"symbol-placement": "line",
"visibility": "visible"
},
"paint": {
"text-color": "#6666ff",
"text-halo-blur": 1,
"text-halo-color": "rgba(255, 255, 255, 0.34)",
"text-halo-width": 1
}
},
{
"id": "road_label",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 7,
"filter": ["all", ["!=", "subclass", "ferry"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"base": 1,
"stops": [
[14, 9],
[18, 13]
]
},
"text-field": "{name}",
"text-anchor": "center",
"text-offset": [0, 0],
"symbol-placement": "line",
"visibility": "visible"
},
"paint": {
"text-color": "#000000",
"text-halo-color": "rgba(255, 255, 255, 0.97)",
"text-halo-width": 1
}
},
{
"id": "highway-shield-tertiary",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 9,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "class", "tertiary"],
["has", "ref"]
],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": {
"stops": [
[9, 10],
[15, 11],
[17, 12]
]
},
"icon-image": "road_tertiary",
"text-field": "{ref}",
"visibility": "visible",
"icon-anchor": "center",
"icon-padding": 2,
"icon-text-fit": "both",
"symbol-spacing": 560,
"symbol-placement": {
"base": 1,
"stops": [
[10, "point"],
[11, "line"]
]
},
"symbol-avoid-edges": true,
"icon-text-fit-padding": [3, 4, 3, 4],
"icon-rotation-alignment": "viewport",
"text-rotation-alignment": "viewport"
},
"paint": { "text-color": "#3b3b3b" }
},
{
"id": "highway-shield-secondary",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 9,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "class", "secondary"],
["has", "ref"]
],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": {
"stops": [
[9, 10],
[15, 11],
[17, 12]
]
},
"icon-image": "road_secondary",
"text-field": "{ref}",
"visibility": "visible",
"icon-anchor": "center",
"icon-padding": 2,
"icon-text-fit": "both",
"symbol-spacing": 560,
"symbol-placement": {
"base": 1,
"stops": [
[10, "point"],
[11, "line"]
]
},
"symbol-avoid-edges": true,
"icon-text-fit-padding": [3, 4, 3, 4],
"icon-rotation-alignment": "viewport",
"text-rotation-alignment": "viewport"
},
"paint": { "text-color": "#323b00" }
},
{
"id": "highway-shield-motorway",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 7,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "class", "motorway"],
["has", "ref"]
],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": {
"stops": [
[9, 10],
[15, 11],
[17, 12]
]
},
"icon-image": "road_motorway",
"text-field": "{ref}",
"visibility": "visible",
"icon-anchor": "center",
"icon-padding": 2,
"icon-text-fit": "both",
"text-optional": false,
"symbol-spacing": 760,
"text-max-width": 10,
"symbol-placement": {
"base": 1,
"stops": [
[7, "line"],
[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",
"text-allow-overlap": false,
"text-ignore-placement": false
},
"paint": { "text-color": "#620728" }
},
{
"id": "airport-label-major",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "aerodrome_label",
"minzoom": 8,
"maxzoom": 17,
"filter": ["all", ["has", "iata"]],
"layout": {
"icon-size": 1,
"text-font": ["Noto Sans Italic"],
"text-size": {
"stops": [
[8, 10],
[14, 12]
]
},
"icon-image": "aerodrome.12",
"text-field": {
"stops": [
[8, " "],
[11, "{name:latin}\n{name:nonlatin}"]
]
},
"visibility": "none",
"text-anchor": "top",
"text-offset": [0, 0.6],
"text-padding": 2,
"text-optional": true,
"text-max-width": 9,
"icon-allow-overlap": false,
"text-allow-overlap": false
},
"paint": {
"text-color": "#5e3b9e",
"text-halo-blur": 0.5,
"text-halo-color": "rgba(255, 255, 255, 0.8)",
"text-halo-width": 1
}
},
{
"id": "airport_label",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 14,
"filter": ["all", ["in", "class", "runway", "taxiway"]],
"layout": {
"text-font": ["Noto Sans Italic", "Noto Sans Regular"],
"text-size": {
"stops": [
[15, 9],
[19, 15]
]
},
"text-field": "{ref}",
"visibility": "none",
"symbol-placement": "line"
},
"paint": {
"text-color": "#333333",
"text-halo-color": "rgba(255, 255, 255, 0.8)",
"text-halo-width": 1
}
},
{
"id": "airport_gate",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 16.5,
"filter": ["all", ["==", "class", "gate"]],
"layout": {
"text-font": ["Noto Sans Regular"],
"text-size": {
"stops": [
[17, 9],
[19, 15]
]
},
"text-field": "{ref}",
"visibility": "none"
},
"paint": {
"text-color": "rgba(135, 135, 135, 1)",
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 1
}
},
{
"id": "place_other",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 8,
"filter": [
"all",
[
"in",
"class",
"hamlet",
"island",
"islet",
"neighbourhood",
"suburb",
"borough"
]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"base": 1.2,
"stops": [
[11, 10],
[14, 14],
[18, 16]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"symbol-spacing": 150,
"text-max-width": 10,
"text-transform": "none"
},
"paint": {
"text-color": {
"stops": [
[12.5, "#222222"],
[12.6, "#777777"]
]
},
"text-halo-blur": 0,
"text-halo-color": {
"stops": [
[11, "rgba(255,255,255,0.6)"],
[13, "#ffffff"]
]
},
"text-halo-width": {
"stops": [
[8, 0.8],
[13, 1.5]
]
}
}
},
{
"id": "park-local",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 7,
"filter": ["all", ["==", "class", "park"], ["==", "subclass", "park"]],
"layout": {
"text-font": ["Noto Sans Italic"],
"text-size": {
"stops": [
[15, 10],
[20, 13]
]
},
"text-field": "{name:latin}{name:nonlatin}",
"visibility": "none",
"symbol-spacing": 150,
"text-max-width": {
"stops": [
[12, 5],
[18, 8]
]
},
"text-allow-overlap": false
},
"paint": {
"text-color": "#0c8416",
"text-halo-blur": 0.5,
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 1
}
},
{
"id": "park-national",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "park",
"minzoom": 7,
"maxzoom": 12,
"filter": ["all", ["<=", "rank", 2]],
"layout": {
"text-font": ["Noto Sans Italic"],
"text-size": 12,
"text-field": "{name:latin}{name:nonlatin}",
"visibility": "none",
"symbol-spacing": 150,
"text-allow-overlap": false
},
"paint": {
"text-color": {
"stops": [
[7, "rgba(70, 164, 70, 1)"],
[10, "#008000"]
]
},
"text-halo-blur": 0.1,
"text-halo-color": {
"stops": [
[7, "rgba(241, 255, 234, 1)"],
[10, "rgba(208, 250, 200, 1)"]
]
},
"text-halo-width": 0.3
}
},
{
"id": "poi_zoo",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 11,
"filter": ["all", ["==", "class", "zoo"], ["==", "subclass", "zoo"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[15, 12],
[20, 16]
]
},
"icon-image": "{subclass}",
"text-field": "{name}",
"visibility": "visible",
"text-anchor": "top",
"text-offset": [0, 1.2],
"text-padding": 2,
"text-max-width": 6,
"icon-allow-overlap": true
},
"paint": {
"text-color": "#660033",
"icon-opacity": 1,
"icon-halo-blur": 1,
"text-halo-blur": 0.5,
"icon-halo-color": "rgba(255, 255, 255, 1)",
"icon-halo-width": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "mountain_peak",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "mountain_peak",
"maxzoom": 16,
"filter": ["all", ["!in", "class", "cliff", "volcano"]],
"layout": {
"text-size": 10,
"icon-image": "peak",
"text-field": {
"stops": [
[6, " {name} "],
[10, "{name}\\n{ele}m"]
]
},
"text-anchor": "top",
"text-offset": [0, 0.5],
"text-max-width": 6,
"text-line-height": 1.1,
"text-font": ["hwxk"],
"visibility": "visible",
"icon-size": 1.3
},
"paint": {
"text-color": "#6e441e",
"text-halo-color": "rgba(255, 255, 255, .8)",
"text-halo-width": 1
}
},
{
"id": "mountain_peak_volcano",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "mountain_peak",
"maxzoom": 16,
"filter": ["all", ["==", "class", "volcano"]],
"layout": {
"text-size": 10,
"icon-image": "volcano",
"text-field": {
"stops": [
[6, " "],
[12, "{name} {ele}m"]
]
},
"text-anchor": "top",
"text-offset": [0, 0.5],
"text-max-width": 6,
"text-line-height": 1.1,
"text-font": ["hwxk"],
"visibility": "visible"
},
"paint": {
"text-color": "#d40000",
"text-halo-color": "rgba(255, 255, 255, .8)",
"text-halo-width": 1
}
},
{
"id": "place_village",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 8,
"filter": ["all", ["==", "class", "village"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"base": 1.2,
"stops": [
[10, 10],
[15, 16]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"text-max-width": 8
},
"paint": {
"text-color": "#333",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1.2
}
},
{
"id": "place_town",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 6,
"filter": ["all", ["==", "class", "town"]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"base": 1.2,
"stops": [
[7, 10],
[11, 13]
]
},
"text-field": "{name:nonlatin}",
"visibility": "visible",
"text-anchor": "bottom",
"text-offset": [0, 0],
"text-max-width": 8
},
"paint": {
"text-color": "#333",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1
}
},
{
"id": "place_state",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 4,
"maxzoom": 12,
"filter": ["all", ["==", "class", "state"], ["<", "rank", 3]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[3, 12],
[6, 14]
]
},
"text-field": "{name:nonlatin}",
"visibility": "visible",
"text-padding": 2,
"text-transform": "none",
"text-letter-spacing": 0
},
"paint": {
"text-color": "rgba(255, 77, 79, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0,
"icon-halo-width": 1
}
},
{
"id": "place_city",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 4,
"maxzoom": 14,
"filter": ["all", ["==", "class", "city"], ["!=", "rank", 1]],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"base": 1.2,
"stops": [
[4, 12],
[15, 12]
]
},
"icon-image": {
"stops": [
[4, "place-6"],
[7, " "]
]
},
"text-field": "{name:nonlatin}",
"visibility": "visible",
"icon-offset": [0, 3],
"text-anchor": "bottom",
"text-offset": [0, 0],
"icon-optional": false,
"text-max-width": 8,
"icon-allow-overlap": true,
"text-allow-overlap": false,
"text-ignore-placement": false
},
"paint": {
"text-color": {
"stops": [
[6, "rgba(88, 88, 88, 1)"],
[14, "rgba(32, 32, 32, 1)"]
]
},
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1
}
},
{
"id": "place_capital",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 3,
"maxzoom": 15,
"filter": ["all", ["==", "class", "city"], ["in", "capital", 1, 2]],
"layout": {
"icon-size": 1,
"text-font": ["hwxk"],
"text-size": {
"base": 1.2,
"stops": [
[4, 11],
[12, 16]
]
},
"icon-image": {
"stops": [
[6, "place-capital-8"],
[8, ""]
]
},
"text-field": "{name:nonlatin}",
"visibility": "visible",
"icon-offset": [0, 3],
"text-anchor": "bottom",
"text-offset": [0, 0],
"icon-optional": false,
"text-max-width": 8,
"icon-allow-overlap": true
},
"paint": {
"text-color": {
"stops": [
[6, "rgba(73, 73, 73, 1)"],
[14, "rgba(32, 32, 32, 1)"]
]
},
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1.2
}
},
{
"id": "country_other",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 4,
"maxzoom": 15,
"filter": ["all", ["==", "class", "country"], ["!has", "iso_a2"]],
"layout": {
"text-font": ["hwxk"],
"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
}
},
{
"id": "country_3",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 5,
"maxzoom": 12,
"filter": [
"all",
[">=", "rank", 3],
["==", "class", "country"],
["has", "iso_a2"]
],
"layout": {
"text-font": ["hwxk"],
"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
}
},
{
"id": "country_2",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 2,
"maxzoom": 12,
"filter": [
"all",
["==", "rank", 2],
["==", "class", "country"],
["has", "iso_a2"]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[3, 11],
[5, 14],
[7, 19]
]
},
"text-field": "{name:latin}",
"visibility": "visible",
"text-max-width": 6.25,
"text-transform": "none"
},
"paint": {
"text-color": {
"stops": [
[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
}
},
{
"id": "country_1",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 2,
"maxzoom": 12,
"filter": [
"all",
["==", "rank", 1],
["==", "class", "country"],
["has", "iso_a2"]
],
"layout": {
"text-font": ["hwxk"],
"text-size": {
"stops": [
[3, 14],
[5, 16],
[7, 18]
]
},
"text-field": "{name:nonlatin}",
"visibility": "visible",
"text-max-width": 6.25,
"text-transform": "none"
},
"paint": {
"text-color": {
"stops": [
[2, "rgba(108, 78, 107, 1)"],
[10, "rgba(57, 37, 73, 1)"]
]
},
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1
}
}
],
"id": "openmaptiles"
}