sotlas-frontend/src/assets/style.json

2632 wiersze
72 KiB
JSON

{
"version": 8,
"name": "Topo",
"metadata": {
"mapbox:type": "template",
"openmaptiles:version": "3.x",
"maputnik:renderer": "mbgljs"
},
"center": [0, -1.1368683772161603e-13],
"zoom": 1.2772872867631708,
"bearing": 0,
"pitch": 0,
"sources": {
"hillshading": {
"type": "raster",
"url": "https://3.{mapServer}.map.sotl.as/data/hillshade.json",
"tileSize": 256
},
"contours": {
"type": "vector",
"url": "https://2.{mapServer}.map.sotl.as/data/contours.json"
},
"summits": {
"type": "vector",
"url": "https://1.{mapServer}.map.sotl.as/data/summits.json"
},
"summits_inactive": {
"type": "vector",
"url": "https://1.{mapServer}.map.sotl.as/data/summits_inactive.json"
},
"regions": {
"type": "vector",
"url": "https://1.{mapServer}.map.sotl.as/data/regions.json"
},
"openmaptiles": {
"type": "vector",
"url": "https://0.{mapServer}.map.sotl.as/data/osm-sotlas.json"
}
},
"sprite": "https://sotl.as/sprites",
"glyphs": "https://0.{mapServer}.map.sotl.as/fonts/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"minzoom": 0,
"layout": {"visibility": "visible"},
"paint": {"background-color": "rgba(232, 230, 223, 1)"}
},
{
"id": "landcover_grass",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landcover",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"any",
["==", "subclass", "park"],
["==", "subclass", "village_green"],
["==", "class", "grass"],
["==", "class", "farmland"]
],
"layout": {"visibility": "visible"},
"paint": {
"fill-antialias": false,
"fill-color": "rgba(222, 226, 191, 1)",
"fill-opacity": 0.6
}
},
{
"id": "landcover_wood",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landcover",
"minzoom": 9,
"maxzoom": 22,
"filter": ["all", ["==", "class", "wood"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-antialias": true,
"fill-color": "rgba(191, 202, 155, 1)",
"fill-opacity": 1,
"fill-outline-color": "rgba(191, 202, 155, 1)",
"fill-translate": [1, 1]
}
},
{
"id": "landcover_ice",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landcover",
"minzoom": 9,
"maxzoom": 22,
"filter": ["all", ["==", "class", "ice"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-antialias": false,
"fill-color": "rgba(237, 239, 243, 1)",
"fill-opacity": 1
}
},
{
"id": "landcover_sand",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landcover",
"filter": ["all", ["in", "class", "sand"]],
"paint": {
"fill-antialias": false,
"fill-color": "rgba(232, 214, 38, 1)",
"fill-opacity": 0.3
}
},
{
"id": "landuse-residential",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"maxzoom": 16,
"filter": [
"all",
["==", "$type", "Polygon"],
["==", "class", "residential"]
],
"layout": {"visibility": "visible"},
"paint": {
"fill-color": "rgba(191, 186, 171, 1)",
"fill-opacity": {"stops": [[8, 0.4], [9, 0.1], [9.1, 0.4]]}
}
},
{
"id": "landuse_industrial_school",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 10,
"maxzoom": 22,
"filter": [
"any",
["==", "class", "industrial"],
["==", "class", "commercial"],
["==", "class", "retail"],
["==", "class", "stadium"],
["==", "class", "college"],
["==", "class", "university"],
["==", "class", "school"]
],
"layout": {"visibility": "visible"},
"paint": {
"fill-color": {
"stops": [
[12, "rgba(179, 179, 179, 1)"],
[16, "rgba(232, 230, 223, 1)"]
]
},
"fill-opacity": 0.5
}
},
{
"id": "landuse_cemetery",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 10,
"maxzoom": 22,
"filter": ["==", "class", "cemetery"],
"layout": {"visibility": "visible"},
"paint": {"fill-color": "rgba(175, 169, 157, 1)", "fill-opacity": 0.5}
},
{
"id": "landuse_hospital",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landuse",
"minzoom": 10,
"maxzoom": 22,
"filter": ["==", "class", "hospital"],
"layout": {"visibility": "visible"},
"paint": {"fill-color": "rgba(236, 224, 231, 1)", "fill-opacity": 0.5}
},
{
"id": "hillshading",
"type": "raster",
"source": "hillshading",
"layout": {"visibility": "none"},
"paint": {
"raster-opacity": {
"base": 0.5,
"stops": [[3, 0], [5, 0.15], [12, 0.15]]
},
"raster-fade-duration": 300,
"raster-contrast": 0
}
},
{
"id": "contour_index",
"type": "line",
"source": "contours",
"source-layer": "contour",
"filter": ["all", [">", "height", 0], ["in", "nth_line", 10, 5]],
"layout": {"visibility": "none"},
"paint": {
"line-color": "rgba(181, 129, 100, 1)",
"line-opacity": {"stops": [[7, 0.2], [10, 0.5]]},
"line-width": 1.3
}
},
{
"id": "contour",
"type": "line",
"source": "contours",
"source-layer": "contour",
"filter": ["all", ["!in", "nth_line", 10, 5], [">", "height", 0]],
"layout": {"visibility": "none"},
"paint": {
"line-color": "rgba(181, 129, 100, 1)",
"line-opacity": 0.3,
"line-width": 0.8
}
},
{
"id": "contour_label",
"type": "symbol",
"metadata": {},
"source": "contours",
"source-layer": "contour",
"filter": [
"all",
["==", "$type", "LineString"],
["in", "nth_line", 10, 5],
[">", "height", 0]
],
"layout": {
"text-size": {"base": 1, "stops": [[15, 9.5], [20, 12]]},
"text-allow-overlap": false,
"symbol-avoid-edges": true,
"text-ignore-placement": false,
"symbol-placement": "line",
"text-padding": 10,
"text-rotation-alignment": "map",
"text-field": "{height}",
"text-font": ["Open Sans Regular"],
"visibility": "none"
},
"paint": {
"text-color": "rgba(181, 129, 100, 1)",
"text-halo-color": "rgba(232, 230, 223, 1)",
"text-halo-width": 1,
"text-halo-blur": 1
}
},
{
"id": "waterway_tunnel",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"minzoom": 14,
"filter": ["all", ["==", "brunnel", "tunnel"]],
"layout": {"line-cap": "round"},
"paint": {
"line-color": "rgba(103, 166, 196, 1)",
"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"]],
"layout": {"line-cap": "round", "visibility": "visible"},
"paint": {
"line-color": {
"stops": [
[6, "rgba(103, 166, 196, 1)"],
[8, "rgba(196, 229, 236, 1)"],
[9, "rgba(103, 166, 196, 1)"]
]
},
"line-width": {"base": 1.2, "stops": [[11, 1], [20, 18]]}
}
},
{
"id": "waterway_other",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": ["all", ["!=", "class", "river"], ["!=", "brunnel", "tunnel"]],
"layout": {"line-cap": "butt", "visibility": "visible"},
"paint": {
"line-color": "rgba(103, 166, 196, 1)",
"line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 12]]}
}
},
{
"id": "water",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "water",
"filter": ["all"],
"layout": {"visibility": "visible"},
"paint": {"fill-color": "rgba(103, 166, 196, 1)"}
},
{
"id": "aeroway_fill",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 11,
"filter": ["==", "$type", "Polygon"],
"paint": {"fill-color": "rgba(229, 228, 224, 1)", "fill-opacity": 0.7}
},
{
"id": "aeroway_runway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "class", "runway"]
],
"paint": {
"line-color": "#f0ede9",
"line-width": {"base": 1.2, "stops": [[11, 3], [20, 16]]}
}
},
{
"id": "aeroway_taxiway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"all",
["==", "$type", "LineString"],
["==", "class", "taxiway"]
],
"paint": {
"line-color": "#f0ede9",
"line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]}
}
},
{
"id": "ferry",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["in", "class", "ferry"]],
"layout": {"line-join": "round", "visibility": "visible"},
"paint": {
"line-color": "rgba(47, 136, 183, 1)",
"line-width": 1.1,
"line-dasharray": [2, 2]
}
},
{
"id": "tunnel_motorway_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway"],
["==", "ramp", 1],
["==", "brunnel", "tunnel"]
],
"layout": {"line-join": "round", "visibility": "visible"},
"paint": {
"line-color": "#e9ac77",
"line-dasharray": [0.5, 0.25],
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
"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"},
"paint": {
"line-color": "#cfcdca",
"line-dasharray": [0.5, 0.25],
"line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]}
}
},
{
"id": "tunnel_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
"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"},
"paint": {
"line-color": "#cfcdca",
"line-opacity": {"stops": [[12, 0], [12.5, 1]]},
"line-width": {
"base": 1.2,
"stops": [[12, 0.5], [13, 1], [14, 4], [20, 15]]
}
}
},
{
"id": "tunnel_secondary_tertiary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "secondary", "tertiary"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 21]]}
}
},
{
"id": "tunnel_trunk_primary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "primary", "trunk"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
}
}
},
{
"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": "#e9ac77",
"line-dasharray": [0.5, 0.25],
"line-width": {
"base": 1.2,
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
}
}
},
{
"id": "tunnel_path_pedestrian",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "tunnel"],
["in", "class", "path", "pedestrian"]
],
"paint": {
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [1, 0.75],
"line-width": {"base": 1.2, "stops": [[14, 0.5], [20, 10]]}
}
},
{
"id": "tunnel_motorway_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway_link"],
["==", "ramp", 1],
["==", "brunnel", "tunnel"]
],
"layout": {"line-join": "round", "visibility": "visible"},
"paint": {
"line-color": "#fc8",
"line-width": {
"base": 1.2,
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
}
}
},
{
"id": "tunnel_service_track",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "service", "track"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fff",
"line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
}
},
{
"id": "tunnel_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]],
"layout": {"line-join": "round"},
"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"},
"paint": {
"line-color": "#fff",
"line-opacity": 1,
"line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 11.5]]}
}
},
{
"id": "tunnel_secondary_tertiary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "secondary", "tertiary"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fff4c6",
"line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 12]]}
}
},
{
"id": "tunnel_trunk_primary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "tunnel"],
["in", "class", "primary", "trunk"]
],
"layout": {"line-join": "round", "visibility": "visible"},
"paint": {
"line-color": "#fff4c6",
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
"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": "#ffdaa6",
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
"id": "tunnel_major_rail",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "rail"]],
"paint": {
"line-color": "#999",
"line-width": {"base": 1.4, "stops": [[14, 1], [20, 3]]}
}
},
{
"id": "tunnel_major_rail_hatching",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 14,
"maxzoom": 24,
"filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "rail"]],
"paint": {
"line-color": "#999",
"line-dasharray": [0.15, 10],
"line-width": {"base": 1.4, "stops": [[14, 4], [20, 12]]}
}
},
{
"id": "road_area_bridge",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "Polygon"],
["==", "brunnel", "bridge"]
],
"layout": {"visibility": "visible"},
"paint": {
"fill-color": "rgba(246, 241, 229, 0.6)",
"fill-antialias": true
}
},
{
"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(232, 230, 223, 1)", "fill-antialias": true}
},
{
"id": "road_pier",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "$type", "LineString"], ["in", "class", "pier"]],
"layout": {"line-cap": "round", "line-join": "round"},
"paint": {
"line-color": "rgba(232, 230, 223, 1)",
"line-width": {"base": 1.2, "stops": [[15, 1], [17, 4]]}
}
},
{
"id": "road_motorway_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "motorway"],
["==", "ramp", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
"id": "road_service_track_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 24,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "service", "track"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(160, 160, 160, 1)",
"line-width": {"base": 1.2, "stops": [[12, 1], [16, 4], [20, 11]]},
"line-opacity": {"stops": [[12, 0], [12.1, 1]]}
}
},
{
"id": "road_service_track",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"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": [[12, 0], [16, 2], [20, 7.5]]},
"line-opacity": {"stops": [[12, 0], [12.1, 1]]}
}
},
{
"id": "road_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "ramp", 1],
["!in", "class", "pedestrian", "path", "track", "service"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [[12, 1], [13, 3], [14, 6], [20, 23]]
}
}
},
{
"id": "road_path_pedestrian_sac",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 24,
"filter": [
"all",
["==", "$type", "LineString"],
["has", "sac_scale"],
["in", "class", "path", "pedestrian"]
],
"layout": {"visibility": "none", "line-join": "round"},
"paint": {
"line-color": [
"match",
["get", "sac_scale"],
"hiking",
"rgba(255,220,0,0.9)",
"mountain_hiking",
"rgba(255,0,0,0.5)",
"demanding_mountain_hiking",
"rgba(255,0,0,0.5)",
"alpine_hiking",
"rgba(0,0,255,0.5)",
"demanding_alpine_hiking",
"rgba(0,0,255,0.5)",
"difficult_alpine_hiking",
"rgba(0,0,255,0.5)",
"rgba(0,0,0,0)"
],
"line-offset": 0,
"line-blur": 0,
"line-gap-width": 0,
"line-opacity": {"stops": [[12, 0], [12.1, 1]]},
"line-width": {"base": 1.2, "stops": [[12, 0.5], [14, 2], [20, 12]]}
}
},
{
"id": "road_path_pedestrian",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "path", "pedestrian"]
],
"layout": {"line-join": "round", "visibility": "visible"},
"paint": {
"line-color": "rgba(112, 112, 112, 1)",
"line-dasharray": [3, 1],
"line-width": {"base": 1.2, "stops": [[14, 1], [20, 6]]},
"line-opacity": {"stops": [[12, 0], [12.1, 0.5], [14, 1]]}
}
},
{
"id": "road_path_pedestrian_sac_label",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 14,
"maxzoom": 24,
"filter": ["all", ["in", "class", "path", "pedestrian"]],
"layout": {
"visibility": "none",
"text-font": ["Open Sans Regular"],
"text-transform": "none",
"text-field": [
"match",
["get", "sac_scale"],
"hiking",
"T1",
"mountain_hiking",
"T2",
"demanding_mountain_hiking",
"T3",
"alpine_hiking",
"T4",
"demanding_alpine_hiking",
"T5",
"difficult_alpine_hiking",
"T6",
""
],
"text-size": {"stops": [[14, 9], [16, 14]]},
"icon-offset": [10, 10],
"text-anchor": "center",
"text-offset": [0, 0],
"text-letter-spacing": 0,
"symbol-placement": "line",
"symbol-spacing": 250
},
"paint": {
"text-color": "rgba(67, 67, 67, 1)",
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-translate": [0, 0],
"text-halo-width": {"stops": [[14, 1], [16, 2]]},
"text-halo-blur": {"stops": [[14, 1], [16, 2]]}
}
},
{
"id": "road_trunk_primary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "primary", "trunk"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 23]]
}
}
},
{
"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": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(230, 144, 81, 1)",
"line-width": {
"base": 1.2,
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
}
}
},
{
"id": "road_minor_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"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": "rgba(160, 160, 160, 1)",
"line-width": {"base": 1.2, "stops": [[12, 1], [14, 4], [20, 20]]},
"line-opacity": {"stops": [[12, 0], [12.1, 1]]}
}
},
{
"id": "road_minor",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
[
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "minor"]
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fff",
"line-opacity": {"stops": [[12, 0], [12.1, 1]]},
"line-width": {"base": 1.2, "stops": [[12, 0], [14, 2.5], [20, 18]]}
}
},
{
"id": "road_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "ramp", 1],
["!in", "class", "pedestrian", "path", "track", "service"]
],
"layout": {
"line-cap": "round",
"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": "road_motorway_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "motorway"],
["==", "ramp", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fc8",
"line-width": {
"base": 1.2,
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 19]]
}
}
},
{
"id": "road_secondary_tertiary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "secondary", "tertiary"],
["!=", "ramp", 1]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 21]]},
"line-opacity": {"stops": [[11, 0], [11.5, 1]]}
}
},
{
"id": "road_secondary_tertiary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "secondary", "tertiary"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(255, 238, 170, 1)",
"line-width": {"base": 1.2, "stops": [[6.5, 0], [8, 0.5], [20, 17]]},
"line-opacity": {"stops": [[11, 0], [11.5, 1]]}
}
},
{
"id": "road_trunk_primary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "primary", "trunk"]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fea",
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 19]]}
}
},
{
"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": {
"base": 1,
"stops": [
[5, "rgba(251, 183, 100, 1)"],
[6, "rgba(255, 204, 136, 1)"]
]
},
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
"id": "road_major_rail",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "rail"]
],
"paint": {
"line-color": "#999",
"line-width": {"base": 1.4, "stops": [[14, 1], [20, 3]]}
}
},
{
"id": "road_major_rail_hatching",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 14,
"maxzoom": 24,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "rail"]
],
"paint": {
"line-color": "#999",
"line-width": {"base": 1.4, "stops": [[14, 4], [20, 12]]},
"line-dasharray": [0.15, 10]
}
},
{
"id": "building",
"type": "fill",
"source": "openmaptiles",
"source-layer": "building",
"minzoom": 12,
"maxzoom": 24,
"layout": {"visibility": "visible"},
"paint": {
"fill-color": "rgba(189, 185, 177, 1)",
"fill-outline-color": "rgba(156, 153, 143, 1)",
"fill-antialias": true
}
},
{
"id": "building-3d",
"type": "fill-extrusion",
"metadata": {},
"source": "openmaptiles",
"source-layer": "building",
"minzoom": 14,
"layout": {"visibility": "none"},
"paint": {
"fill-extrusion-color": "rgba(171, 165, 156, 1)",
"fill-extrusion-height": {
"property": "render_height",
"type": "identity"
},
"fill-extrusion-base": {
"property": "render_min_height",
"type": "identity"
},
"fill-extrusion-opacity": 0.5
}
},
{
"id": "bridge_motorway_link_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway_link"],
["==", "ramp", 1],
["==", "brunnel", "bridge"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
"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-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
"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-opacity": {"stops": [[12, 0], [12.5, 1]]},
"line-width": {
"base": 1.2,
"stops": [[12, 0.5], [13, 1], [14, 4], [20, 25]]
}
}
},
{
"id": "bridge_path_pedestrian_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"],
["in", "class", "path", "pedestrian"]
],
"layout": {"line-join": "miter", "visibility": "visible"},
"paint": {
"line-color": "hsl(35, 6%, 80%)",
"line-dasharray": [1, 0],
"line-width": {"base": 1.2, "stops": [[14, 1.5], [20, 18]]}
}
},
{
"id": "bridge_secondary_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": "#e9ac77",
"line-opacity": 1,
"line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 21]]}
}
},
{
"id": "bridge_trunk_primary_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "primary", "trunk"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
}
}
},
{
"id": "bridge_motorway_casing",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway"],
["==", "brunnel", "bridge"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
}
}
},
{
"id": "bridge_path_pedestrian",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"],
["in", "class", "path", "pedestrian"]
],
"paint": {
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [1, 0.3],
"line-width": {"base": 1.2, "stops": [[14, 0.5], [20, 10]]}
}
},
{
"id": "bridge_motorway_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway_link"],
["==", "ramp", 1],
["==", "brunnel", "bridge"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fc8",
"line-width": {
"base": 1.2,
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
}
}
},
{
"id": "bridge_service_track",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "service", "track"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fff",
"line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
}
},
{
"id": "bridge_link",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fea",
"line-width": {
"base": 1.2,
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
}
}
},
{
"id": "bridge_street",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "minor"]],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fff",
"line-opacity": 1,
"line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]}
}
},
{
"id": "bridge_secondary_tertiary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "secondary", "tertiary"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fea",
"line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 12]]}
}
},
{
"id": "bridge_trunk_primary",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "primary", "trunk"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fea",
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
"id": "bridge_motorway",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "class", "motorway"],
["==", "brunnel", "bridge"]
],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fc8",
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
"id": "bridge_major_rail",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
"paint": {
"line-color": "#999",
"line-width": {"base": 1.4, "stops": [[14, 1], [20, 3]]}
}
},
{
"id": "bridge_major_rail_hatching",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 14,
"maxzoom": 24,
"filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
"paint": {
"line-color": "#999",
"line-width": {"base": 1.4, "stops": [[14, 4], [20, 12]]},
"line-dasharray": [0.15, 10]
}
},
{
"id": "cablecar",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 24,
"filter": ["==", "class", "cable_car"],
"layout": {"visibility": "visible", "line-cap": "round"},
"paint": {
"line-color": "rgba(153, 153, 153, 1)",
"line-width": {"base": 1, "stops": [[11, 1], [19, 2.5]]}
}
},
{
"id": "cablecar-dash",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 24,
"filter": ["==", "class", "cable_car"],
"layout": {"visibility": "visible", "line-cap": "round"},
"paint": {
"line-color": "hsl(0, 0%, 60%)",
"line-width": {"base": 1, "stops": [[11, 3], [19, 5.5]]},
"line-dasharray": [2, 3]
}
},
{
"id": "boundary_3",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "boundary",
"filter": ["all", ["in", "admin_level", 3, 4], ["==", "maritime", 0]],
"layout": {"line-join": "round", "visibility": "visible"},
"paint": {
"line-color": "#9e9cab",
"line-dasharray": [5, 1],
"line-width": {"base": 1, "stops": [[4, 0.4], [5, 1], [12, 1.8]]},
"line-opacity": 0.3
}
},
{
"id": "boundary_2_maritime",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "boundary",
"filter": ["all", ["==", "admin_level", 2], ["==", "maritime", 1]],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(77, 144, 175, 1)",
"line-opacity": {"base": 1, "stops": [[4, 0], [6, 1]]},
"line-width": {"base": 1, "stops": [[5, 1.2], [12, 3]]}
}
},
{
"id": "boundary_2",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "boundary",
"filter": ["all", ["==", "admin_level", 2], ["==", "maritime", 0]],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(136, 136, 136, 1)",
"line-opacity": {
"base": 1,
"stops": [[0, 0.6], [4, 0.9], [12, 0.9], [18, 0.6]]
},
"line-width": {"base": 1, "stops": [[3, 1], [5, 1.2], [12, 3]]}
}
},
{
"id": "water_name_line",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "water_name",
"minzoom": 0,
"filter": ["all", ["==", "$type", "LineString"]],
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Regular"],
"text-max-width": 5,
"text-size": 12,
"symbol-placement": "line",
"visibility": "visible"
},
"paint": {
"text-color": "rgba(8, 86, 125, 1)",
"text-halo-color": "rgba(255, 255, 255, 0.45)",
"text-halo-width": 1.5
}
},
{
"id": "water_name_point-lake",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "water_name",
"minzoom": 0,
"filter": ["all", ["==", "$type", "Point"], ["in", "class", "lake"]],
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 5,
"text-size": 12,
"visibility": "visible"
},
"paint": {
"text-color": "rgba(8, 86, 125, 1)",
"text-halo-color": "rgba(255, 255, 255, 0.45)",
"text-halo-width": 1.5
}
},
{
"id": "waterway-name",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "waterway",
"minzoom": 13,
"filter": ["all", ["==", "$type", "LineString"], ["has", "name"]],
"layout": {
"text-font": ["Open Sans Italic"],
"text-size": 11,
"text-field": "{name:latin} {name:nonlatin}",
"text-max-width": 5,
"text-rotation-alignment": "map",
"symbol-placement": "line",
"text-letter-spacing": 0.1,
"symbol-spacing": 350,
"visibility": "visible",
"text-offset": [0, -0.8]
},
"paint": {
"text-color": "rgba(8, 86, 125, 1)",
"text-halo-width": 2,
"text-halo-color": "rgba(255, 255, 255, 0.45)"
}
},
{
"id": "water_name_point",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "water_name",
"minzoom": 0,
"filter": ["all", ["==", "$type", "Point"], ["!=", "class", "lake"]],
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 5,
"text-size": 13,
"visibility": "visible"
},
"paint": {
"text-color": "rgba(8, 86, 125, 1)",
"text-halo-color": "rgba(255, 255, 255, 0.45)",
"text-halo-width": 2
}
},
{
"id": "road_label_track",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation_name",
"filter": ["all", ["in", "class", "track"]],
"layout": {
"symbol-placement": "line",
"text-anchor": "center",
"text-field": "{name:latin} {name:nonlatin}",
"text-font": ["Open Sans Regular"],
"text-offset": [0, 0.15],
"text-size": {"base": 1, "stops": [[13, 12], [14, 13]]},
"visibility": "visible"
},
"paint": {
"text-color": "rgba(89, 105, 63, 1)",
"text-halo-blur": 0.5,
"text-halo-width": 1,
"text-halo-color": "rgba(255,255,255,0.5)"
}
},
{
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"layout": {
"symbol-placement": "line",
"text-anchor": "center",
"text-field": "{name:latin} {name:nonlatin}",
"text-font": [
"Open Sans Regular"
],
"text-size": {
"base": 1,
"stops": [
[
13,
10
],
[
14,
12
]
]
}
},
"id": "road_label_path",
"filter": [
"all",
[
"==",
"class",
"path"
]
],
"paint": {
"text-color": "rgba(99, 94, 84, 1)",
"text-translate-anchor": "map",
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 1.5,
"text-halo-blur": 1
}
},
{
"id": "road_label",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"filter": ["all", ["!in", "class", "track", "path"]],
"layout": {
"symbol-placement": "line",
"text-anchor": "center",
"text-field": "{name:latin} {name:nonlatin}",
"text-font": ["Open Sans Regular"],
"text-offset": [0, 0.15],
"text-size": {"base": 1, "stops": [[13, 10], [14, 12]]},
"visibility": "visible"
},
"paint": {
"text-color": "rgba(99, 94, 84, 1)",
"text-halo-blur": 0.5,
"text-halo-width": 1,
"text-halo-color": "rgba(255,255,255,0.5)"
}
},
{
"id": "highway-shield",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 8,
"filter": [
"all",
["<=", "ref_length", 6],
["==", "$type", "LineString"],
["!in", "network", "us-interstate", "us-highway", "us-state"]
],
"layout": {
"text-size": 10,
"icon-image": "road_{ref_length}",
"icon-rotation-alignment": "viewport",
"symbol-spacing": 200,
"text-font": ["Open Sans Regular"],
"symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]},
"text-rotation-alignment": "viewport",
"icon-size": 1,
"text-field": "{ref}",
"visibility": "none"
},
"paint": {}
},
{
"id": "highway-shield-us-interstate",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 7,
"filter": [
"all",
["<=", "ref_length", 6],
["==", "$type", "LineString"],
["in", "network", "us-interstate"]
],
"layout": {
"text-size": 10,
"icon-image": "{network}_{ref_length}",
"icon-rotation-alignment": "viewport",
"symbol-spacing": 200,
"text-font": ["Open Sans Regular"],
"symbol-placement": {
"base": 1,
"stops": [[7, "point"], [7, "line"], [8, "line"]]
},
"text-rotation-alignment": "viewport",
"icon-size": 1,
"text-field": "{ref}",
"visibility": "none"
},
"paint": {"text-color": "rgba(0, 0, 0, 1)"}
},
{
"id": "highway-shield-us-other",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 9,
"filter": [
"all",
["<=", "ref_length", 6],
["==", "$type", "LineString"],
["in", "network", "us-highway", "us-state"]
],
"layout": {
"text-size": 10,
"icon-image": "{network}_{ref_length}",
"icon-rotation-alignment": "viewport",
"symbol-spacing": 200,
"text-font": ["Open Sans Regular"],
"symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]},
"text-rotation-alignment": "viewport",
"icon-size": 1,
"text-field": "{ref}",
"visibility": "none"
},
"paint": {"text-color": "rgba(0, 0, 0, 1)"}
},
{
"id": "mountain_peak",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "mountain_peak",
"minzoom": 12,
"filter": ["all", ["==", "$type", "Point"], ["==", "rank", 1]],
"layout": {
"icon-size": 1,
"text-anchor": "bottom",
"text-font": ["Open Sans Regular"],
"text-max-width": 8,
"visibility": "visible",
"icon-allow-overlap": false,
"text-field": "{name:latin} {name:nonlatin}",
"icon-padding": 2,
"icon-image": "mountain_11",
"text-offset": [0, -1],
"text-size": {"stops": [[12, 10], [16, 12]]},
"text-padding": 40
},
"paint": {
"text-color": "rgba(51, 51, 51, 1)",
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,1)",
"text-halo-width": 1,
"text-opacity": 0.8,
"icon-opacity": 0.8
}
},
{
"id": "poi_z16_subclass",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "rank", 20],
[
"any",
[
"all",
["in", "class", "pitch"],
[
"in",
"subclass",
"soccer",
"tennis",
"baseball",
"basketball",
"swimming",
"golf"
]
]
],
["any", ["!has", "level"], ["==", "level", 0]]
],
"layout": {
"icon-image": "{subclass}_11",
"text-anchor": "top",
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 9,
"text-offset": [0, 0.6],
"text-padding": 2,
"text-size": 12
},
"paint": {
"text-color": "#666",
"text-halo-blur": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_z16",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 16,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "rank", 20],
[
"none",
[
"all",
["in", "class", "pitch"],
[
"in",
"subclass",
"soccer",
"tennis",
"baseball",
"basketball",
"swimming",
"golf"
]
]
],
["any", ["!has", "level"], ["==", "level", 0]]
],
"layout": {
"icon-image": "{class}_11",
"text-anchor": "top",
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 9,
"text-offset": [0, 0.6],
"text-padding": 2,
"text-size": 12
},
"paint": {
"text-color": "#666",
"text-halo-blur": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_z15",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
["==", "$type", "Point"],
[">=", "rank", 7],
["<", "rank", 20],
["any", ["!has", "level"], ["==", "level", 0]]
],
"layout": {
"icon-image": "{class}_11",
"text-anchor": "top",
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 9,
"text-offset": [0, 0.6],
"text-padding": 2,
"text-size": 12
},
"paint": {
"text-color": "#666",
"text-halo-blur": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_z14",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 14.2,
"filter": [
"all",
["==", "$type", "Point"],
["any", ["<", "rank", 7]],
["any", ["!has", "level"], ["==", "level", 0]],
["!in", "class", "playground", "information"]
],
"layout": {
"icon-image": "{class}_11",
"text-anchor": "top",
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 9,
"text-offset": [0, 0.6],
"text-padding": 2,
"text-size": 12,
"icon-size": 0.9,
"visibility": "visible"
},
"paint": {
"text-color": "#666",
"text-halo-blur": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_z14_info",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 14.2,
"filter": [
"all",
["==", "$type", "Point"],
["any", ["<", "rank", 7]],
["any", ["!has", "level"], ["==", "level", 0]],
["==", "class", "information"]
],
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 9,
"text-padding": 2,
"text-size": 12,
"visibility": "visible"
},
"paint": {
"text-color": "#666",
"text-halo-blur": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_transit",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "poi",
"minzoom": 15,
"filter": ["all", ["in", "class", "bus", "railway", "airport"]],
"layout": {
"icon-image": "{class}_11",
"text-anchor": "left",
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 9,
"text-offset": [0.9, 0],
"text-padding": 2,
"text-size": 12,
"visibility": "visible",
"icon-size": 0.9
},
"paint": {
"text-color": "rgba(102, 102, 102, 1)",
"text-halo-blur": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "summits_selected",
"type": "circle",
"source": "summits",
"source-layer": "summits",
"filter": ["all", ["in", "code"]],
"layout": {"visibility": "visible"},
"paint": {
"circle-color": "rgba(2, 153, 243, 1)",
"circle-radius": {"stops": [[6, 15], [20, 50]]},
"circle-opacity": 0.75,
"circle-stroke-color": "rgba(210, 255, 0, 0.05)",
"circle-stroke-width": 0,
"circle-stroke-opacity": 1,
"circle-blur": 0.7
}
},
{
"id": "summits_names",
"type": "symbol",
"source": "summits",
"source-layer": "summits",
"minzoom": 10,
"maxzoom": 24,
"filter": ["all", ["in", "code"]],
"layout": {
"visibility": "visible",
"text-field": "{name}\n{code}\n{alt} m",
"text-size": {"stops": [[10, 10], [20, 16]]},
"text-font": ["Open Sans Regular"],
"text-anchor": "bottom",
"text-offset": {"stops": [[10, [0, -1]], [20, [0, -2]]]},
"icon-size": 1,
"symbol-spacing": 250,
"symbol-avoid-edges": false,
"text-keep-upright": true,
"text-transform": "none",
"text-optional": false,
"text-allow-overlap": {"stops": [[18, false], [19, true]]},
"text-ignore-placement": false,
"text-justify": "center",
"text-rotate": 0
},
"paint": {
"text-color": "rgba(51, 51, 51, 1)",
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 1,
"text-halo-blur": 1
}
},
{
"id": "summits_circles",
"type": "circle",
"source": "summits",
"source-layer": "summits",
"filter": ["all", ["in", "code"]],
"layout": {"visibility": "visible"},
"paint": {
"circle-stroke-color": "rgba(255, 255, 255, 1)",
"circle-color": [
"match",
["get", "points"],
[1],
"rgba(77, 122, 32, 1)",
[2],
"rgba(109, 165, 54, 1)",
[4],
"rgba(174, 167, 39, 1)",
[6],
"rgba(239, 168, 24, 1)",
[8],
"rgba(220, 93, 4, 1)",
[10],
"rgba(200, 16, 30, 1)",
"#000"
],
"circle-stroke-width": {"stops": [[4, 0], [15, 2]]},
"circle-radius": {"stops": [[0, 0.1], [10, 8], [22, 20]]}
}
},
{
"id": "summits_activations",
"type": "symbol",
"source": "summits",
"source-layer": "summits",
"minzoom": 10,
"maxzoom": 24,
"filter": ["all", ["in", "code"]],
"layout": {
"text-field": "{act}",
"text-font": ["Open Sans Bold"],
"text-size": {"stops": [[10, 8], [20, 16]]}
},
"paint": {"text-color": "rgba(255, 255, 255, 1)"}
},
{
"id": "summits_highlight",
"type": "circle",
"source": "summits",
"source-layer": "summits",
"filter": ["all", ["in", "code"]],
"layout": {"visibility": "visible"},
"paint": {
"circle-color": "rgba(2, 243, 198, 1)",
"circle-radius": {"stops": [[6, 15], [20, 50]]},
"circle-opacity": 0.75,
"circle-stroke-color": "rgba(210, 255, 0, 0.05)",
"circle-stroke-width": 0,
"circle-stroke-opacity": 1,
"circle-blur": 0.7
}
},
{
"id": "summits_inactive_names",
"type": "symbol",
"source": "summits_inactive",
"source-layer": "summits_inactive",
"minzoom": 10,
"maxzoom": 24,
"filter": ["all", ["in", "code"]],
"layout": {
"visibility": "none",
"text-field": "{name}\n{code}\n{alt} m\n(inactive)",
"text-size": {"stops": [[10, 10], [20, 16]]},
"text-font": ["Open Sans Regular"],
"text-anchor": "bottom",
"text-offset": {"stops": [[10, [0, -1]], [20, [0, -2]]]},
"icon-size": 1,
"symbol-spacing": 250,
"symbol-avoid-edges": false,
"text-keep-upright": true,
"text-transform": "none",
"text-optional": false,
"text-allow-overlap": {"stops": [[18, false], [19, true]]},
"text-ignore-placement": false,
"text-justify": "center",
"text-rotate": 0
},
"paint": {
"text-color": "rgba(51, 51, 51, 1)",
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 1,
"text-halo-blur": 1,
"text-opacity": 1
}
},
{
"id": "summits_inactive_circles",
"type": "circle",
"source": "summits_inactive",
"source-layer": "summits_inactive",
"filter": ["all", ["in", "code"]],
"layout": {"visibility": "none"},
"paint": {
"circle-stroke-color": "rgba(255, 255, 255, 1)",
"circle-color": [
"match",
["get", "points"],
[1],
"rgba(77, 122, 32, 0.5)",
[2],
"rgba(109, 165, 54, 0.5)",
[4],
"rgba(174, 167, 39, 0.5)",
[6],
"rgba(239, 168, 24, 0.5)",
[8],
"rgba(220, 93, 4, 0.5)",
[10],
"rgba(200, 16, 30, 0.5)",
"#000"
],
"circle-stroke-width": {"stops": [[4, 0], [15, 2]]},
"circle-radius": {"stops": [[0, 0.1], [10, 8], [22, 20]]}
}
},
{
"id": "regions_areas",
"type": "fill",
"source": "regions",
"source-layer": "areas",
"minzoom": 0,
"layout": {"visibility": "none"},
"paint": {
"fill-opacity": 0.1,
"fill-antialias": false,
"fill-color": "rgba(0, 0, 0, 1)"
}
},
{
"id": "regions_labels",
"type": "symbol",
"source": "regions",
"source-layer": "labels",
"layout": {
"visibility": "none",
"text-field": "{region}",
"text-anchor": "top-left",
"text-justify": "center",
"text-offset": [0.3, 0.3],
"text-font": ["Open Sans Regular"],
"text-size": {"stops": [[6, 8], [10, 16]]}
},
"paint": {
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 0.5,
"text-halo-blur": 1,
"text-translate": [0, 0]
}
},
{
"id": "place_other",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"filter": [
"all",
["in", "class", "hamlet", "island", "islet", "neighbourhood", "suburb"]
],
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Regular"],
"text-letter-spacing": 0.1,
"text-max-width": 9,
"text-size": {"base": 1.2, "stops": [[12, 10], [15, 14]]},
"text-transform": "uppercase",
"visibility": "visible"
},
"paint": {
"text-color": "rgba(47, 49, 60, 1)",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1.2
}
},
{
"id": "place_village",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 10,
"maxzoom": 14,
"filter": ["all", ["==", "class", "village"]],
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Regular"],
"text-max-width": 8,
"text-size": {"base": 1.2, "stops": [[10, 12], [15, 22]]}
},
"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": 0,
"maxzoom": 14,
"filter": ["all", ["==", "class", "town"]],
"layout": {
"icon-image": {"base": 1, "stops": [[0, "dot_9"], [10, ""]]},
"text-anchor": {"stops": [[6, "bottom"], [10, "center"]]},
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Regular"],
"text-max-width": 8,
"text-offset": [0, 0],
"text-size": {"base": 1.2, "stops": [[7, 8], [11, 20]]},
"visibility": "visible"
},
"paint": {
"text-color": "#333",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1.2
}
},
{
"id": "place_city",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 5,
"maxzoom": 12,
"filter": [
"all",
["==", "class", "city"],
["<=", "rank", 8],
["!=", "capital", 2]
],
"layout": {
"icon-image": {"base": 1, "stops": [[0, "dot_9"], [10, ""]]},
"text-anchor": {"stops": [[6, "bottom"], [10, "center"]]},
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Regular"],
"text-max-width": 8,
"text-offset": [0, 0],
"text-size": {"base": 1.2, "stops": [[7, 14], [11, 24]]},
"icon-allow-overlap": false,
"icon-optional": false,
"visibility": "visible"
},
"paint": {
"text-color": "#333",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1.2
}
},
{
"id": "place_city_capital",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 5,
"maxzoom": 12,
"filter": ["all", ["==", "capital", 2]],
"layout": {
"icon-image": {"base": 1, "stops": [[0, "dot_11"], [8, ""]]},
"text-anchor": {"stops": [[6, "bottom"], [8, "center"]]},
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Regular"],
"text-max-width": 8,
"text-offset": [0, 0],
"text-size": {"base": 1.2, "stops": [[7, 18], [11, 28]]},
"icon-allow-overlap": false,
"icon-optional": false,
"visibility": "visible"
},
"paint": {
"text-color": "#333",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1.2
}
},
{
"id": "state",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"minzoom": 3,
"maxzoom": 8,
"filter": ["all", ["==", "class", "state"]],
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Open Sans Regular"],
"text-size": {"stops": [[4, 11], [6, 15]]},
"text-transform": "uppercase",
"visibility": "visible"
},
"paint": {
"text-color": "rgba(94, 95, 101, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 1
}
},
{
"id": "country_other",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"filter": ["all", ["==", "class", "country"], ["!has", "iso_a2"]],
"layout": {
"text-field": "{name:latin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 6.25,
"text-size": {"stops": [[3, 9], [7, 15]]},
"text-transform": "none",
"visibility": "visible"
},
"paint": {
"text-color": "rgba(47, 49, 60, 1)",
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 0.7
}
},
{
"id": "country_3",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"maxzoom": 8,
"filter": [
"all",
[">=", "rank", 3],
["==", "class", "country"],
["has", "iso_a2"]
],
"layout": {
"text-field": "{name:latin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 6.25,
"text-size": {"stops": [[3, 11], [7, 17]]},
"text-transform": "none",
"visibility": "visible"
},
"paint": {
"text-color": "rgba(47, 49, 60, 1)",
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 0.7
}
},
{
"id": "country_2",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"maxzoom": 8,
"filter": [
"all",
["==", "rank", 2],
["==", "class", "country"],
["has", "iso_a2"]
],
"layout": {
"text-field": "{name:latin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 6.25,
"text-size": {"stops": [[2, 11], [5, 17]]},
"text-transform": "none",
"visibility": "visible"
},
"paint": {
"text-color": "rgba(47, 49, 60, 1)",
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 1
}
},
{
"id": "country_1",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"maxzoom": 8,
"filter": [
"all",
["==", "rank", 1],
["==", "class", "country"],
["has", "iso_a2"]
],
"layout": {
"text-field": "{name:latin}",
"text-font": ["Open Sans Italic"],
"text-max-width": 6.25,
"text-size": {"stops": [[1, 11], [4, 17]]},
"text-transform": "none",
"visibility": "visible"
},
"paint": {
"text-color": "rgba(47, 49, 60, 1)",
"text-halo-blur": 1,
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 0.7
}
},
{
"id": "continent",
"type": "symbol",
"metadata": {},
"source": "openmaptiles",
"source-layer": "place",
"maxzoom": 1,
"filter": ["all", ["==", "class", "continent"]],
"layout": {
"text-field": "{name:latin}",
"text-font": ["Open Sans Bold"],
"text-size": 13,
"text-transform": "uppercase",
"text-justify": "center",
"visibility": "visible"
},
"paint": {
"text-color": "rgba(59, 60, 58, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 1
}
}
],
"id": "topo"
}