Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated mapsettings.json for deployments (#2062)

Martin Peeters6b599566cfde
diff --git a/deployment/map/mapsettings.json b/deployment/map/mapsettings.json
index cd2cdc121..d7cf8fd42 100644
--- a/deployment/map/mapsettings.json
+++ b/deployment/map/mapsettings.json
@@ -28,3985 +28,1722 @@
"geocodeUrl": "https://nominatim.openstreetmap.org"
}
},
- "version": 8,
- "sources": {
- "vector_tiles": {
- "type": "vector",
- "url": "mbtiles://mapdata.mbtiles"
+ "version" : 8,
+ "sources" : {
+ "vector_tiles" : {
+ "type" : "vector",
+ "url" : "mbtiles://mapdata.mbtiles"
}
},
- "sprite": "map/sprites/bright-v9",
- "glyphs": "{fontstack}/{range}.pbf",
+ "sprite" : "map/sprites/bright-v9",
+ "glyphs" : "{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
+ "paint": {"background-color": "rgb(239,239,239)"}
+ },
+ {
+ "id": "park",
+ "type": "fill",
+ "source": "vector_tiles",
+ "source-layer": "park",
+ "paint": {
+ "fill-color": "rgba(224, 234, 209, 1)",
+ "fill-opacity": 0.7,
+ "fill-outline-color": "rgba(158, 228, 160, 1)"
+ }
+ },
+ {
+ "id": "park_outline",
+ "type": "line",
+ "source": "vector_tiles",
+ "source-layer": "park",
"paint": {
- "background-color": "#ecf2ea"
+ "line-dasharray": [1, 1.5],
+ "line-color": "rgba(233, 243, 222, 1)"
}
},
{
- "id": "landcover-glacier",
+ "id": "landuse_residential",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
- "source-layer": "landcover",
- "filter": [
- "==",
- "subclass",
- "glacier"
- ],
- "layout": {
- "visibility": "visible"
- },
+ "source-layer": "landuse",
+ "maxzoom": 8,
+ "filter": ["==", "class", "residential"],
"paint": {
- "fill-color": "#fff",
- "fill-opacity": {
+ "fill-color": {
"base": 1,
"stops": [
- [ 0, 0.9 ],
- [ 10, 0.3 ]
+ [9, "hsla(0, 3%, 85%, 0.84)"],
+ [12, "hsla(35, 57%, 88%, 0.49)"]
]
}
}
},
{
- "id": "landuse-residential",
+ "id": "landcover_wood",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
- "source-layer": "landuse",
- "filter": [
- "==",
- "class",
- "residential"
- ],
+ "source-layer": "landcover",
+ "filter": ["all", ["==", "class", "wood"]],
"paint": {
- "fill-color": "#e1e6e0"
+ "fill-antialias": false,
+ "fill-color": "rgba(186, 230, 160, 0.7)",
+ "fill-opacity": 0.4
}
},
{
- "id": "landuse-commercial",
+ "id": "landcover_grass",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
- "source-layer": "landuse",
- "filter": [
- "all",
- [
- "==",
- "$type",
- "Polygon"
- ],
- [
- "==",
- "class",
- "commercial"
- ]
- ],
+ "source-layer": "landcover",
+ "filter": ["all", ["==", "class", "grass"]],
"paint": {
- "fill-color": "#e1e6e0"
+ "fill-antialias": false,
+ "fill-color": "rgba(189, 220, 169, 1)",
+ "fill-opacity": 0.3
}
},
{
- "id": "landuse-industrial",
+ "id": "landcover_ice",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
- "source-layer": "landuse",
- "filter": [
- "all",
- [
- "==",
- "$type",
- "Polygon"
- ],
- [
- "==",
- "class",
- "industrial"
- ]
- ],
+ "source-layer": "landcover",
+ "filter": ["all", ["==", "class", "ice"]],
"paint": {
- "fill-color": "#e1e6e0"
+ "fill-antialias": false,
+ "fill-color": "rgba(224, 236, 236, 1)",
+ "fill-opacity": 0.8
}
},
{
- "id": "park",
+ "id": "landcover_wetland",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
- "source-layer": "park",
- "filter": [
- "==",
- "$type",
- "Polygon"
- ],
+ "source-layer": "landcover",
+ "minzoom": 12,
+ "filter": ["all", ["==", "class", "wetland"]],
"paint": {
- "fill-color": "#d8e8c8",
- "fill-opacity": {
- "base": 1.8,
- "stops": [
- [ 9, 0.5 ],
- [ 12, 0.2 ]
- ]
- }
+ "fill-antialias": true,
+ "fill-opacity": 0.8,
+ "fill-pattern": "wetland_bg_11",
+ "fill-translate-anchor": "map"
}
},
{
- "id": "park-outline",
- "type": "line",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
+ "id": "landuse_pitch",
+ "type": "fill",
"source": "vector_tiles",
- "source-layer": "park",
- "filter": [
- "==",
- "$type",
- "Polygon"
- ],
- "layout": {},
- "paint": {
- "line-color": {
- "base": 1,
- "stops": [
- [ 6, "hsla(96, 40%, 49%, 0.36)" ],
- [ 8, "hsla(96, 40%, 49%, 0.66)" ]
- ]
- },
- "line-dasharray": [
- 3,
- 3
- ]
- }
+ "source-layer": "landuse",
+ "filter": ["==", "class", "pitch"],
+ "paint": {"fill-color": "#DEE3CD"}
},
{
- "id": "landuse-cemetery",
+ "id": "landuse_track",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": [
- "==",
- "class",
- "cemetery"
- ],
- "paint": {
- "fill-color": "#e1e6e0"
- }
+ "filter": ["==", "class", "track"],
+ "paint": {"fill-color": "#DEE3CD"}
},
{
- "id": "landuse-hospital",
+ "id": "landuse_cemetery",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": [
- "==",
- "class",
- "hospital"
- ],
- "paint": {
- "fill-color": "#e1e6e0"
- }
+ "filter": ["==", "class", "cemetery"],
+ "paint": {"fill-color": "hsl(75, 37%, 81%)"}
},
{
- "id": "landuse-school",
+ "id": "landuse_hospital",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": [
- "==",
- "class",
- "school"
- ],
- "paint": {
- "fill-color": "#e1e6e0"
- }
+ "filter": ["==", "class", "hospital"],
+ "paint": {"fill-color": "#fde"}
},
{
- "id": "landuse-railway",
+ "id": "landuse_school",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": [
- "==",
- "class",
- "railway"
- ],
+ "filter": ["==", "class", "school"],
+ "paint": {"fill-color": "rgb(236,238,204)"}
+ },
+ {
+ "id": "waterway_tunnel",
+ "type": "line",
+ "source": "vector_tiles",
+ "source-layer": "waterway",
+ "filter": ["all", ["==", "brunnel", "tunnel"]],
"paint": {
- "fill-color": "hsla(30, 19%, 90%, 0.4)"
+ "line-color": "#a0c8f0",
+ "line-dasharray": [3, 3],
+ "line-gap-width": {"stops": [[12, 0], [20, 6]]},
+ "line-opacity": 1,
+ "line-width": {"base": 1.4, "stops": [[8, 1], [20, 2]]}
}
},
{
- "id": "landcover-wood",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
+ "id": "waterway_river",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "landcover",
- "filter": [
- "==",
- "class",
- "wood"
- ],
+ "source-layer": "waterway",
+ "filter": ["all", ["==", "class", "river"], ["!=", "brunnel", "tunnel"]],
+ "layout": {"line-cap": "round"},
"paint": {
- "fill-color": "#6a4",
- "fill-opacity": 0.1,
- "fill-outline-color": "hsla(0, 0%, 0%, 0.03)",
- "fill-antialias": {
- "base": 1,
- "stops": [
- [ 0, false ],
- [ 9, true ]
- ]
- }
+ "line-color": "#a0c8f0",
+ "line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]}
+ }
+ },
+ {
+ "id": "waterway_other",
+ "type": "line",
+ "source": "vector_tiles",
+ "source-layer": "waterway",
+ "filter": ["all", ["!=", "class", "river"], ["!=", "brunnel", "tunnel"]],
+ "layout": {"line-cap": "round"},
+ "paint": {
+ "line-color": "#a0c8f0",
+ "line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]}
}
},
{
- "id": "landcover-grass",
+ "id": "water",
+ "type": "fill",
+ "source": "vector_tiles",
+ "source-layer": "water",
+ "filter": ["all", ["!=", "brunnel", "tunnel"]],
+ "paint": {"fill-color": "rgba(176, 199, 253, 1)"}
+ },
+ {
+ "id": "landcover_sand",
"type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
"source": "vector_tiles",
"source-layer": "landcover",
+ "filter": ["all", ["==", "class", "sand"]],
+ "paint": {"fill-color": "rgba(249, 233, 204, 1)", "fill-opacity": 0.8}
+ },
+ {
+ "id": "aeroway_fill",
+ "type": "fill",
+ "source": "vector_tiles",
+ "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",
+ "source": "vector_tiles",
+ "source-layer": "aeroway",
+ "minzoom": 11,
"filter": [
- "==",
- "class",
- "grass"
+ "all",
+ ["==", "$type", "LineString"],
+ ["==", "class", "runway"]
],
"paint": {
- "fill-color": "#d8e8c8",
- "fill-opacity": 1
+ "line-color": "#f0ede9",
+ "line-width": {"base": 1.2, "stops": [[11, 3], [20, 16]]}
}
},
{
- "id": "landcover-grass-park",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849388993.3071"
- },
+ "id": "aeroway_taxiway",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "park",
+ "source-layer": "aeroway",
+ "minzoom": 11,
"filter": [
- "==",
- "class",
- "public_park"
+ "all",
+ ["==", "$type", "LineString"],
+ ["==", "class", "taxiway"]
],
"paint": {
- "fill-color": "#d8e8c8",
- "fill-opacity": 0.8
+ "line-color": "#f0ede9",
+ "line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]}
}
},
{
- "id": "waterway-other",
+ "id": "tunnel_motorway_link_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849382550.77"
- },
"source": "vector_tiles",
- "source-layer": "waterway",
+ "source-layer": "transportation",
"filter": [
- "!in",
- "class",
- "canal",
- "river",
- "stream"
+ "all",
+ ["==", "class", "motorway"],
+ ["==", "ramp", 1],
+ ["==", "brunnel", "tunnel"]
],
- "layout": {
- "line-cap": "round"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#bad4ff",
+ "line-color": "#e9ac77",
+ "line-dasharray": [0.5, 0.25],
"line-width": {
- "base": 1.3,
- "stops": [
- [ 13, 0.5 ],
- [ 20, 2 ]
- ]
+ "base": 1.2,
+ "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
- "id": "waterway-stream-canal",
+ "id": "tunnel_service_track_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849382550.77"
- },
"source": "vector_tiles",
- "source-layer": "waterway",
+ "source-layer": "transportation",
"filter": [
- "in",
- "class",
- "canal",
- "stream"
+ "all",
+ ["==", "brunnel", "tunnel"],
+ ["in", "class", "service", "track"]
],
- "layout": {
- "line-cap": "round"
- },
+ "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",
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#bad4ff",
+ "line-color": "#e9ac77",
"line-width": {
- "base": 1.3,
- "stops": [
- [ 13, 0.5 ],
- [ 20, 6 ]
- ]
+ "base": 1.2,
+ "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
- "id": "waterway-river",
+ "id": "tunnel_street_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849382550.77"
- },
"source": "vector_tiles",
- "source-layer": "waterway",
+ "source-layer": "transportation",
"filter": [
- "==",
- "class",
- "river"
+ "all",
+ ["==", "brunnel", "tunnel"],
+ ["in", "class", "street", "street_limited"]
],
- "layout": {
- "line-cap": "round"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#bad4ff",
+ "line-color": "#cfcdca",
+ "line-opacity": {"stops": [[12, 0], [12.5, 1]]},
"line-width": {
"base": 1.2,
- "stops": [
- [ 10, 0.8 ],
- [ 20, 6 ]
- ]
+ "stops": [[12, 0.5], [13, 1], [14, 4], [20, 15]]
}
}
},
{
- "id": "water-offset",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849382550.77"
- },
+ "id": "tunnel_secondary_tertiary_casing",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "water",
- "maxzoom": 8,
+ "source-layer": "transportation",
"filter": [
- "==",
- "$type",
- "Polygon"
+ "all",
+ ["==", "brunnel", "tunnel"],
+ ["in", "class", "secondary", "tertiary"]
],
- "layout": {
- "visibility": "visible"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "fill-opacity": 1,
- "fill-color": "#bad4ff",
- "fill-translate": {
- "base": 1,
- "stops": [
- [
- 6,
- [ 2, 0 ]
- ],
- [
- 8,
- [ 0, 0 ]
- ]
- ]
- }
+ "line-color": "#e9ac77",
+ "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]}
}
},
{
- "id": "water",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849382550.77"
- },
+ "id": "tunnel_trunk_primary_casing",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "water",
- "layout": {
- "visibility": "visible"
- },
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ ["==", "brunnel", "tunnel"],
+ ["in", "class", "primary", "trunk"]
+ ],
+ "layout": {"line-join": "round"},
"paint": {
- "fill-color": "#bad4ff"
+ "line-color": "#e9ac77",
+ "line-width": {
+ "base": 1.2,
+ "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
+ }
}
},
{
- "id": "water-pattern",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849382550.77"
- },
+ "id": "tunnel_motorway_casing",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "water",
- "layout": {
- "visibility": "visible"
- },
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ ["==", "class", "motorway"],
+ ["!=", "ramp", 1],
+ ["==", "brunnel", "tunnel"]
+ ],
+ "layout": {"line-join": "round"},
"paint": {
- "fill-translate": [
- 0,
- 2.5
- ],
- "fill-pattern": "wave"
+ "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": "landcover-ice-shelf",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849382550.77"
- },
+ "id": "tunnel_path_pedestrian",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "landcover",
+ "source-layer": "transportation",
"filter": [
- "==",
- "subclass",
- "ice_shelf"
+ "all",
+ ["==", "$type", "LineString"],
+ ["==", "brunnel", "tunnel"],
+ ["in", "class", "path", "pedestrian"]
],
- "layout": {
- "visibility": "visible"
- },
"paint": {
- "fill-color": "#fff",
- "fill-opacity": {
- "base": 1,
- "stops": [
- [ 0, 0.9 ],
- [ 10, 0.3 ]
- ]
- }
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": [1, 0.75],
+ "line-width": {"base": 1.2, "stops": [[14, 0.5], [20, 10]]}
}
},
{
- "id": "building",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849364238.8171"
- },
+ "id": "tunnel_motorway_link",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "building",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ ["==", "class", "motorway"],
+ ["==", "ramp", 1],
+ ["==", "brunnel", "tunnel"]
+ ],
+ "layout": {"line-join": "round"},
"paint": {
- "fill-color": {
- "base": 1,
- "stops": [
- [ 15.5, "#cbd8c5" ],
- [ 16, "#cbd8c5" ]
- ]
- },
- "fill-antialias": true
+ "line-color": "#fc8",
+ "line-width": {
+ "base": 1.2,
+ "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
+ }
}
},
{
- "id": "building-top",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849364238.8171"
- },
+ "id": "tunnel_service_track",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "building",
- "layout": {
- "visibility": "visible"
- },
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ ["==", "brunnel", "tunnel"],
+ ["in", "class", "service", "track"]
+ ],
+ "layout": {"line-join": "round"},
"paint": {
- "fill-translate": {
- "base": 1,
- "stops": [
- [
- 14,
- [ 0, 0 ]
- ],
- [
- 16,
- [ -2, -2 ]
- ]
- ]
- },
- "fill-outline-color": "#aaa",
- "fill-color": "#cbd8c5",
- "fill-opacity": {
- "base": 1,
- "stops": [
- [ 13, 0 ],
- [ 16, 1 ]
- ]
+ "line-color": "#fff",
+ "line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
+ }
+ },
+ {
+ "id": "tunnel_link",
+ "type": "line",
+ "source": "vector_tiles",
+ "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": "housenumber",
- "type": "symbol",
+ "id": "tunnel_minor",
+ "type": "line",
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "minor"]],
+ "layout": {"line-join": "round"},
+ "paint": {
+ "line-color": "#fff",
+ "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 11.5]]}
+ }
+ },
+ {
+ "id": "tunnel_secondary_tertiary",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "housenumber",
- "minzoom": 18,
+ "source-layer": "transportation",
"filter": [
- "==",
- "$type",
- "Point"
+ "all",
+ ["==", "brunnel", "tunnel"],
+ ["in", "class", "secondary", "tertiary"]
],
- "layout": {
- "text-field": "{housenumber}",
- "text-size": 10,
- "text-font": [
- "Open Sans Italic"
- ]
- },
+ "layout": {"line-join": "round"},
"paint": {
- "text-color": "#666"
+ "line-color": "#fff4c6",
+ "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 10]]}
}
},
{
- "id": "tunnel-service-track-casing",
+ "id": "tunnel_trunk_primary",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "in",
- "class",
- "service",
- "track"
- ]
+ ["==", "brunnel", "tunnel"],
+ ["in", "class", "primary", "trunk"]
],
- "layout": {
- "line-join": "round"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#aaa",
- "line-dasharray": [
- 0.5,
- 0.25
- ],
- "line-width": {
- "base": 1.2,
- "stops": [
- [ 15, 1 ],
- [ 16, 4 ],
- [ 20, 11 ]
- ]
- }
+ "line-color": "#fff4c6",
+ "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
- "id": "tunnel-minor-casing",
+ "id": "tunnel_motorway",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "==",
- "class",
- "minor"
- ]
+ ["==", "class", "motorway"],
+ ["!=", "ramp", 1],
+ ["==", "brunnel", "tunnel"]
],
- "layout": {
- "line-join": "round"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#aaa",
- "line-opacity": {
- "stops": [
- [
- 12,
- 0
- ],
- [
- 12.5,
- 1
- ]
- ]
- },
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 12,
- 0.5
- ],
- [
- 13,
- 1
- ],
- [
- 14,
- 4
- ],
- [
- 20,
- 15
- ]
- ]
- }
+ "line-color": "#ffdaa6",
+ "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
- "id": "tunnel-secondary-tertiary-casing",
+ "id": "tunnel_major_rail",
+ "type": "line",
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "rail"]],
+ "paint": {
+ "line-color": "#bbb",
+ "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
+ }
+ },
+ {
+ "id": "tunnel_major_rail_hatching",
+ "type": "line",
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "rail"]],
+ "paint": {
+ "line-color": "#bbb",
+ "line-dasharray": [0.2, 8],
+ "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
+ }
+ },
+ {
+ "id": "tunnel_transit_rail",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "in",
- "class",
- "secondary",
- "tertiary"
- ]
+ ["==", "brunnel", "tunnel"],
+ ["in", "class", "transit"]
],
- "layout": {
- "line-join": "round"
- },
"paint": {
- "line-color": "#aaa",
- "line-opacity": 1,
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 8,
- 1.5
- ],
- [
- 20,
- 17
- ]
- ]
- }
+ "line-color": "#bbb",
+ "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
}
},
{
- "id": "tunnel-trunk-primary-casing",
+ "id": "tunnel_transit_rail_hatching",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "in",
- "class",
- "primary",
- "trunk"
- ]
+ ["==", "brunnel", "tunnel"],
+ ["==", "class", "transit"]
],
- "layout": {
- "line-join": "round"
- },
"paint": {
- "line-color": "#aaa",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 5,
- 0.4
- ],
- [
- 6,
- 0.6
- ],
- [
- 7,
- 1.5
- ],
- [
- 20,
- 22
- ]
- ]
- }
+ "line-color": "#bbb",
+ "line-dasharray": [0.2, 8],
+ "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
}
},
{
- "id": "tunnel-motorway-casing",
+ "id": "road_area_pattern",
+ "type": "fill",
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": ["all", ["==", "$type", "Polygon"]],
+ "paint": {"fill-pattern": "pedestrian_polygon"}
+ },
+ {
+ "id": "road_motorway_link_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
+ "minzoom": 12,
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "==",
- "class",
- "motorway"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["==", "class", "motorway"],
+ ["==", "ramp", 1]
],
- "layout": {
- "line-join": "round",
- "visibility": "visible"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#aaa",
- "line-dasharray": [
- 0.5,
- 0.25
- ],
+ "line-color": "#e9ac77",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 5,
- 0.4
- ],
- [
- 6,
- 0.6
- ],
- [
- 7,
- 1.5
- ],
- [
- 20,
- 22
- ]
- ]
+ "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
- "id": "tunnel-path",
+ "id": "road_service_track_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "==",
- "class",
- "path"
- ]
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["in", "class", "service", "track"]
],
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#555",
- "line-dasharray": [
- 1.5,
- 0.75
- ],
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 15,
- 1.2
- ],
- [
- 20,
- 4
- ]
- ]
- }
+ "line-color": "#cfcdca",
+ "line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]}
}
},
{
- "id": "tunnel-service-track",
+ "id": "road_link_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
+ "minzoom": 13,
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "in",
- "class",
- "service",
- "track"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["!in", "class", "pedestrian", "path", "track", "service", "motorway"],
+ ["==", "ramp", 1]
],
- "layout": {
- "line-join": "round"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#fff",
+ "line-color": "#e9ac77",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 15.5,
- 0
- ],
- [
- 16,
- 2
- ],
- [
- 20,
- 7.5
- ]
- ]
+ "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
- "id": "tunnel-minor",
+ "id": "road_minor_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "==",
- "class",
- "minor_road"
- ]
+ ["==", "$type", "LineString"],
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["in", "class", "minor"],
+ ["!=", "ramp", 1]
],
- "layout": {
- "line-join": "round"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#fff",
- "line-opacity": 1,
+ "line-color": "#cfcdca",
+ "line-opacity": {"stops": [[12, 0], [12.5, 1]]},
"line-width": {
"base": 1.2,
- "stops": [
- [
- 13.5,
- 0
- ],
- [
- 14,
- 2.5
- ],
- [
- 20,
- 11.5
- ]
- ]
+ "stops": [[12, 0.5], [13, 1], [14, 4], [20, 20]]
}
}
},
{
- "id": "tunnel-secondary-tertiary",
+ "id": "road_secondary_tertiary_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "in",
- "class",
- "secondary",
- "tertiary"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["in", "class", "secondary", "tertiary"],
+ ["!=", "ramp", 1]
],
- "layout": {
- "line-join": "round"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#444",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 6.5,
- 0
- ],
- [
- 7,
- 0.5
- ],
- [
- 20,
- 10
- ]
- ]
- }
+ "line-color": "#e9ac77",
+ "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]}
}
},
{
- "id": "tunnel-trunk-primary",
+ "id": "road_trunk_primary_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "in",
- "class",
- "primary",
- "trunk"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["in", "class", "primary", "trunk"]
],
- "layout": {
- "line-join": "round"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#fff4c6",
+ "line-color": "#e9ac77",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 6.5,
- 0
- ],
- [
- 7,
- 0.5
- ],
- [
- 20,
- 18
- ]
- ]
+ "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
}
}
},
{
- "id": "tunnel-motorway",
+ "id": "road_motorway_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
+ "minzoom": 5,
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "==",
- "class",
- "motorway"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["==", "class", "motorway"],
+ ["!=", "ramp", 1]
],
- "layout": {
- "line-join": "round",
- "visibility": "visible"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#aaa",
+ "line-color": "#e9ac77",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 6.5,
- 0
- ],
- [
- 7,
- 0.5
- ],
- [
- 20,
- 18
- ]
- ]
+ "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
}
}
},
{
- "id": "tunnel-railway",
+ "id": "road_path_pedestrian",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849354174.1904"
- },
"source": "vector_tiles",
"source-layer": "transportation",
+ "minzoom": 14,
"filter": [
"all",
- [
- "==",
- "brunnel",
- "tunnel"
- ],
- [
- "==",
- "class",
- "rail"
- ]
+ ["==", "$type", "LineString"],
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["in", "class", "path", "pedestrian"]
],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#bbb",
- "line-width": {
- "base": 1.4,
- "stops": [
- [ 14, 0.4 ],
- [ 15, 0.75 ],
- [ 20, 2 ]
- ]
- },
- "line-dasharray": [
- 2,
- 2
- ]
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": [1, 0.7],
+ "line-width": {"base": 1.2, "stops": [[14, 1], [20, 10]]}
}
},
{
- "id": "aeroway-taxiway-casing",
+ "id": "road_motorway_link",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
- "source-layer": "aeroway",
+ "source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
- [
- "in",
- "class",
- "taxiway"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["==", "class", "motorway"],
+ ["==", "ramp", 1]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "rgba(153, 153, 153, 1)",
+ "line-color": "#fc8",
"line-width": {
- "base": 1.5,
- "stops": [
- [
- 11,
- 2
- ],
- [
- 17,
- 12
- ]
- ]
- },
- "line-opacity": 1
+ "base": 1.2,
+ "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
+ }
}
},
{
- "id": "aeroway-runway-casing",
+ "id": "road_service_track",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
- "source-layer": "aeroway",
- "minzoom": 12,
+ "source-layer": "transportation",
"filter": [
"all",
- [
- "in",
- "class",
- "runway"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["in", "class", "service", "track"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#aaa",
- "line-width": {
- "base": 1.5,
- "stops": [
- [
- 11,
- 5
- ],
- [
- 17,
- 55
- ]
- ]
- },
- "line-opacity": 1
+ "line-color": "#fff",
+ "line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
}
},
{
- "id": "aeroway-area",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
+ "id": "road_link",
+ "type": "line",
"source": "vector_tiles",
- "source-layer": "aeroway",
- "minzoom": 4,
+ "source-layer": "transportation",
+ "minzoom": 13,
"filter": [
"all",
- [
- "==",
- "$type",
- "Polygon"
- ],
- [
- "in",
- "class",
- "runway",
- "taxiway"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["==", "ramp", 1],
+ ["!in", "class", "pedestrian", "path", "track", "service", "motorway"]
],
- "layout": {
- "visibility": "visible"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "fill-opacity": {
- "base": 1,
- "stops": [
- [ 13, 0 ],
- [ 14, 1 ]
- ]
- },
- "fill-color": "#f0f0f0"
+ "line-color": "#fea",
+ "line-width": {
+ "base": 1.2,
+ "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
+ }
}
},
{
- "id": "aeroway-taxiway",
+ "id": "road_minor",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
- "source-layer": "aeroway",
- "minzoom": 4,
+ "source-layer": "transportation",
"filter": [
"all",
- [
- "in",
- "class",
- "taxiway"
- ],
- [
- "==",
- "$type",
- "LineString"
- ]
+ ["==", "$type", "LineString"],
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["in", "class", "minor"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#e9e9e9",
- "line-width": {
- "base": 1.5,
- "stops": [
- [ 11, 1 ],
- [ 17, 10 ]
- ]
- },
- "line-opacity": {
- "base": 1,
- "stops": [
- [ 11, 0 ],
- [ 12, 1 ]
- ]
- }
+ "line-color": "#fff",
+ "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]}
}
},
{
- "id": "aeroway-runway",
+ "id": "road_secondary_tertiary",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
- "source-layer": "aeroway",
- "minzoom": 4,
+ "source-layer": "transportation",
"filter": [
"all",
- [
- "in",
- "class",
- "runway"
- ],
- [
- "==",
- "$type",
- "LineString"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["in", "class", "secondary", "tertiary"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#f0f0f0",
- "line-width": {
- "base": 1.5,
- "stops": [
- [ 11, 4 ],
- [ 17, 50 ]
- ]
- },
- "line-opacity": {
- "base": 1,
- "stops": [
- [ 11, 0 ],
- [ 12, 1 ]
- ]
- }
+ "line-color": "#fea",
+ "line-width": {"base": 1.2, "stops": [[6.5, 0], [8, 0.5], [20, 13]]}
}
},
{
- "id": "highway-area",
- "type": "fill",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
+ "id": "road_trunk_primary",
+ "type": "line",
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
- "==",
- "$type",
- "Polygon"
+ "all",
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["in", "class", "primary", "trunk"]
],
- "layout": {
- "visibility": "visible"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "fill-color": "hsla(0, 0%, 89%, 0.56)",
- "fill-outline-color": "#cfcdca",
- "fill-opacity": 0.9,
- "fill-antialias": false
+ "line-color": "#fea",
+ "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
- "id": "highway-motorway-link-casing",
+ "id": "road_motorway",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "minzoom": 12,
+ "minzoom": 5,
"filter": [
"all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "==",
- "class",
- "motorway_link"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["==", "class", "motorway"],
+ ["!=", "ramp", 1]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round"
- },
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#e9ac77",
- "line-opacity": 1,
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 12,
- 1
- ],
- [
- 13,
- 3
- ],
- [
- 14,
- 4
- ],
- [
- 20,
- 15
- ]
- ]
- }
+ "line-color": {
+ "base": 1,
+ "stops": [[5, "hsl(26, 87%, 62%)"], [6, "#fc8"]]
+ },
+ "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
- "id": "highway-link-casing",
+ "id": "road_major_rail",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "minzoom": 13,
"filter": [
"all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "in",
- "class",
- "primary_link",
- "secondary_link",
- "tertiary_link",
- "trunk_link"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["==", "class", "rail"]
],
- "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
- ]
- ]
- }
+ "line-color": "#bbb",
+ "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
}
},
{
- "id": "highway-minor-casing",
+ "id": "road_major_rail_hatching",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "!=",
- "brunnel",
- "tunnel"
- ],
- [
- "in",
- "class",
- "minor",
- "service",
- "track"
- ]
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["==", "class", "rail"]
],
- "layout": {
- "line-cap": "round",
- "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
- ]
- ]
- }
+ "line-color": "#bbb",
+ "line-dasharray": [0.2, 8],
+ "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
}
},
{
- "id": "highway-secondary-tertiary-casing",
+ "id": "road_transit_rail",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "in",
- "class",
- "secondary",
- "tertiary"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["==", "class", "transit"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
"paint": {
- "line-color": "#999999",
- "line-opacity": 1,
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 8,
- 1.5
- ],
- [
- 20,
- 17
- ]
- ]
- }
+ "line-color": "#bbb",
+ "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
}
},
{
- "id": "highway-trunk-primary-casing",
+ "id": "road_transit_rail_hatching",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "minzoom": 5,
"filter": [
"all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "in",
- "class",
- "primary",
- "trunk"
- ]
+ ["!in", "brunnel", "bridge", "tunnel"],
+ ["==", "class", "transit"]
],
+ "paint": {
+ "line-color": "#bbb",
+ "line-dasharray": [0.2, 8],
+ "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
+ }
+ },
+ {
+ "id": "road_one_way_arrow",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "minzoom": 16,
+ "filter": ["==", "oneway", 1],
+ "layout": {"icon-image": "arrow", "symbol-placement": "line"}
+ },
+ {
+ "id": "road_one_way_arrow_opposite",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "minzoom": 16,
+ "filter": ["==", "oneway", -1],
"layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
+ "icon-image": "arrow",
+ "symbol-placement": "line",
+ "icon-rotate": 180
+ }
+ },
+ {
+ "id": "bridge_motorway_link_casing",
+ "type": "line",
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ ["==", "class", "motorway"],
+ ["==", "ramp", 1],
+ ["==", "brunnel", "bridge"]
+ ],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#a0a0a0",
- "line-opacity": {
- "stops": [
- [
- 5,
- 0
- ],
- [
- 6,
- 1
- ]
- ]
- },
+ "line-color": "#e9ac77",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 5,
- 0
- ],
- [
- 6,
- 0.6
- ],
- [
- 7,
- 1.5
- ],
- [
- 20,
- 22
- ]
- ]
+ "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
- "id": "highway-motorway-casing",
+ "id": "bridge_service_track_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "minzoom": 4,
"filter": [
"all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "==",
- "class",
- "motorway"
- ]
+ ["==", "brunnel", "bridge"],
+ ["in", "class", "service", "track"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
+ "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",
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#a0a0a0",
+ "line-color": "#e9ac77",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 4,
- 0
- ],
- [
- 5,
- 0.4
- ],
- [
- 6,
- 0.6
- ],
- [
- 7,
- 1.5
- ],
- [
- 20,
- 22
- ]
- ]
- },
- "line-opacity": {
- "stops": [
- [
- 4,
- 0
- ],
- [
- 5,
- 1
- ]
- ]
+ "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
}
}
},
{
- "id": "highway-path",
+ "id": "bridge_street_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "==",
- "class",
- "path"
- ]
- ]
+ ["==", "brunnel", "bridge"],
+ ["in", "class", "street", "street_limited"]
],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#d0d0d0",
- "line-dasharray": [
- 1.5,
- 0.75
- ],
+ "line-color": "hsl(36, 6%, 74%)",
+ "line-opacity": {"stops": [[12, 0], [12.5, 1]]},
"line-width": {
"base": 1.2,
- "stops": [
- [
- 15,
- 1.2
- ],
- [
- 20,
- 4
- ]
- ]
+ "stops": [[12, 0.5], [13, 1], [14, 4], [20, 25]]
}
}
},
{
- "id": "highway-motorway-link",
+ "id": "bridge_path_pedestrian_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "minzoom": 12,
"filter": [
"all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "==",
- "class",
- "motorway_link"
- ]
+ ["==", "$type", "LineString"],
+ ["==", "brunnel", "bridge"],
+ ["in", "class", "path", "pedestrian"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round"
- },
"paint": {
- "line-color": "#ffffff",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 12.5,
- 0
- ],
- [
- 13,
- 1.5
- ],
- [
- 14,
- 2.5
- ],
- [
- 20,
- 11.5
- ]
- ]
- }
+ "line-color": "hsl(35, 6%, 80%)",
+ "line-dasharray": [1, 0],
+ "line-width": {"base": 1.2, "stops": [[14, 1.5], [20, 18]]}
}
},
{
- "id": "highway-link",
+ "id": "bridge_secondary_tertiary_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "minzoom": 13,
"filter": [
"all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "in",
- "class",
- "primary_link",
- "secondary_link",
- "tertiary_link",
- "trunk_link"
- ]
+ ["==", "brunnel", "bridge"],
+ ["in", "class", "secondary", "tertiary"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#ffffff",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 12.5,
- 0
- ],
- [
- 13,
- 1.5
- ],
- [
- 14,
- 2.5
- ],
- [
- 20,
- 11.5
- ]
- ]
- }
+ "line-color": "#e9ac77",
+ "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]}
}
},
{
- "id": "highway-minor",
+ "id": "bridge_trunk_primary_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "!=",
- "brunnel",
- "tunnel"
- ],
- [
- "in",
- "class",
- "minor",
- "service",
- "track"
- ]
- ]
+ ["==", "brunnel", "bridge"],
+ ["in", "class", "primary", "trunk"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#ffffff",
- "line-opacity": 1,
+ "line-color": "#e9ac77",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 13.5,
- 0
- ],
- [
- 14,
- 2.5
- ],
- [
- 20,
- 11.5
- ]
- ]
+ "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
}
}
},
{
- "id": "highway-secondary-tertiary",
+ "id": "bridge_motorway_casing",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "in",
- "class",
- "secondary",
- "tertiary"
- ]
+ ["==", "class", "motorway"],
+ ["!=", "ramp", 1],
+ ["==", "brunnel", "bridge"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#ffffff",
+ "line-color": "#e9ac77",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 6.5,
- 0
- ],
- [
- 8,
- 0.5
- ],
- [
- 20,
- 13
- ]
- ]
+ "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
}
}
},
{
- "id": "highway-trunk-primary",
+ "id": "bridge_path_pedestrian",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "in",
- "class",
- "primary",
- "trunk"
- ]
- ]
+ ["==", "$type", "LineString"],
+ ["==", "brunnel", "bridge"],
+ ["in", "class", "path", "pedestrian"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
"paint": {
- "line-color": "#ffffff",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 6.5,
- 0
- ],
- [
- 7,
- 0.5
- ],
- [
- 20,
- 18
- ]
- ]
- }
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": [1, 0.3],
+ "line-width": {"base": 1.2, "stops": [[14, 0.5], [20, 10]]}
}
},
{
- "id": "highway-motorway",
+ "id": "bridge_motorway_link",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "minzoom": 5,
"filter": [
"all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "==",
- "class",
- "motorway"
- ]
- ]
+ ["==", "class", "motorway"],
+ ["==", "ramp", 1],
+ ["==", "brunnel", "bridge"]
],
- "layout": {
- "line-cap": "round",
- "line-join": "round",
- "visibility": "visible"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#ffffff",
+ "line-color": "#fc8",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 6.5,
- 0
- ],
- [
- 7,
- 0.5
- ],
- [
- 20,
- 18
- ]
- ]
+ "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
}
}
},
{
- "id": "railway-service",
+ "id": "bridge_service_track",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "==",
- "class",
- "rail"
- ],
- [
- "has",
- "service"
- ]
- ]
+ ["==", "brunnel", "bridge"],
+ ["in", "class", "service", "track"]
],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "hsla(0, 0%, 73%, 0.77)",
- "line-width": {
- "base": 1.4,
- "stops": [
- [
- 14,
- 0.4
- ],
- [
- 20,
- 1
- ]
- ]
- }
- }
- },
- {
- "id": "railway-service-hatching",
- "type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
- "source": "vector_tiles",
- "source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "==",
- "class",
- "rail"
- ],
- [
- "has",
- "service"
- ]
- ]
- ],
- "layout": {
- "visibility": "visible"
- },
- "paint": {
- "line-color": "hsla(0, 0%, 73%, 0.68)",
- "line-dasharray": [
- 0.2,
- 8
- ],
- "line-width": {
- "base": 1.4,
- "stops": [
- [
- 14.5,
- 0
- ],
- [
- 15,
- 2
- ],
- [
- 20,
- 6
- ]
- ]
- }
- }
- },
- {
- "id": "railway",
- "type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
- "source": "vector_tiles",
- "source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "!has",
- "service"
- ],
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "==",
- "class",
- "rail"
- ]
- ]
- ],
- "paint": {
- "line-color": "#bbb",
- "line-width": {
- "base": 1.4,
- "stops": [
- [
- 14,
- 0.4
- ],
- [
- 15,
- 0.75
- ],
- [
- 20,
- 2
- ]
- ]
- }
- }
- },
- {
- "id": "railway-hatching",
- "type": "line",
- "metadata": {
- "mapbox:group": "1444849345966.4436"
- },
- "source": "vector_tiles",
- "source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "!has",
- "service"
- ],
- [
- "!in",
- "brunnel",
- "bridge",
- "tunnel"
- ],
- [
- "==",
- "class",
- "rail"
- ]
- ]
- ],
- "paint": {
- "line-color": "#bbb",
- "line-dasharray": [
- 0.2,
- 8
- ],
- "line-width": {
- "base": 1.4,
- "stops": [
- [
- 14.5,
- 0
- ],
- [
- 15,
- 3
- ],
- [
- 20,
- 8
- ]
- ]
- }
- }
- },
- {
- "id": "bridge-motorway-link-casing",
- "type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
- "source": "vector_tiles",
- "source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "==",
- "class",
- "motorway_link"
- ]
- ],
- "layout": {
- "line-join": "round"
- },
- "paint": {
- "line-color": "#777",
- "line-opacity": 1,
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 12,
- 1
- ],
- [
- 13,
- 3
- ],
- [
- 14,
- 4
- ],
- [
- 20,
- 15
- ]
- ]
- }
+ "line-color": "#fff",
+ "line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
}
},
{
- "id": "bridge-link-casing",
+ "id": "bridge_link",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "in",
- "class",
- "primary_link",
- "secondary_link",
- "tertiary_link",
- "trunk_link"
- ]
- ],
- "layout": {
- "line-join": "round"
- },
+ "filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#666",
- "line-opacity": 1,
+ "line-color": "#fea",
"line-width": {
"base": 1.2,
- "stops": [
- [
- 12,
- 1
- ],
- [
- 13,
- 3
- ],
- [
- 14,
- 4
- ],
- [
- 20,
- 15
- ]
- ]
+ "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
}
}
},
{
- "id": "bridge-secondary-tertiary-casing",
+ "id": "bridge_street",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "in",
- "class",
- "secondary",
- "tertiary"
- ]
- ],
- "layout": {
- "line-join": "round"
- },
+ "filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "minor"]],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#777",
- "line-opacity": 1,
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 8,
- 1.5
- ],
- [
- 20,
- 28
- ]
- ]
- }
+ "line-color": "#fff",
+ "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]}
}
},
{
- "id": "bridge-trunk-primary-casing",
+ "id": "bridge_secondary_tertiary",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "in",
- "class",
- "primary",
- "trunk"
- ]
+ ["==", "brunnel", "bridge"],
+ ["in", "class", "secondary", "tertiary"]
],
- "layout": {
- "line-join": "round"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#777",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 5,
- 0.4
- ],
- [
- 6,
- 0.6
- ],
- [
- 7,
- 1.5
- ],
- [
- 20,
- 26
- ]
- ]
- }
+ "line-color": "#fea",
+ "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 10]]}
}
},
{
- "id": "bridge-motorway-casing",
+ "id": "bridge_trunk_primary",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "==",
- "class",
- "motorway"
- ]
+ ["==", "brunnel", "bridge"],
+ ["in", "class", "primary", "trunk"]
],
- "layout": {
- "line-join": "round"
- },
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#777",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 5,
- 0.4
- ],
- [
- 6,
- 0.6
- ],
- [
- 7,
- 1.5
- ],
- [
- 20,
- 22
- ]
- ]
- }
+ "line-color": "#fea",
+ "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
- "id": "bridge-path-casing",
+ "id": "bridge_motorway",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "==",
- "class",
- "path"
- ]
- ]
+ ["==", "class", "motorway"],
+ ["!=", "ramp", 1],
+ ["==", "brunnel", "bridge"]
],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#777",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 15,
- 1.2
- ],
- [
- 20,
- 18
- ]
- ]
- }
+ "line-color": "#fc8",
+ "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
}
},
{
- "id": "bridge-path",
+ "id": "bridge_major_rail",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "==",
- "class",
- "path"
- ]
- ]
- ],
+ "filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
"paint": {
- "line-color": "#ddd",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 15,
- 1.2
- ],
- [
- 20,
- 4
- ]
- ]
- },
- "line-dasharray": [
- 1.5,
- 0.75
- ]
+ "line-color": "#bbb",
+ "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
}
},
{
- "id": "bridge-motorway-link",
+ "id": "bridge_major_rail_hatching",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
"source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "==",
- "class",
- "motorway_link"
- ]
- ],
- "layout": {
- "line-join": "round"
- },
+ "filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
"paint": {
- "line-color": "#ffffff",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 12.5,
- 0
- ],
- [
- 13,
- 1.5
- ],
- [
- 14,
- 2.5
- ],
- [
- 20,
- 11.5
- ]
- ]
- }
+ "line-color": "#bbb",
+ "line-dasharray": [0.2, 8],
+ "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
}
},
{
- "id": "bridge-link",
+ "id": "bridge_transit_rail",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "in",
- "class",
- "primary_link",
- "secondary_link",
- "tertiary_link",
- "trunk_link"
- ]
+ ["==", "class", "transit"],
+ ["==", "brunnel", "bridge"]
],
- "layout": {
- "line-join": "round"
- },
"paint": {
- "line-color": "#ffffff",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 12.5,
- 0
- ],
- [
- 13,
- 1.5
- ],
- [
- 14,
- 2.5
- ],
- [
- 20,
- 11.5
- ]
- ]
- }
+ "line-color": "#bbb",
+ "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
}
},
{
- "id": "bridge-secondary-tertiary",
+ "id": "bridge_transit_rail_hatching",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
"source-layer": "transportation",
"filter": [
"all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "in",
- "class",
- "secondary",
- "tertiary"
- ]
+ ["==", "class", "transit"],
+ ["==", "brunnel", "bridge"]
],
- "layout": {
- "line-join": "round"
- },
"paint": {
- "line-color": "#f5f5f5",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 6.5,
- 0
- ],
- [
- 7,
- 0.5
- ],
- [
- 20,
- 20
- ]
- ]
- }
+ "line-color": "#bbb",
+ "line-dasharray": [0.2, 8],
+ "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
}
},
{
- "id": "bridge-trunk-primary",
- "type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
+ "id": "building",
+ "type": "fill",
"source": "vector_tiles",
- "source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "in",
- "class",
- "primary",
- "trunk"
- ]
- ],
- "layout": {
- "line-join": "round"
- },
+ "source-layer": "building",
+ "minzoom": 13,
+ "maxzoom": 14,
"paint": {
- "line-color": "#f0f0f0",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 6.5,
- 0
- ],
- [
- 7,
- 0.5
- ],
- [
- 20,
- 18
- ]
- ]
+ "fill-color": "hsl(35, 8%, 85%)",
+ "fill-outline-color": {
+ "base": 1,
+ "stops": [[13, "hsla(35, 6%, 79%, 0.32)"], [14, "hsl(35, 6%, 79%)"]]
}
}
},
{
- "id": "bridge-motorway",
- "type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
+ "id": "building-3d",
+ "type": "fill-extrusion",
"source": "vector_tiles",
- "source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "==",
- "class",
- "motorway"
- ]
- ],
- "layout": {
- "line-join": "round"
- },
+ "source-layer": "building",
+ "minzoom": 15,
"paint": {
- "line-color": "#f0f0f0",
- "line-width": {
- "base": 1.2,
- "stops": [
- [
- 6.5,
- 0
- ],
- [
- 7,
- 0.5
- ],
- [
- 20,
- 18
- ]
- ]
- }
+ "fill-extrusion-color": "hsl(35, 8%, 85%)",
+ "fill-extrusion-height": {
+ "property": "render_height",
+ "type": "identity"
+ },
+ "fill-extrusion-base": {
+ "property": "render_min_height",
+ "type": "identity"
+ },
+ "fill-extrusion-opacity": 0.8
}
},
{
- "id": "bridge-railway",
+ "id": "boundary_3",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
- "source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "==",
- "class",
- "rail"
- ]
- ],
+ "source-layer": "boundary",
+ "minzoom": 8,
+ "filter": ["all", ["in", "admin_level", 3, 4]],
+ "layout": {"line-join": "round"},
"paint": {
- "line-color": "#f0f0f0",
- "line-width": {
- "base": 1.4,
- "stops": [
- [
- 14,
- 0.4
- ],
- [
- 15,
- 0.75
- ],
- [
- 20,
- 2
- ]
- ]
- }
+ "line-color": "#9e9cab",
+ "line-dasharray": [5, 1],
+ "line-width": {"base": 1, "stops": [[4, 0.4], [5, 1], [12, 1.8]]}
}
},
{
- "id": "bridge-railway-hatching",
+ "id": "boundary_2_z0-4",
"type": "line",
- "metadata": {
- "mapbox:group": "1444849334699.1902"
- },
"source": "vector_tiles",
- "source-layer": "transportation",
- "filter": [
- "all",
- [
- "==",
- "brunnel",
- "bridge"
- ],
- [
- "==",
- "class",
- "rail"
- ]
- ],
+ "source-layer": "boundary",
+ "maxzoom": 5,
+ "filter": ["all", ["==", "admin_level", 2], ["!has", "claimed_by"]],
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#bbb",
- "line-dasharray": [
- 0.2,
- 8
- ],
- "line-width": {
- "base": 1.4,
- "stops": [
- [
- 14.5,
- 0
- ],
- [
- 15,
- 3
- ],
- [
- 20,
- 8
- ]
- ]
- }
+ "line-color": "hsl(248, 1%, 41%)",
+ "line-opacity": {"base": 1, "stops": [[0, 0.4], [4, 1]]},
+ "line-width": {"base": 1, "stops": [[3, 1], [5, 1.2], [12, 3]]}
}
},
{
- "id": "boundary-water",
+ "id": "boundary_2_z5-",
"type": "line",
"source": "vector_tiles",
"source-layer": "boundary",
- "filter": [
- "all",
- [
- "in",
- "admin_level",
- 2,
- 4
- ],
- [
- "==",
- "maritime",
- 1
- ]
- ],
- "layout": {
- "line-cap": "round",
- "line-join": "round"
- },
+ "minzoom": 5,
+ "filter": ["all", ["==", "admin_level", 2]],
+ "layout": {"line-cap": "round", "line-join": "round"},
"paint": {
- "line-color": "#8ca0c2",
- "line-width": {
- "base": 1,
- "stops": [
- [ 0, 0.6 ],
- [ 4, 1.4 ],
- [ 5, 2 ],
- [ 12, 8 ]
- ]
- },
- "line-opacity": {
- "stops": [
- [ 6, 0.6 ],
- [ 10, 1 ]
- ]
- }
+ "line-color": "hsl(248, 1%, 41%)",
+ "line-opacity": {"base": 1, "stops": [[0, 0.4], [4, 1]]},
+ "line-width": {"base": 1, "stops": [[3, 1], [5, 1.2], [12, 3]]}
}
},
{
- "id": "waterway-name",
+ "id": "water_name_line",
"type": "symbol",
"source": "vector_tiles",
"source-layer": "waterway",
- "minzoom": 13,
- "filter": [
- "all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "has",
- "name"
- ]
- ],
- "layout": {
- "text-font": [
- "Open Sans Italic"
- ],
- "text-size": 14,
- "text-field": "{name}",
- "text-max-width": 5,
- "text-rotation-alignment": "map",
- "symbol-placement": "line",
- "text-letter-spacing": 0.2,
- "symbol-spacing": 350
- },
- "paint": {
- "text-color": "#687692",
- "text-halo-width": 1.5,
- "text-halo-color": "rgba(255,255,255,0.7)"
- }
- },
- {
- "id": "water-name-lakeline",
- "type": "symbol",
- "source": "vector_tiles",
- "source-layer": "water_name",
- "filter": [
- "==",
- "$type",
- "LineString"
- ],
- "layout": {
- "text-font": [
- "Open Sans Italic"
- ],
- "text-size": 14,
- "text-field": "{name}",
- "text-max-width": 5,
- "text-rotation-alignment": "map",
- "symbol-placement": "line",
- "symbol-spacing": 350,
- "text-letter-spacing": 0.2
- },
- "paint": {
- "text-color": "#687692",
- "text-halo-width": 1.5,
- "text-halo-color": "rgba(255,255,255,0.7)"
- }
- },
- {
- "id": "water-name-ocean",
- "type": "symbol",
- "source": "vector_tiles",
- "source-layer": "water_name",
- "filter": [
- "all",
- [
- "==",
- "$type",
- "Point"
- ],
- [
- "==",
- "class",
- "ocean"
- ]
- ],
- "layout": {
- "text-font": [
- "Open Sans Italic"
- ],
- "text-size": 14,
- "text-field": "{name}",
- "text-max-width": 5,
- "text-rotation-alignment": "map",
- "symbol-placement": "point",
- "symbol-spacing": 350,
- "text-letter-spacing": 0.2
- },
- "paint": {
- "text-color": "#687692",
- "text-halo-width": 1.5,
- "text-halo-color": "rgba(255,255,255,0.7)"
- }
- },
- {
- "id": "water-name-other",
- "type": "symbol",
- "source": "vector_tiles",
- "source-layer": "water_name",
- "filter": [
- "all",
- [
- "==",
- "$type",
- "Point"
- ],
- [
- "!in",
- "class",
- "ocean"
- ]
- ],
- "layout": {
- "text-font": [
- "Open Sans Italic"
- ],
- "text-size": {
- "stops": [
- [ 0, 10 ],
- [ 6, 14 ]
- ]
- },
- "text-field": "{name}",
- "text-max-width": 5,
- "text-rotation-alignment": "map",
- "symbol-placement": "point",
- "symbol-spacing": 350,
- "text-letter-spacing": 0.2,
- "visibility": "visible"
- },
- "paint": {
- "text-color": "#687692",
- "text-halo-width": 1.5,
- "text-halo-color": "rgba(255,255,255,0.7)"
- }
- },
- {
- "id": "poi-level-3",
- "type": "symbol",
- "source": "vector_tiles",
- "source-layer": "poi",
- "minzoom": 16,
- "filter": [
- "all",
- [
- "==",
- "$type",
- "Point"
- ],
- [
- ">=",
- "rank",
- 25
- ]
- ],
- "layout": {
- "text-padding": 2,
- "text-font": [
- "Open Sans Semibold"
- ],
- "text-anchor": "top",
- "icon-image": "{class}_11",
- "text-field": "{name}",
- "text-offset": [
- 0,
- 0.6
- ],
- "text-size": 12,
- "text-max-width": 9
- },
- "paint": {
- "text-halo-blur": 0.5,
- "text-color": "#999",
- "text-halo-width": 1,
- "text-halo-color": "#ffffff"
- }
- },
- {
- "id": "poi-level-2",
- "type": "symbol",
- "source": "vector_tiles",
- "source-layer": "poi",
- "minzoom": 15,
- "filter": [
- "all",
- [
- "==",
- "$type",
- "Point"
- ],
- [
- "all",
- [
- "<=",
- "rank",
- 24
- ],
- [
- ">=",
- "rank",
- 15
- ]
- ]
- ],
- "layout": {
- "text-padding": 2,
- "text-font": [
- "Open Sans Semibold"
- ],
- "text-anchor": "top",
- "icon-image": "{class}_11",
+ "filter": ["all", ["==", "$type", "LineString"]],
+ "layout": {
"text-field": "{name}",
- "text-offset": [
- 0,
- 0.6
- ],
+ "text-font": ["Open Sans Regular"],
+ "text-max-width": 5,
"text-size": 12,
- "text-max-width": 9
+ "symbol-placement": "line"
},
"paint": {
- "text-halo-blur": 0.5,
- "text-color": "#999",
- "text-halo-width": 1,
- "text-halo-color": "#ffffff"
+ "text-color": "#5d60be",
+ "text-halo-color": "rgba(255,255,255,0.7)",
+ "text-halo-width": 1
}
},
{
- "id": "poi-level-1",
+ "id": "water_name_point",
"type": "symbol",
"source": "vector_tiles",
- "source-layer": "poi",
- "minzoom": 14,
- "filter": [
- "all",
- [
- "==",
- "$type",
- "Point"
- ],
- [
- "all",
- [
- "<=",
- "rank",
- 14
- ],
- [
- "has",
- "name"
- ]
- ]
- ],
+ "source-layer": "water_name",
+ "filter": ["==", "$type", "Point"],
"layout": {
- "text-padding": 2,
- "text-font": [
- "Open Sans Semibold"
- ],
- "text-anchor": "top",
- "icon-image": "{class}_11",
"text-field": "{name}",
- "text-offset": [
- 0,
- 0.6
- ],
- "text-size": 12,
- "text-max-width": 9
+ "text-font": ["Open Sans Regular"],
+ "text-max-width": 5,
+ "text-size": 12
},
"paint": {
- "text-halo-blur": 0.5,
- "text-color": "#999",
- "text-halo-width": 1,
- "text-halo-color": "#ffffff"
+ "text-color": "#5d60be",
+ "text-halo-color": "rgba(255,255,255,0.7)",
+ "text-halo-width": 1
}
},
{
- "id": "highway-name-path",
+ "id": "poi_z16",
"type": "symbol",
"source": "vector_tiles",
- "source-layer": "transportation_name",
- "minzoom": 15.5,
- "filter": [
- "==",
- "class",
- "path"
- ],
+ "source-layer": "poi",
+ "minzoom": 16,
+ "filter": ["all", ["==", "$type", "Point"], [">=", "rank", 20]],
"layout": {
- "text-size": {
- "base": 1,
- "stops": [
- [
- 13,
- 12
- ],
- [
- 14,
- 13
- ]
- ]
- },
- "text-font": [
- "Open Sans Regular"
+ "icon-image": [
+ "match",
+ ["get", "subclass"],
+ ["florist", "furniture", "soccer", "tennis"],
+ ["get", "subclass"],
+ ["get", "class"]
],
+ "text-anchor": "top",
"text-field": "{name}",
- "symbol-placement": "line",
- "text-rotation-alignment": "map"
+ "text-font": ["Open Sans Italic"],
+ "text-max-width": 9,
+ "text-offset": [0, 0.6],
+ "text-size": 12
},
"paint": {
- "text-halo-color": "#f8f4f0",
- "text-color": "#444",
- "text-halo-width": 0.5
+ "text-color": "#666",
+ "text-halo-blur": 0.5,
+ "text-halo-color": "#ffffff",
+ "text-halo-width": 1
}
},
{
- "id": "highway-name-minor",
+ "id": "poi_z15",
"type": "symbol",
"source": "vector_tiles",
- "source-layer": "transportation_name",
+ "source-layer": "poi",
"minzoom": 15,
"filter": [
"all",
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "in",
- "class",
- "minor",
- "service",
- "track"
- ]
+ ["==", "$type", "Point"],
+ [">=", "rank", 7],
+ ["<", "rank", 20]
],
"layout": {
- "text-size": {
- "base": 1,
- "stops": [
- [
- 13,
- 12
- ],
- [
- 14,
- 13
- ]
- ]
- },
- "text-font": [
- "Open Sans Regular"
+ "icon-image": [
+ "match",
+ ["get", "subclass"],
+ ["florist", "furniture", "soccer", "tennis"],
+ ["get", "subclass"],
+ ["get", "class"]
],
+ "text-anchor": "top",
"text-field": "{name}",
- "symbol-placement": "line",
- "text-rotation-alignment": "map"
+ "text-font": ["Open Sans Italic"],
+ "text-max-width": 9,
+ "text-offset": [0, 0.6],
+ "text-size": 12
},
"paint": {
- "text-halo-blur": 0.5,
"text-color": "#666",
+ "text-halo-blur": 0.5,
+ "text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
- "id": "highway-name-major",
+ "id": "poi_z14",
"type": "symbol",
"source": "vector_tiles",
- "source-layer": "transportation_name",
- "minzoom": 12.2,
+ "source-layer": "poi",
+ "minzoom": 14,
"filter": [
- "in",
- "class",
- "primary",
- "secondary",
- "tertiary",
- "trunk"
+ "all",
+ ["==", "$type", "Point"],
+ [">=", "rank", 1],
+ ["<", "rank", 7]
],
"layout": {
- "text-size": {
- "base": 1,
- "stops": [
- [
- 13,
- 12
- ],
- [
- 14,
- 13
- ]
- ]
- },
- "text-font": [
- "Open Sans Regular"
+ "icon-image": [
+ "match",
+ ["get", "subclass"],
+ ["florist", "furniture", "soccer", "tennis"],
+ ["get", "subclass"],
+ ["get", "class"]
],
+ "text-anchor": "top",
"text-field": "{name}",
- "symbol-placement": "line",
- "text-rotation-alignment": "map"
+ "text-font": ["Open Sans Italic"],
+ "text-max-width": 9,
+ "text-offset": [0, 0.6],
+ "text-size": 12
},
"paint": {
- "text-halo-blur": 0.5,
"text-color": "#666",
+ "text-halo-blur": 0.5,
+ "text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
- "id": "highway-shield",
+ "id": "poi_transit",
"type": "symbol",
"source": "vector_tiles",
- "source-layer": "transportation_name",
- "minzoom": 8,
- "filter": [
- "all",
- [
- "<=",
- "ref_length",
- 6
- ],
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "!in",
- "network",
- "us-interstate",
- "us-highway",
- "us-state"
- ]
- ],
+ "source-layer": "poi",
+ "filter": ["all", ["in", "class", "bus", "rail", "airport"]],
"layout": {
- "text-size": 12,
- "icon-image": "road_{ref_length}",
- "icon-rotation-alignment": "viewport",
- "symbol-spacing": 200,
- "text-font": [
- "Open Sans Semibold"
- ],
- "symbol-placement": {
- "base": 1,
- "stops": [
- [
- 10,
- "point"
- ],
- [
- 11,
- "line"
- ]
- ]
- },
- "text-rotation-alignment": "viewport",
- "icon-size": 1,
- "text-field": "{ref}"
+ "icon-image": "{class}",
+ "text-anchor": "left",
+ "text-field": "{name_en}",
+ "text-font": ["Open Sans Italic"],
+ "text-max-width": 9,
+ "text-offset": [0.9, 0],
+ "text-size": 12
},
"paint": {
- "text-color": "#666"
+ "text-color": "#4898ff",
+ "text-halo-blur": 0.5,
+ "text-halo-color": "#ffffff",
+ "text-halo-width": 1
}
},
{
- "id": "highway-shield-us-interstate",
+ "id": "road_label",
"type": "symbol",
"source": "vector_tiles",
"source-layer": "transportation_name",
- "minzoom": 7,
- "filter": [
- "all",
- [
- "<=",
- "ref_length",
- 6
- ],
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "in",
- "network",
- "us-interstate"
- ]
- ],
+ "filter": ["all"],
"layout": {
- "text-size": 10,
- "icon-image": "{network}_{ref_length}",
- "icon-rotation-alignment": "viewport",
- "symbol-spacing": 200,
- "text-font": [
- "Open Sans Semibold"
- ],
- "symbol-placement": {
- "base": 1,
- "stops": [
- [
- 7,
- "point"
- ],
- [
- 7,
- "line"
- ],
- [
- 8,
- "line"
- ]
- ]
- },
- "text-rotation-alignment": "viewport",
- "icon-size": 1,
- "text-field": "{ref}"
+ "symbol-placement": "line",
+ "text-anchor": "center",
+ "text-field": "{name}",
+ "text-font": ["Open Sans Regular"],
+ "text-offset": [0, 0.15],
+ "text-size": {"base": 1, "stops": [[13, 12], [14, 13]]}
},
"paint": {
- "text-color": "rgba(0, 0, 0, 1)"
+ "text-color": "#765",
+ "text-halo-blur": 0.5,
+ "text-halo-width": 1
}
},
{
- "id": "highway-shield-us-other",
+ "id": "road_shield",
"type": "symbol",
"source": "vector_tiles",
"source-layer": "transportation_name",
- "minzoom": 9,
- "filter": [
- "all",
- [
- "<=",
- "ref_length",
- 6
- ],
- [
- "==",
- "$type",
- "LineString"
- ],
- [
- "in",
- "network",
- "us-highway",
- "us-state"
- ]
- ],
+ "minzoom": 7,
+ "filter": ["all", ["<=", "ref_length", 6]],
"layout": {
- "text-size": 10,
- "icon-image": "{network}_{ref_length}",
+ "icon-image": "default_{ref_length}",
"icon-rotation-alignment": "viewport",
- "symbol-spacing": 200,
- "text-font": [
- "Open Sans Semibold"
- ],
- "symbol-placement": {
- "base": 1,
- "stops": [
- [
- 10,
- "point"
- ],
- [
- 11,
- "line"
- ]
- ]
- },
+ "symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]},
+ "symbol-spacing": 500,
+ "text-field": "{ref}",
+ "text-font": ["Open Sans Regular"],
+ "text-offset": [0, 0.1],
"text-rotation-alignment": "viewport",
- "icon-size": 1,
- "text-field": "{ref}"
- },
- "paint": {
- "text-color": "rgba(0, 0, 0, 1)"
+ "text-size": 10,
+ "icon-size": 0.8
}
},
{
- "id": "place-other",
+ "id": "place_other",
"type": "symbol",
- "metadata": {
- "mapbox:group": "1444849242106.713"
- },
"source": "vector_tiles",
"source-layer": "place",
"filter": [
- "!in",
- "class",
- "city",
- "town",
- "village"
+ "all",
+ [
+ "in",
+ "class",
+ "hamlet",
+ "island",
+ "islet",
+ "neighbourhood",
+ "suburb",
+ "quarter"
+ ]
],
"layout": {
- "text-letter-spacing": 0.1,
- "text-size": {
- "base": 1.2,
- "stops": [
- [
- 12,
- 10
- ],
- [
- 15,
- 14
- ]
- ]
- },
- "text-font": [
- "Open Sans Bold"
- ],
"text-field": "{name_en}",
- "text-transform": "uppercase",
- "text-max-width": 9
+ "text-font": ["Open Sans Italic"],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9,
+ "text-size": {"base": 1.2, "stops": [[12, 10], [15, 14]]},
+ "text-transform": "uppercase"
},
"paint": {
- "text-color": "#888",
- "text-halo-width": 1.2,
- "text-halo-color": "rgba(255,255,255,0.8)"
+ "text-color": "#633",
+ "text-halo-color": "rgba(255,255,255,0.8)",
+ "text-halo-width": 1.2
}
},
{
- "id": "place-village",
+ "id": "place_village",
"type": "symbol",
- "metadata": {
- "mapbox:group": "1444849242106.713"
- },
"source": "vector_tiles",
"source-layer": "place",
- "filter": [
- "==",
- "class",
- "village"
- ],
+ "filter": ["all", ["==", "class", "village"]],
"layout": {
- "text-font": [
- "Open Sans Regular"
- ],
- "text-size": {
- "base": 1.2,
- "stops": [
- [
- 10,
- 12
- ],
- [
- 15,
- 22
- ]
- ]
- },
"text-field": "{name_en}",
- "text-max-width": 8
+ "text-font": ["Open Sans Regular"],
+ "text-max-width": 8,
+ "text-size": {"base": 1.2, "stops": [[10, 12], [15, 22]]}
},
"paint": {
- "text-color": "#444",
- "text-halo-width": 1.2,
- "text-halo-color": "rgba(255,255,255,0.8)"
+ "text-color": "#333",
+ "text-halo-color": "rgba(255,255,255,0.8)",
+ "text-halo-width": 1.2
}
},
{
- "id": "place-town",
+ "id": "place_town",
"type": "symbol",
- "metadata": {
- "mapbox:group": "1444849242106.713"
- },
"source": "vector_tiles",
"source-layer": "place",
- "filter": [
- "==",
- "class",
- "town"
- ],
+ "filter": ["all", ["==", "class", "town"]],
"layout": {
- "text-font": [
- "Open Sans Regular"
- ],
- "text-size": {
- "base": 1.2,
- "stops": [
- [
- 10,
- 14
- ],
- [
- 15,
- 24
- ]
- ]
- },
+ "icon-image": {"base": 1, "stops": [[0, "dot_9"], [8, ""]]},
+ "text-anchor": "bottom",
"text-field": "{name_en}",
- "text-max-width": 8
+ "text-font": ["Open Sans Regular"],
+ "text-max-width": 8,
+ "text-offset": [0, 0],
+ "text-size": {"base": 1.2, "stops": [[7, 12], [11, 16]]}
},
"paint": {
- "text-color": "#444",
- "text-halo-width": 1.2,
- "text-halo-color": "rgba(255,255,255,0.8)"
+ "text-color": "#333",
+ "text-halo-color": "rgba(255,255,255,0.8)",
+ "text-halo-width": 1.2
}
},
{
- "id": "place-city",
+ "id": "place_city",
"type": "symbol",
- "metadata": {
- "mapbox:group": "1444849242106.713"
- },
"source": "vector_tiles",
"source-layer": "place",
- "filter": [
- "all",
- [
- "!=",
- "capital",
- 2
- ],
- [
- "==",
- "class",
- "city"
- ]
- ],
+ "minzoom": 5,
+ "filter": ["all", ["==", "class", "city"]],
"layout": {
- "text-font": [
- "Open Sans Semibold"
- ],
- "text-size": {
- "base": 1.2,
- "stops": [
- [
- 7,
- 14
- ],
- [
- 11,
- 24
- ]
- ]
- },
+ "icon-image": {"base": 1, "stops": [[0, "dot_9"], [8, ""]]},
+ "text-anchor": "bottom",
"text-field": "{name_en}",
- "text-max-width": 8
+ "text-font": ["Open Sans Semibold"],
+ "text-max-width": 8,
+ "text-offset": [0, 0],
+ "text-size": {"base": 1.2, "stops": [[7, 14], [11, 24]]},
+ "icon-allow-overlap": true,
+ "icon-optional": false
},
"paint": {
- "text-color": "#666",
- "text-halo-width": 1.2,
- "text-halo-color": "rgba(255,255,255,0.8)"
+ "text-color": "#333",
+ "text-halo-color": "rgba(255,255,255,0.8)",
+ "text-halo-width": 1.2
}
},
{
- "id": "place-city-capital",
+ "id": "state",
"type": "symbol",
- "metadata": {
- "mapbox:group": "1444849242106.713"
- },
"source": "vector_tiles",
"source-layer": "place",
- "filter": [
- "all",
- [
- "==",
- "capital",
- 2
- ],
- [
- "==",
- "class",
- "city"
- ]
- ],
+ "maxzoom": 6,
+ "filter": ["all", ["==", "class", "state"]],
"layout": {
- "text-font": [
- "Open Sans Semibold"
- ],
- "text-size": {
- "base": 1.2,
- "stops": [
- [
- 7,
- 14
- ],
- [
- 11,
- 24
- ]
- ]
- },
"text-field": "{name_en}",
- "text-max-width": 8,
- "icon-image": "star_11",
- "text-offset": [
- 0.4,
- 0
- ],
- "icon-size": 0.8,
- "text-anchor": "left"
+ "text-font": ["Open Sans Italic"],
+ "text-size": {"stops": [[4, 11], [6, 15]]},
+ "text-transform": "uppercase"
},
"paint": {
- "text-color": "#444",
- "text-halo-width": 1.2,
- "text-halo-color": "rgba(255,255,255,0.8)"
+ "text-color": "#633",
+ "text-halo-color": "rgba(255,255,255,0.7)",
+ "text-halo-width": 1
}
},
{
- "id": "place-country-3",
+ "id": "country_3",
"type": "symbol",
- "metadata": {
- "mapbox:group": "1444849242106.713"
- },
"source": "vector_tiles",
"source-layer": "place",
- "filter": [
- "all",
- [
- "==",
- "class",
- "country"
- ],
- [
- ">=",
- "rank",
- 3
- ]
- ],
+ "filter": ["all", [">=", "rank", 3], ["==", "class", "country"]],
"layout": {
- "text-font": [
- "Open Sans Bold"
- ],
"text-field": "{name_en}",
- "text-size": {
- "stops": [
- [
- 3,
- 11
- ],
- [
- 7,
- 17
- ]
- ]
- },
- "text-transform": "uppercase",
- "text-max-width": 6.25
+ "text-font": ["Open Sans Italic"],
+ "text-max-width": 6.25,
+ "text-size": {"stops": [[3, 11], [7, 17]]},
+ "text-transform": "none"
},
"paint": {
+ "text-color": "#334",
"text-halo-blur": 1,
- "text-color": "#444",
- "text-halo-width": 2,
- "text-halo-color": "rgba(255,255,255,0.8)"
+ "text-halo-color": "rgba(255,255,255,0.8)",
+ "text-halo-width": 1
}
},
{
- "id": "place-country-2",
+ "id": "country_2",
"type": "symbol",
- "metadata": {
- "mapbox:group": "1444849242106.713"
- },
"source": "vector_tiles",
"source-layer": "place",
- "filter": [
- "all",
- [
- "==",
- "class",
- "country"
- ],
- [
- "==",
- "rank",
- 2
- ]
- ],
+ "filter": ["all", ["==", "rank", 2], ["==", "class", "country"]],
"layout": {
- "text-font": [
- "Open Sans Bold"
- ],
"text-field": "{name_en}",
- "text-size": {
- "stops": [
- [
- 2,
- 11
- ],
- [
- 5,
- 17
- ]
- ]
- },
- "text-transform": "uppercase",
- "text-max-width": 6.25
+ "text-font": ["Open Sans Italic"],
+ "text-max-width": 6.25,
+ "text-size": {"stops": [[2, 11], [5, 17]]},
+ "text-transform": "none"
},
"paint": {
+ "text-color": "#334",
"text-halo-blur": 1,
- "text-color": "#444",
- "text-halo-width": 2,
- "text-halo-color": "rgba(255,255,255,0.8)"
+ "text-halo-color": "rgba(255,255,255,0.8)",
+ "text-halo-width": 1
}
},
{
- "id": "place-country-1",
+ "id": "country_1",
"type": "symbol",
- "metadata": {
- "mapbox:group": "1444849242106.713"
- },
"source": "vector_tiles",
"source-layer": "place",
- "filter": [
- "all",
- [
- "==",
- "class",
- "country"
- ],
- [
- "==",
- "rank",
- 1
- ]
- ],
+ "filter": ["all", ["==", "rank", 1], ["==", "class", "country"]],
"layout": {
- "text-font": [
- "Open Sans Bold"
- ],
"text-field": "{name_en}",
- "text-size": {
- "stops": [
- [
- 1,
- 11
- ],
- [
- 4,
- 17
- ]
- ]
- },
- "text-transform": "uppercase",
- "text-max-width": 6.25
+ "text-font": ["Open Sans Italic"],
+ "text-max-width": 6.25,
+ "text-size": {"stops": [[1, 11], [4, 17]]},
+ "text-transform": "none"
},
"paint": {
+ "text-color": "#334",
"text-halo-blur": 1,
- "text-color": "#444",
- "text-halo-width": 2,
- "text-halo-color": "rgba(255,255,255,0.8)"
+ "text-halo-color": "rgba(255,255,255,0.8)",
+ "text-halo-width": 1
}
},
{
- "id": "place-continent",
+ "id": "continent",
"type": "symbol",
- "metadata": {
- "mapbox:group": "1444849242106.713"
- },
"source": "vector_tiles",
"source-layer": "place",
"maxzoom": 1,
- "filter": [
- "==",
- "class",
- "continent"
- ],
+ "filter": ["all", ["==", "class", "continent"]],
"layout": {
- "text-font": [
- "Open Sans Bold"
- ],
"text-field": "{name_en}",
- "text-size": 14,
- "text-max-width": 6.25,
- "text-transform": "uppercase"
+ "text-font": ["Open Sans Italic"],
+ "text-size": 13,
+ "text-transform": "uppercase",
+ "text-justify": "center"
},
"paint": {
- "text-halo-blur": 1,
- "text-color": "#444",
- "text-halo-width": 2,
- "text-halo-color": "rgba(255,255,255,0.8)"
+ "text-color": "#633",
+ "text-halo-color": "rgba(255,255,255,0.7)",
+ "text-halo-width": 1
}
}
]