2023-10-31 20:22:44 +00:00

434 lines
12 KiB
JSON

[
{
"id": "background",
"type": "background",
"paint": {"background-color": "#fff"}
},
{
"id": "landcover_wood",
"type": "fill",
"source": "static_hackney",
"source-layer": "landcover",
"filter": ["==", "class", "wood"],
"paint": {
"fill-color": "rgba(218, 218, 218, 0.51)",
"fill-opacity": {"base": 1, "stops": [[8, 0.6], [22, 1]]}
}
},
{
"id": "landcover-grass",
"type": "fill",
"metadata": {"mapbox:group": "1444849388993.3071"},
"source": "static_hackney",
"source-layer": "landcover",
"filter": ["==", "class", "grass"],
"paint": {"fill-color": "rgba(236, 235, 235, 1)", "fill-opacity": 1}
},
{
"id": "water",
"type": "fill",
"source": "static_hackney",
"source-layer": "water",
"filter": ["all", ["!=", "brunnel", "tunnel"]],
"layout": {"visibility": "visible"},
"paint": {}
},
{
"id": "building",
"type": "fill",
"metadata": {"mapbox:group": "1444849364238.8171"},
"source": "static_hackney",
"source-layer": "building",
"layout": {"visibility": "visible"},
"paint": {
"fill-antialias": true,
"fill-color": {
"base": 1,
"stops": [
[15.5, "rgba(241, 240, 240, 1)"],
[16, "rgba(212, 212, 212, 1)"]
]
}
}
},
{
"id": "building-top",
"type": "fill",
"metadata": {"mapbox:group": "1444849364238.8171"},
"source": "static_hackney",
"source-layer": "building",
"layout": {"visibility": "visible"},
"paint": {
"fill-color": "rgba(249, 249, 249, 1)",
"fill-opacity": {"base": 1, "stops": [[13, 0], [16, 1]]},
"fill-outline-color": "rgba(181, 180, 179, 1)",
"fill-translate": {"base": 1, "stops": [[14, [0, 0]], [16, [-2, -2]]]}
}
},
{
"id": "boundary-admin2_z0-4",
"type": "line",
"metadata": {},
"source": "static_hackney",
"source-layer": "boundary",
"maxzoom": 5,
"filter": ["all", ["==", "admin_level", 2], ["!has", "claimed_by"]],
"layout": {"visibility": "visible"},
"paint": {"line-width": 0.5}
},
{
"id": "boundary-admin2_z5-",
"type": "line",
"metadata": {},
"source": "static_hackney",
"source-layer": "boundary",
"minzoom": 5,
"filter": ["==", "admin_level", 2],
"layout": {"visibility": "visible"},
"paint": {"line-width": 0.5}
},
{
"id": "transportation",
"type": "line",
"metadata": {},
"source": "static_hackney",
"source-layer": "transportation",
"filter": ["all", ["==", "$type", "LineString"], ["!=", "class", "pier"]],
"layout": {"visibility": "visible"},
"paint": {
"line-color": {
"stops": [[12, "rgba(212, 209, 209, 1)"], [16, "rgba(8, 8, 8, 1)"]]
},
"line-width": {"stops": [[12, 0.5], [16, 1], [17, 3]]}
}
},
{
"id": "road_area_pier",
"type": "fill",
"metadata": {},
"source": "static_hackney",
"source-layer": "transportation",
"filter": ["all", ["==", "$type", "Polygon"], ["==", "class", "pier"]],
"layout": {"visibility": "visible"},
"paint": {
"fill-antialias": true,
"fill-color": "rgb(242,243,240)",
"fill-opacity": 1
}
},
{
"id": "road_pier",
"type": "line",
"metadata": {},
"source": "static_hackney",
"source-layer": "transportation",
"filter": ["all", ["==", "$type", "LineString"], ["in", "class", "pier"]],
"layout": {"line-cap": "round", "line-join": "round"},
"paint": {
"line-color": "rgb(242,243,240)",
"line-width": {"base": 1.2, "stops": [[15, 1], [17, 4]]}
}
},
{
"id": "place_label_other",
"type": "symbol",
"source": "static_hackney",
"source-layer": "place",
"minzoom": 8,
"filter": [
"all",
["==", "$type", "Point"],
["!in", "class", "city", "state", "country", "continent"]
],
"layout": {
"text-anchor": "center",
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Noto Sans Regular"],
"text-max-width": 6,
"text-size": {"stops": [[6, 10], [12, 14]]},
"visibility": "visible"
},
"paint": {
"text-color": "hsl(0, 10%, 25%)",
"text-halo-blur": 0,
"text-halo-color": "hsl(0, 0%, 100%)",
"text-halo-width": 2
}
},
{
"id": "highway-name-minor",
"type": "symbol",
"source": "static_hackney",
"source-layer": "transportation_name",
"minzoom": 15,
"filter": [
"all",
["==", "$type", "LineString"],
["in", "class", "minor", "service", "track"]
],
"layout": {
"symbol-placement": "line",
"text-field": "{name:latin} {name:nonlatin}",
"text-font": ["Noto Sans Regular"],
"text-rotation-alignment": "map",
"text-size": {"base": 1, "stops": [[13, 12], [14, 13]]},
"visibility": "visible"
},
"paint": {
"text-color": "rgba(0, 0, 0, 1)",
"text-halo-blur": 0.5,
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 1
}
},
{
"id": "highway-name-major",
"type": "symbol",
"source": "static_hackney",
"source-layer": "transportation_name",
"minzoom": 12.2,
"filter": ["in", "class", "primary", "secondary", "tertiary", "trunk"],
"layout": {
"symbol-placement": "line",
"text-field": "{name:latin} {name:nonlatin}",
"text-font": ["Noto Sans Regular"],
"text-rotation-alignment": "map",
"text-size": {"base": 1, "stops": [[13, 12], [14, 13]]}
},
"paint": {
"text-color": "rgba(0, 0, 0, 1)",
"text-halo-blur": 0.5,
"text-halo-color": "rgba(255, 255, 255, 1)",
"text-halo-width": 1
}
},
{
"id": "place_label_city",
"type": "symbol",
"source": "static_hackney",
"source-layer": "place",
"maxzoom": 16,
"filter": ["all", ["==", "$type", "Point"], ["==", "class", "city"]],
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Noto Sans Regular"],
"text-max-width": 10,
"text-size": {"stops": [[3, 12], [8, 16]]}
},
"paint": {
"text-color": "hsl(0, 0%, 0%)",
"text-halo-blur": 0,
"text-halo-color": "hsla(0, 0%, 100%, 0.75)",
"text-halo-width": 2
}
},
{
"id": "place-continent",
"type": "symbol",
"source": "static_hackney",
"source-layer": "place",
"filter": ["==", "class", "continent"],
"layout": {
"text-field": "{name:latin}",
"text-font": ["Metropolis Extra Bold Italic"],
"text-line-height": 1.5,
"text-max-width": 4,
"text-size": 13,
"visibility": "visible"
},
"paint": {"text-halo-color": "#fff", "text-halo-width": 2}
},
{
"id": "place-country",
"type": "symbol",
"source": "static_hackney",
"source-layer": "place",
"filter": ["==", "class", "country"],
"layout": {
"text-field": "{name:latin}",
"text-font": ["Noto Sans Bold"],
"text-size": 12,
"visibility": "visible"
},
"paint": {"text-halo-color": "#fff", "text-halo-width": 1.5}
},
{
"id": "poi-level-1",
"type": "symbol",
"source": "static_hackney",
"source-layer": "poi",
"minzoom": 14,
"filter": [
"all",
["==", "$type", "Point"],
["<=", "rank", 14],
["has", "name"]
],
"layout": {
"text-anchor": "top",
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Noto Sans Italic"],
"text-max-width": 9,
"text-offset": [0, 0.6],
"text-padding": 2,
"text-size": 12
},
"paint": {
"text-color": "rgba(72, 71, 71, 1)",
"text-halo-blur": 0.8,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "waterway-name",
"type": "symbol",
"source": "static_hackney",
"source-layer": "waterway",
"minzoom": 13,
"filter": ["all", ["==", "$type", "LineString"], ["has", "name"]],
"layout": {
"symbol-placement": "line",
"symbol-spacing": 350,
"text-field": "{name:latin} {name:nonlatin}",
"text-font": ["Noto Sans Italic"],
"text-letter-spacing": 0.2,
"text-max-width": 5,
"text-rotation-alignment": "map",
"text-size": 14
},
"paint": {
"text-color": "rgba(6, 6, 6, 1)",
"text-halo-color": "rgba(245, 242, 242, 0.83)",
"text-halo-width": 1.5
}
},
{
"id": "water-name-lakeline",
"type": "symbol",
"source": "static_hackney",
"source-layer": "water_name",
"filter": ["==", "$type", "LineString"],
"layout": {
"symbol-placement": "line",
"symbol-spacing": 350,
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Noto Sans Italic"],
"text-letter-spacing": 0.2,
"text-max-width": 5,
"text-rotation-alignment": "map",
"text-size": 14
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255, 255, 255, 0)",
"text-halo-width": 1.5
}
},
{
"id": "water-name-ocean",
"type": "symbol",
"source": "static_hackney",
"source-layer": "water_name",
"filter": ["all", ["==", "$type", "Point"], ["==", "class", "ocean"]],
"layout": {
"symbol-placement": "point",
"symbol-spacing": 350,
"text-field": "{name:latin}",
"text-font": ["Noto Sans Italic"],
"text-letter-spacing": 0.2,
"text-max-width": 5,
"text-rotation-alignment": "map",
"text-size": 14,
"text-transform": "uppercase"
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255, 255, 255, 0)",
"text-halo-width": 1.5
}
},
{
"id": "water-name-other",
"type": "symbol",
"source": "static_hackney",
"source-layer": "water_name",
"filter": ["all", ["==", "$type", "Point"], ["!in", "class", "ocean"]],
"layout": {
"symbol-placement": "point",
"symbol-spacing": 350,
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": ["Noto Sans Italic"],
"text-letter-spacing": 0.2,
"text-max-width": 5,
"text-rotation-alignment": "map",
"text-size": {"stops": [[0, 10], [6, 14]]},
"visibility": "visible"
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(255, 255, 255, 0)",
"text-halo-width": 1.5
}
},
{
"id": "boundary_state",
"type": "line",
"metadata": {"mapbox:group": "a14c9607bc7954ba1df7205bf660433f"},
"source": "static_hackney",
"source-layer": "boundary",
"filter": ["==", "admin_level", 4],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-blur": 0.4,
"line-color": "rgba(72, 70, 70, 1)",
"line-dasharray": [0.5, 2],
"line-opacity": 1,
"line-width": {"base": 1.3, "stops": [[3, 1], [22, 15]]}
}
},
{
"id": "boundary_country_z0-4",
"type": "line",
"metadata": {"mapbox:group": "a14c9607bc7954ba1df7205bf660433f"},
"source": "static_hackney",
"source-layer": "boundary",
"maxzoom": 5,
"filter": ["all", ["==", "admin_level", 2], ["!has", "claimed_by"]],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-blur": {"base": 1, "stops": [[0, 0.4], [22, 4]]},
"line-color": "rgba(82, 81, 81, 1)",
"line-opacity": 1,
"line-width": {"base": 1.1, "stops": [[3, 1], [22, 20]]}
}
},
{
"id": "boundary_country_z5-",
"type": "line",
"metadata": {"mapbox:group": "a14c9607bc7954ba1df7205bf660433f"},
"source": "static_hackney",
"source-layer": "boundary",
"minzoom": 5,
"filter": ["==", "admin_level", 2],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-blur": {"base": 1, "stops": [[0, 0.4], [22, 4]]},
"line-color": "rgba(82, 81, 81, 1)",
"line-opacity": 1,
"line-width": {"base": 1.1, "stops": [[3, 1], [22, 20]]}
}
}
]