diff --git a/map/martin/sprites/navigatum/bus-munich.svg b/map/martin/sprites/navigatum/bus-munich.svg new file mode 100644 index 000000000..aea39b5e7 --- /dev/null +++ b/map/martin/sprites/navigatum/bus-munich.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/map/martin/sprites/navigatum/s-bahn.svg b/map/martin/sprites/navigatum/s-bahn-munich.svg similarity index 86% rename from map/martin/sprites/navigatum/s-bahn.svg rename to map/martin/sprites/navigatum/s-bahn-munich.svg index 1281e6016..14825c458 100644 --- a/map/martin/sprites/navigatum/s-bahn.svg +++ b/map/martin/sprites/navigatum/s-bahn-munich.svg @@ -1,3 +1,3 @@ - + diff --git a/map/martin/sprites/navigatum/tram-munich.svg b/map/martin/sprites/navigatum/tram-munich.svg new file mode 100644 index 000000000..f1901de6e --- /dev/null +++ b/map/martin/sprites/navigatum/tram-munich.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/map/martin/sprites/navigatum/u-bahn.svg b/map/martin/sprites/navigatum/u-bahn-munich.svg similarity index 73% rename from map/martin/sprites/navigatum/u-bahn.svg rename to map/martin/sprites/navigatum/u-bahn-munich.svg index 620ca6374..27dc4bd0f 100644 --- a/map/martin/sprites/navigatum/u-bahn.svg +++ b/map/martin/sprites/navigatum/u-bahn-munich.svg @@ -1,3 +1,3 @@ - + diff --git a/map/styles/navigatum-basemap.json b/map/styles/navigatum-basemap.json index 40785a3f3..d7bf120f2 100644 --- a/map/styles/navigatum-basemap.json +++ b/map/styles/navigatum-basemap.json @@ -27,7 +27,9 @@ "id": "background", "type": "background", "source": "nav", - "paint": {"background-color": "rgb(239,239,239)"} + "paint": { + "background-color": "rgb(239,239,239)" + } }, { "id": "natural_earth", @@ -37,8 +39,13 @@ "paint": { "raster-opacity": [ "interpolate", - ["exponential", 1.5], - ["zoom"], + [ + "exponential", + 1.5 + ], + [ + "zoom" + ], 4, 0.7, 6, @@ -63,7 +70,10 @@ "source": "nav", "source-layer": "park", "paint": { - "line-dasharray": [1, 1.5], + "line-dasharray": [ + 1, + 1.5 + ], "line-color": "rgba(228, 241, 215, 1)" } }, @@ -72,15 +82,31 @@ "type": "fill", "source": "nav", "source-layer": "landcover", - "filter": ["==", ["get", "class"], "sand"], - "paint": {"fill-color": "rgba(247, 239, 195, 1)"} + "filter": [ + "==", + [ + "get", + "class" + ], + "sand" + ], + "paint": { + "fill-color": "rgba(247, 239, 195, 1)" + } }, { "id": "landcover_wood", "type": "fill", "source": "nav", "source-layer": "landcover", - "filter": ["==", ["get", "class"], "wood"], + "filter": [ + "==", + [ + "get", + "class" + ], + "wood" + ], "paint": { "fill-antialias": false, "fill-color": "hsla(98,61%,72%,0.7)", @@ -92,7 +118,14 @@ "type": "fill", "source": "nav", "source-layer": "landcover", - "filter": ["==", ["get", "class"], "grass"], + "filter": [ + "==", + [ + "get", + "class" + ], + "grass" + ], "paint": { "fill-antialias": false, "fill-color": "rgba(176, 213, 154, 1)", @@ -104,7 +137,14 @@ "type": "fill", "source": "nav", "source-layer": "landcover", - "filter": ["==", ["get", "class"], "ice"], + "filter": [ + "==", + [ + "get", + "class" + ], + "ice" + ], "paint": { "fill-antialias": false, "fill-color": "rgba(224, 236, 236, 1)", @@ -141,12 +181,23 @@ "source": "nav", "source-layer": "landuse", "maxzoom": 8, - "filter": ["==", ["get", "class"], "residential"], + "filter": [ + "==", + [ + "get", + "class" + ], + "residential" + ], "paint": { "fill-color": [ "interpolate", - ["linear"], - ["zoom"], + [ + "linear" + ], + [ + "zoom" + ], 9, "hsla(0,3%,85%,0.84)", 12, @@ -159,56 +210,122 @@ "type": "fill", "source": "nav", "source-layer": "landuse", - "filter": ["==", "class", "pitch"], - "paint": {"fill-color": "#DEE3CD"} + "filter": [ + "==", + "class", + "pitch" + ], + "paint": { + "fill-color": "#DEE3CD" + } }, { "id": "landuse_track", "type": "fill", "source": "nav", "source-layer": "landuse", - "filter": ["==", "class", "track"], - "paint": {"fill-color": "#DEE3CD"} + "filter": [ + "==", + "class", + "track" + ], + "paint": { + "fill-color": "#DEE3CD" + } }, { "id": "landuse_cemetery", "type": "fill", "source": "nav", "source-layer": "landuse", - "filter": ["==", ["get", "class"], "cemetery"], - "paint": {"fill-color": "hsl(75,37%,81%)"} + "filter": [ + "==", + [ + "get", + "class" + ], + "cemetery" + ], + "paint": { + "fill-color": "hsl(75,37%,81%)" + } }, { "id": "landuse_hospital", "type": "fill", "source": "nav", "source-layer": "landuse", - "filter": ["==", ["get", "class"], "hospital"], - "paint": {"fill-color": "#fde"} + "filter": [ + "==", + [ + "get", + "class" + ], + "hospital" + ], + "paint": { + "fill-color": "#fde" + } }, { "id": "landuse_school", "type": "fill", "source": "nav", "source-layer": "landuse", - "filter": ["==", ["get", "class"], "school"], - "paint": {"fill-color": "rgb(236,238,204)"} + "filter": [ + "==", + [ + "get", + "class" + ], + "school" + ], + "paint": { + "fill-color": "rgb(236,238,204)" + } }, { "id": "waterway_tunnel", "type": "line", "source": "nav", "source-layer": "waterway", - "filter": ["==", ["get", "brunnel"], "tunnel"], + "filter": [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], "paint": { "line-color": "#a0c8f0", - "line-dasharray": [3, 3], - "line-gap-width": ["interpolate", ["linear"], ["zoom"], 12, 0, 20, 6], + "line-dasharray": [ + 3, + 3 + ], + "line-gap-width": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 12, + 0, + 20, + 6 + ], "line-opacity": 1, "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 8, 1, 20, @@ -223,16 +340,37 @@ "source-layer": "waterway", "filter": [ "all", - ["==", ["get", "class"], "river"], - ["!=", ["get", "brunnel"], "tunnel"] + [ + "==", + [ + "get", + "class" + ], + "river" + ], + [ + "!=", + [ + "get", + "brunnel" + ], + "tunnel" + ] ], - "layout": {"line-cap": "round"}, + "layout": { + "line-cap": "round" + }, "paint": { "line-color": "#a0c8f0", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 11, 0.5, 20, @@ -247,16 +385,37 @@ "source-layer": "waterway", "filter": [ "all", - ["!=", ["get", "class"], "river"], - ["!=", ["get", "brunnel"], "tunnel"] + [ + "!=", + [ + "get", + "class" + ], + "river" + ], + [ + "!=", + [ + "get", + "brunnel" + ], + "tunnel" + ] ], - "layout": {"line-cap": "round"}, + "layout": { + "line-cap": "round" + }, "paint": { "line-color": "#a0c8f0", "line-width": [ "interpolate", - ["exponential", 1.3], - ["zoom"], + [ + "exponential", + 1.3 + ], + [ + "zoom" + ], 13, 0.5, 20, @@ -269,8 +428,17 @@ "type": "fill", "source": "nav", "source-layer": "water", - "filter": ["!=", ["get", "brunnel"], "tunnel"], - "paint": {"fill-color": "rgb(158,189,255)"} + "filter": [ + "!=", + [ + "get", + "brunnel" + ], + "tunnel" + ], + "paint": { + "fill-color": "rgb(158,189,255)" + } }, { "id": "aeroway_fill", @@ -278,8 +446,17 @@ "source": "nav", "source-layer": "aeroway", "minzoom": 11, - "filter": ["==", ["geometry-type"], "Polygon"], - "paint": {"fill-color": "rgba(229, 228, 224, 1)", "fill-opacity": 0.7} + "filter": [ + "==", + [ + "geometry-type" + ], + "Polygon" + ], + "paint": { + "fill-color": "rgba(229, 228, 224, 1)", + "fill-opacity": 0.7 + } }, { "id": "aeroway_runway", @@ -289,15 +466,33 @@ "minzoom": 11, "filter": [ "all", - ["==", ["geometry-type"], "LineString"], - ["==", ["get", "class"], "runway"] + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "class" + ], + "runway" + ] ], "paint": { "line-color": "#f0ede9", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 11, 3, 20, @@ -313,15 +508,33 @@ "minzoom": 11, "filter": [ "all", - ["==", ["geometry-type"], "LineString"], - ["==", ["get", "class"], "taxiway"] + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "class" + ], + "taxiway" + ] ], "paint": { "line-color": "#f0ede9", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 11, 0.5, 20, @@ -336,18 +549,49 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "motorway"], - ["==", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "tunnel"] + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "==", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", - "line-dasharray": [0.5, 0.25], + "line-dasharray": [ + 0.5, + 0.25 + ], "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 1, 13, @@ -366,17 +610,46 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["service", "track"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "service", + "track" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", - "line-dasharray": [0.5, 0.25], + "line-dasharray": [ + 0.5, + 0.25 + ], "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 15, 1, 16, @@ -393,16 +666,37 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "tunnel"] + [ + "==", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 1, 13, @@ -421,17 +715,55 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["street", "street_limited"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "street", + "street_limited" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", - "line-opacity": ["interpolate", ["linear"], ["zoom"], 12, 0, 12.5, 1], + "line-opacity": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 12, + 0, + 12.5, + 1 + ], "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 0.5, 13, @@ -450,16 +782,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["secondary", "tertiary"], true, false] - ], - "layout": {"line-join": "round"}, - "paint": { - "line-color": "#e9ac77", - "line-width": [ - "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "secondary", + "tertiary" + ], + true, + false + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": [ + "interpolate", + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 8, 1.5, 20, @@ -474,16 +832,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["primary", "trunk"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "primary", + "trunk" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0.4, 6, @@ -502,18 +886,49 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "motorway"], - ["!=", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "tunnel"] + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "!=", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", - "line-dasharray": [0.5, 0.25], + "line-dasharray": [ + 0.5, + 0.25 + ], "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0.4, 6, @@ -532,18 +947,57 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["geometry-type"], "LineString"], - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["path", "pedestrian"], true, false], - ["!", ["has", "level"]] + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "path", + "pedestrian" + ], + true, + false + ], + [ + "!", + [ + "has", + "level" + ] + ] ], "paint": { "line-color": "hsl(0,0%,100%)", - "line-dasharray": [1, 0.75], + "line-dasharray": [ + 1, + 0.75 + ], "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 14, 0.5, 20, @@ -558,17 +1012,45 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "motorway"], - ["==", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "tunnel"] + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "==", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fc8", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12.5, 0, 13, @@ -587,16 +1069,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["service", "track"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "service", + "track" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 15.5, 0, 16, @@ -613,16 +1121,37 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "tunnel"] + [ + "==", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff4c6", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12.5, 0, 13, @@ -641,16 +1170,41 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["minor"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "minor" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 13.5, 0, 14, @@ -667,16 +1221,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["secondary", "tertiary"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "secondary", + "tertiary" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff4c6", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 6.5, 0, 7, @@ -693,16 +1273,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["primary", "trunk"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "primary", + "trunk" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff4c6", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0, 7, @@ -719,17 +1325,45 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "motorway"], - ["!=", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "tunnel"] + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "!=", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#ffdaa6", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0, 7, @@ -746,15 +1380,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["match", ["get", "class"], ["rail"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "rail" + ], + true, + false + ] ], "paint": { "line-color": "#bbb", "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14, 0.4, 15, @@ -771,16 +1428,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["==", ["get", "class"], "rail"] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "==", + [ + "get", + "class" + ], + "rail" + ] ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14.5, 0, 15, @@ -798,15 +1477,34 @@ "minzoom": 16, "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["==", ["get", "class"], "transit"] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "==", + [ + "get", + "class" + ], + "transit" + ] ], "paint": { "line-color": "#bbb", "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14, 0.4, 15, @@ -824,16 +1522,38 @@ "minzoom": 17, "filter": [ "all", - ["==", ["get", "brunnel"], "tunnel"], - ["==", ["get", "class"], "transit"] + [ + "==", + [ + "get", + "brunnel" + ], + "tunnel" + ], + [ + "==", + [ + "get", + "class" + ], + "transit" + ] ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14.5, 0, 15, @@ -851,17 +1571,51 @@ "minzoom": 12, "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["==", ["get", "class"], "motorway"], - ["==", ["get", "ramp"], 1] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "==", + [ + "get", + "ramp" + ], + 1 + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 1, 13, @@ -881,16 +1635,48 @@ "minzoom": 14, "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["match", ["get", "class"], ["service", "track"], true, false] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "match", + [ + "get", + "class" + ], + [ + "service", + "track" + ], + true, + false + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 15, 1, 16, @@ -908,23 +1694,59 @@ "minzoom": 13, "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], [ "match", - ["get", "class"], - ["motorway", "path", "pedestrian", "service", "track"], + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "match", + [ + "get", + "class" + ], + [ + "motorway", + "path", + "pedestrian", + "service", + "track" + ], false, true ], - ["==", ["get", "ramp"], 1] + [ + "==", + [ + "get", + "ramp" + ], + 1 + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 1, 13, @@ -943,19 +1765,75 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["geometry-type"], "LineString"], - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["match", ["get", "class"], ["minor"], true, false], - ["!=", ["get", "ramp"], 1] + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "match", + [ + "get", + "class" + ], + [ + "minor" + ], + true, + false + ], + [ + "!=", + [ + "get", + "ramp" + ], + 1 + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", - "line-opacity": ["interpolate", ["linear"], ["zoom"], 12, 0, 12.5, 1], + "line-opacity": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 12, + 0, + 12.5, + 1 + ], "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 0.5, 13, @@ -974,17 +1852,56 @@ "source-layer": "transportation", "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["match", ["get", "class"], ["secondary", "tertiary"], true, false], - ["!=", ["get", "ramp"], 1] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "match", + [ + "get", + "class" + ], + [ + "secondary", + "tertiary" + ], + true, + false + ], + [ + "!=", + [ + "get", + "ramp" + ], + 1 + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 8, 1.5, 20, @@ -999,16 +1916,47 @@ "source-layer": "transportation", "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["match", ["get", "class"], ["primary", "trunk"], true, false] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "match", + [ + "get", + "class" + ], + [ + "primary", + "trunk" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0.4, 6, @@ -1028,17 +1976,51 @@ "minzoom": 5, "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["==", ["get", "class"], "motorway"], - ["!=", ["get", "ramp"], 1] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "!=", + [ + "get", + "ramp" + ], + 1 + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0.4, 6, @@ -1058,17 +2040,51 @@ "minzoom": 12, "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["==", ["get", "class"], "motorway"], - ["==", ["get", "ramp"], 1] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "==", + [ + "get", + "ramp" + ], + 1 + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fc8", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12.5, 0, 13, @@ -1122,10 +2138,37 @@ "minzoom": 15, "filter": [ "all", - ["==", ["get", "class"], "path"], - ["!=", ["get", "subclass"], "platform"], - ["!=", ["get", "subclass"], "steps"], - ["!", ["has", "level"]] + [ + "==", + [ + "get", + "class" + ], + "path" + ], + [ + "!=", + [ + "get", + "subclass" + ], + "platform" + ], + [ + "!=", + [ + "get", + "subclass" + ], + "steps" + ], + [ + "!", + [ + "has", + "level" + ] + ] ], "layout": { "line-cap": "round", @@ -1136,8 +2179,13 @@ "line-color": "#fff", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 15.5, 0, 16, @@ -1156,16 +2204,48 @@ "minzoom": 15, "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["match", ["get", "class"], ["service", "track"], true, false] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "match", + [ + "get", + "class" + ], + [ + "service", + "track" + ], + true, + false + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 15.5, 0, 16, @@ -1183,23 +2263,59 @@ "minzoom": 13, "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["==", ["get", "ramp"], 1], [ "match", - ["get", "class"], - ["motorway", "path", "pedestrian", "service", "track"], + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "==", + [ + "get", + "ramp" + ], + 1 + ], + [ + "match", + [ + "get", + "class" + ], + [ + "motorway", + "path", + "pedestrian", + "service", + "track" + ], false, true ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12.5, 0, 13, @@ -1218,17 +2334,54 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["geometry-type"], "LineString"], - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["match", ["get", "class"], ["minor"], true, false] + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "match", + [ + "get", + "class" + ], + [ + "minor" + ], + true, + false + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 13.5, 0, 14, @@ -1245,16 +2398,48 @@ "source-layer": "transportation", "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["match", ["get", "class"], ["secondary", "tertiary"], true, false] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "match", + [ + "get", + "class" + ], + [ + "secondary", + "tertiary" + ], + true, + false + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 6.5, 0, 8, @@ -1271,16 +2456,47 @@ "source-layer": "transportation", "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["match", ["get", "class"], ["primary", "trunk"], true, false] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "match", + [ + "get", + "class" + ], + [ + "primary", + "trunk" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0, 7, @@ -1298,16 +2514,49 @@ "minzoom": 5, "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["==", ["get", "class"], "motorway"], - ["!=", ["get", "ramp"], 1] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "!=", + [ + "get", + "ramp" + ], + 1 + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": [ "interpolate", - ["linear"], - ["zoom"], + [ + "linear" + ], + [ + "zoom" + ], 5, "hsl(26,87%,62%)", 6, @@ -1315,8 +2564,13 @@ ], "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0, 7, @@ -1333,15 +2587,39 @@ "source-layer": "transportation", "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["==", ["get", "class"], "rail"] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "==", + [ + "get", + "class" + ], + "rail" + ] ], "paint": { "line-color": "#bbb", "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14, 0.4, 15, @@ -1358,16 +2636,43 @@ "source-layer": "transportation", "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["==", ["get", "class"], "rail"] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "==", + [ + "get", + "class" + ], + "rail" + ] ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14.5, 0, 15, @@ -1385,15 +2690,39 @@ "minzoom": 14, "filter": [ "all", - ["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true], - ["==", ["get", "class"], "transit"] + [ + "match", + [ + "get", + "brunnel" + ], + [ + "bridge", + "tunnel" + ], + false, + true + ], + [ + "==", + [ + "get", + "class" + ], + "transit" + ] ], "paint": { "line-color": "#bbb", "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14, 0, 15, @@ -1409,14 +2738,36 @@ "source": "nav", "source-layer": "transportation", "minzoom": 17, - "filter": ["all", ["==", ["get", "class"], "platform"], ["has", "level"]], + "filter": [ + "all", + [ + "==", + [ + "get", + "class" + ], + "platform" + ], + [ + "has", + "level" + ] + ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14.5, 0, 15, @@ -1432,14 +2783,35 @@ "source": "nav", "source-layer": "transportation", "minzoom": 16, - "filter": ["==", ["get", "oneway"], 1], + "filter": [ + "==", + [ + "get", + "oneway" + ], + 1 + ], "layout": { "icon-image": "arrow", "symbol-placement": "line", "icon-optional": true, - "icon-size": {"base": 1, "stops": [[15.5, 0], [20, 1]]} + "icon-size": { + "base": 1, + "stops": [ + [ + 15.5, + 0 + ], + [ + 20, + 1 + ] + ] + } }, - "paint": {"icon-opacity": 0.5} + "paint": { + "icon-opacity": 0.5 + } }, { "id": "road_one_way_arrow_opposite", @@ -1447,13 +2819,32 @@ "source": "nav", "source-layer": "transportation", "minzoom": 16, - "filter": ["==", ["get", "oneway"], -1], + "filter": [ + "==", + [ + "get", + "oneway" + ], + -1 + ], "layout": { "icon-image": "arrow", "symbol-placement": "line", "icon-rotate": 180, "icon-optional": true, - "icon-size": {"base": 1, "stops": [[15.5, 0], [20, 1]]} + "icon-size": { + "base": 1, + "stops": [ + [ + 15.5, + 0 + ], + [ + 20, + 1 + ] + ] + } } }, { @@ -1463,17 +2854,45 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "motorway"], - ["==", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "==", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 1, 13, @@ -1492,16 +2911,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "bridge"], - ["match", ["get", "class"], ["service", "track"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "service", + "track" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 15, 1, 16, @@ -1518,16 +2963,37 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "link"], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "link" + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 1, 13, @@ -1546,17 +3012,55 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "bridge"], - ["match", ["get", "class"], ["street", "street_limited"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "street", + "street_limited" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "hsl(36,6%,74%)", - "line-opacity": ["interpolate", ["linear"], ["zoom"], 12, 0, 12.5, 1], + "line-opacity": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 12, + 0, + 12.5, + 1 + ], "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 0.5, 13, @@ -1575,16 +3079,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "bridge"], - ["match", ["get", "class"], ["secondary", "tertiary"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "secondary", + "tertiary" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 8, 1.5, 20, @@ -1599,16 +3129,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "bridge"], - ["match", ["get", "class"], ["primary", "trunk"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "primary", + "trunk" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0.4, 6, @@ -1627,17 +3183,45 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "motorway"], - ["!=", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "!=", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0.4, 6, @@ -1656,17 +3240,45 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "motorway"], - ["==", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "==", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fc8", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12.5, 0, 13, @@ -1685,16 +3297,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "bridge"], - ["match", ["get", "class"], ["service", "track"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "service", + "track" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 15.5, 0, 16, @@ -1711,16 +3349,37 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "link"], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "link" + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12.5, 0, 13, @@ -1739,16 +3398,41 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "bridge"], - ["match", ["get", "class"], ["minor"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "minor" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 13.5, 0, 14, @@ -1765,16 +3449,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "bridge"], - ["match", ["get", "class"], ["secondary", "tertiary"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "secondary", + "tertiary" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 6.5, 0, 7, @@ -1791,16 +3501,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "brunnel"], "bridge"], - ["match", ["get", "class"], ["primary", "trunk"], true, false] + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "primary", + "trunk" + ], + true, + false + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0, 7, @@ -1817,17 +3553,45 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "motorway"], - ["!=", ["get", "ramp"], 1], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "motorway" + ], + [ + "!=", + [ + "get", + "ramp" + ], + 1 + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], - "layout": {"line-join": "round"}, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fc8", "line-width": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 5, 0, 7, @@ -1844,15 +3608,34 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "rail"], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "rail" + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], "paint": { "line-color": "#bbb", "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14, 0.4, 15, @@ -1869,16 +3652,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "rail"], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "rail" + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14.5, 0, 15, @@ -1895,15 +3700,34 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "transit"], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "transit" + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], "paint": { "line-color": "#bbb", "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14, 0.4, 15, @@ -1920,16 +3744,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", ["get", "class"], "transit"], - ["==", ["get", "brunnel"], "bridge"] + [ + "==", + [ + "get", + "class" + ], + "transit" + ], + [ + "==", + [ + "get", + "brunnel" + ], + "bridge" + ] ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": [ "interpolate", - ["exponential", 1.4], - ["zoom"], + [ + "exponential", + 1.4 + ], + [ + "zoom" + ], 14.5, 0, 15, @@ -1949,8 +3795,12 @@ "fill-color": "rgba(152, 198, 234, 1)", "fill-opacity": [ "interpolate", - ["linear"], - ["zoom"], + [ + "linear" + ], + [ + "zoom" + ], 13, 0, 13.5, @@ -1984,12 +3834,22 @@ "minzoom": 13.5, "maxzoom": 16.5, "paint": { - "fill-extrusion-height": ["get", "render_height"], - "fill-extrusion-base": ["get", "render_min_height"], + "fill-extrusion-height": [ + "get", + "render_height" + ], + "fill-extrusion-base": [ + "get", + "render_min_height" + ], "fill-extrusion-opacity": [ "interpolate", - ["linear"], - ["zoom"], + [ + "linear" + ], + [ + "zoom" + ], 13.5, 0, 14, @@ -2003,8 +3863,12 @@ ], "fill-extrusion-color": [ "interpolate", - ["linear"], - ["zoom"], + [ + "linear" + ], + [ + "zoom" + ], 13, "#98c6ea", 15, @@ -2020,15 +3884,36 @@ "source": "nav", "source-layer": "boundary", "minzoom": 8, - "filter": ["match", ["get", "admin_level"], [3, 4], true, false], - "layout": {"line-join": "round"}, + "filter": [ + "match", + [ + "get", + "admin_level" + ], + [ + 3, + 4 + ], + true, + false + ], + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#9e9cab", - "line-dasharray": [5, 1], + "line-dasharray": [ + 5, + 1 + ], "line-width": [ "interpolate", - ["linear"], - ["zoom"], + [ + "linear" + ], + [ + "zoom" + ], 4, 0.4, 5, @@ -2046,14 +3931,56 @@ "maxzoom": 5, "filter": [ "all", - ["==", ["get", "admin_level"], 2], - ["!", ["has", "claimed_by"]] + [ + "==", + [ + "get", + "admin_level" + ], + 2 + ], + [ + "!", + [ + "has", + "claimed_by" + ] + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "hsl(248,1%,41%)", - "line-opacity": ["interpolate", ["linear"], ["zoom"], 0, 0.4, 4, 1], - "line-width": ["interpolate", ["linear"], ["zoom"], 3, 1, 5, 1.2, 12, 3] + "line-opacity": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 0, + 0.4, + 4, + 1 + ], + "line-width": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 3, + 1, + 5, + 1.2, + 12, + 3 + ] } }, { @@ -2062,12 +3989,48 @@ "source": "nav", "source-layer": "boundary", "minzoom": 5, - "filter": ["==", ["get", "admin_level"], 2], - "layout": {"line-cap": "round", "line-join": "round"}, + "filter": [ + "==", + [ + "get", + "admin_level" + ], + 2 + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "hsl(248,1%,41%)", - "line-opacity": ["interpolate", ["linear"], ["zoom"], 0, 0.4, 4, 1], - "line-width": ["interpolate", ["linear"], ["zoom"], 3, 1, 5, 1.2, 12, 3] + "line-opacity": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 0, + 0.4, + 4, + 1 + ], + "line-width": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 3, + 1, + 5, + 1.2, + 12, + 3 + ] } }, { @@ -2075,10 +4038,24 @@ "type": "symbol", "source": "nav", "source-layer": "waterway", - "filter": ["==", ["geometry-type"], "LineString"], + "filter": [ + "==", + [ + "geometry-type" + ], + "LineString" + ], "layout": { - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Regular"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Regular" + ], "text-max-width": 5, "text-size": 12, "symbol-placement": "line" @@ -2094,10 +4071,24 @@ "type": "symbol", "source": "nav", "source-layer": "water_name", - "filter": ["==", ["geometry-type"], "Point"], + "filter": [ + "==", + [ + "geometry-type" + ], + "Point" + ], "layout": { - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Regular"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Regular" + ], "text-max-width": 5, "text-size": 12 }, @@ -2113,22 +4104,45 @@ "source": "nav", "source-layer": "poi", "minzoom": 17, - "filter": ["match", ["get", "class"], ["gate", "tail_gate"], true, false], + "filter": [ + "match", + [ + "get", + "class" + ], + [ + "gate", + "tail_gate" + ], + true, + false + ], "layout": { "icon-image": "gate", "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14, "icon-optional": true }, "paint": { "text-color": "rgba(159, 159, 159, 1)", - "text-halo-color": "#ffffff", + "text-halo-color": "#fff", "icon-color": "rgba(159, 159, 159, 1)", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "text-halo-width": 1, "text-halo-blur": 1, "icon-halo-width": 2, @@ -2143,26 +4157,61 @@ "minzoom": 16, "filter": [ "match", - ["get", "class"], - ["bicycle_rental", "parking", "bicycle_parking", "motorcycle_parking"], + [ + "get", + "class" + ], + [ + "bicycle_rental", + "parking", + "bicycle_parking", + "motorcycle_parking" + ], true, false ], "layout": { "icon-image": [ "match", - ["get", "class"], - ["bicycle_rental"], - ["literal", "bicycle-share"], - ["bicycle_parking"], - ["literal", "bicycle"], - ["literal", "parking"] + [ + "get", + "class" + ], + [ + "bicycle_rental" + ], + [ + "literal", + "bicycle-share" + ], + [ + "bicycle_parking" + ], + [ + "literal", + "bicycle" + ], + [ + "literal", + "parking" + ] ], "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14, "icon-allow-overlap": false, "icon-ignore-placement": false, @@ -2172,15 +4221,19 @@ "text-color": "#4898FF", "text-halo-color": "#fff", "icon-color": "#4898FF", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "icon-halo-blur": 1, "text-halo-width": 1, "icon-halo-width": 2, "text-halo-blur": 1, "icon-opacity": [ "interpolate", - ["linear"], - ["zoom"], + [ + "linear" + ], + [ + "zoom" + ], 16.5, 0, 17, @@ -2188,10 +4241,29 @@ "min", [ "/", - ["-", ["literal", 100], ["number", ["get", "rank"]]], - ["literal", 70] + [ + "-", + [ + "literal", + 100 + ], + [ + "number", + [ + "get", + "rank" + ] + ] + ], + [ + "literal", + 70 + ] ], - ["literal", 1] + [ + "literal", + 1 + ] ], 20, 1 @@ -2254,26 +4326,60 @@ "source": "nav", "source-layer": "poi", "minzoom": 18, - "filter": ["match", ["get", "class"], ["office", "college"], true, false], + "filter": [ + "match", + [ + "get", + "class" + ], + [ + "office", + "college" + ], + true, + false + ], "layout": { "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14 }, "paint": { "text-color": "rgba(20, 39, 87, 1)", - "text-halo-color": "#ffffff", + "text-halo-color": "#fff", "icon-color": [ "match", - ["get", "name"], - ["der tu film"], - ["literal", "rgba(20, 39, 87, 1)"], - ["literal", "rgba(0, 0, 0, 1)"] + [ + "get", + "name" + ], + [ + "der tu film" + ], + [ + "literal", + "rgba(20, 39, 87, 1)" + ], + [ + "literal", + "rgba(0, 0, 0, 1)" + ] ], - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "text-halo-width": 1, "text-halo-blur": 1, "icon-halo-width": 2, @@ -2286,29 +4392,56 @@ "source": "nav", "source-layer": "poi", "minzoom": 16, - "filter": ["match", ["get", "class"], ["fuel"], true, false], + "filter": [ + "match", + [ + "get", + "class" + ], + [ + "fuel" + ], + true, + false + ], "layout": { "text-anchor": "left", "text-field": "", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14, "icon-allow-overlap": false, "icon-ignore-placement": false, "icon-image": [ "match", - ["get", "subclass"], - ["charging_station"], - ["literal", "charging-station"], - ["get", "subclass"] + [ + "get", + "subclass" + ], + [ + "charging_station" + ], + [ + "literal", + "charging-station" + ], + [ + "get", + "subclass" + ] ] }, "paint": { "text-color": "#4898FF", "text-halo-color": "#fff", "icon-color": "#4898FF", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "icon-halo-blur": 1, "text-halo-width": 1, "icon-halo-width": 2, @@ -2321,21 +4454,39 @@ "source": "nav", "source-layer": "poi", "minzoom": 16, - "filter": ["==", ["get", "class"], "school"], + "filter": [ + "==", + [ + "get", + "class" + ], + "school" + ], "layout": { "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14, "icon-image": "school" }, "paint": { "text-color": "#725A51", - "text-halo-color": "#ffffff", + "text-halo-color": "#fff", "icon-color": "#725A51", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "icon-halo-width": 2, "icon-halo-blur": 1, "text-halo-width": 1, @@ -2348,35 +4499,89 @@ "source": "nav", "source-layer": "poi", "minzoom": 16, - "filter": ["match", ["get", "class"], ["pitch", "climbing"], true, false], + "filter": [ + "match", + [ + "get", + "class" + ], + [ + "pitch", + "climbing" + ], + true, + false + ], "layout": { "icon-image": [ "match", - ["get", "subclass"], - ["table_tennis"], - ["literal", "table-tennis"], - ["beachvolleyball"], - ["literal", "volleyball"], - ["american_football"], - ["literal", "american-football"], - ["climbing"], - ["literal", "mountain"], - ["multi"], - ["literal", "pitch"], - ["get", "subclass"] + [ + "get", + "subclass" + ], + [ + "table_tennis" + ], + [ + "literal", + "table-tennis" + ], + [ + "beachvolleyball" + ], + [ + "literal", + "volleyball" + ], + [ + "american_football" + ], + [ + "literal", + "american-football" + ], + [ + "climbing" + ], + [ + "literal", + "mountain" + ], + [ + "multi" + ], + [ + "literal", + "pitch" + ], + [ + "get", + "subclass" + ] ], "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14 }, "paint": { "text-color": "#77A723", - "text-halo-color": "#ffffff", + "text-halo-color": "#fff", "icon-color": "#77A723", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "icon-halo-width": 2, "icon-halo-blur": 1, "text-halo-width": 1, @@ -2391,7 +4596,10 @@ "minzoom": 17, "filter": [ "match", - ["get", "class"], + [ + "get", + "class" + ], [ "lodging", "shop", @@ -2409,23 +4617,45 @@ "layout": { "icon-image": [ "match", - ["get", "class"], - ["atm"], - ["literal", "bank"], - ["get", "class"] + [ + "get", + "class" + ], + [ + "atm" + ], + [ + "literal", + "bank" + ], + [ + "get", + "class" + ] ], "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14 }, "paint": { "text-color": "#725A51", - "text-halo-color": "#ffffff", + "text-halo-color": "#fff", "icon-color": "#725A51", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "icon-halo-width": 2, "icon-halo-blur": 1, "text-halo-width": 1, @@ -2438,21 +4668,43 @@ "source": "nav", "source-layer": "poi", "minzoom": 14, - "filter": ["match", ["get", "name"], ["der tu film"], true, false], + "filter": [ + "match", + [ + "get", + "name" + ], + [ + "der tu film" + ], + true, + false + ], "layout": { "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14, "icon-image": "cinema" }, "paint": { "text-color": "rgba(102, 96, 190, 1.0)", - "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-color": "#fff", "icon-color": "rgba(102, 96, 190, 1.0)", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "icon-halo-width": 2, "icon-halo-blur": 1, "text-halo-width": 1, @@ -2467,7 +4719,10 @@ "minzoom": 16, "filter": [ "match", - ["get", "class"], + [ + "get", + "class" + ], [ "restaurant", "fast_food", @@ -2485,23 +4740,45 @@ "layout": { "icon-image": [ "match", - ["get", "subclass"], - ["fast_food"], - ["literal", "fast-food"], - ["get", "class"] + [ + "get", + "subclass" + ], + [ + "fast_food" + ], + [ + "literal", + "fast-food" + ], + [ + "get", + "class" + ] ], "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14 }, "paint": { "text-color": "#D97201", - "text-halo-color": "#ffffff", + "text-halo-color": "#fff", "icon-color": "#D97201", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "icon-halo-width": 2, "icon-halo-blur": 1, "text-halo-width": 1, @@ -2514,20 +4791,42 @@ "source": "nav", "source-layer": "poi", "minzoom": 16, - "filter": ["match", ["get", "class"], ["library"], true, false], + "filter": [ + "match", + [ + "get", + "class" + ], + [ + "library" + ], + true, + false + ], "layout": { "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14, "icon-image": "library" }, "paint": { - "text-halo-color": "#ffffff", + "text-halo-color": "#fff", "icon-color": "rgba(20, 39, 87, 1)", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "icon-halo-width": 2, "icon-halo-blur": 1, "text-halo-width": 1, @@ -2543,31 +4842,59 @@ "minzoom": 15, "filter": [ "match", - ["get", "class"], - ["fire_station", "hospital"], + [ + "get", + "class" + ], + [ + "fire_station", + "hospital" + ], true, false ], "layout": { "icon-image": [ "match", - ["get", "class"], - ["fire_station"], - ["literal", "fire-station"], - ["get", "class"] + [ + "get", + "class" + ], + [ + "fire_station" + ], + [ + "literal", + "fire-station" + ], + [ + "get", + "class" + ] ], "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14 }, "paint": { "text-color": "#BA3827", - "text-halo-color": "#ffffff", + "text-halo-color": "#fff", "icon-color": "#BA3827", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-color": "#fff", "text-halo-width": 1, "text-halo-blur": 1, "icon-halo-width": 2, @@ -2580,24 +4907,42 @@ "source": "nav", "source-layer": "poi", "minzoom": 15, - "filter": ["==", ["get", "class"], "bus"], + "filter": [ + "==", + [ + "get", + "class" + ], + "bus" + ], "layout": { - "icon-image": "bus", + "icon-image": "bus-munich", "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14, "icon-allow-overlap": false, "icon-optional": true }, "paint": { - "text-color": "rgba(0, 109, 255, 1)", - "text-halo-color": "#ffffff", + "text-color": "#085d6f", + "text-halo-color": "#fff", "text-halo-width": 1, - "icon-color": "rgba(0, 109, 255, 1)", - "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-color": "#085d6f", + "icon-halo-color": "#fff", "icon-halo-blur": 1, "icon-halo-width": 2, "text-halo-blur": 1 @@ -2613,56 +4958,141 @@ "all", [ "match", - ["get", "class"], - ["airport", "rail", "railway"], + [ + "get", + "class" + ], + [ + "airport", + "rail", + "railway" + ], true, false ], - ["!=", ["get", "subclass"], "halt"] + [ + "!=", + [ + "get", + "subclass" + ], + "halt" + ] ], "layout": { "icon-image": [ "match", - ["get", "subclass"], - ["subway"], - ["literal", "u-bahn"], - ["station"], - ["literal", "s-bahn"], - ["tram_stop"], - ["literal", "rail-light"], - ["get", "class"] + [ + "get", + "subclass" + ], + [ + "subway" + ], + [ + "literal", + "u-bahn-munich" + ], + [ + "station" + ], + [ + "literal", + "s-bahn-munich" + ], + [ + "tram_stop" + ], + [ + "literal", + "tram-munich" + ], + [ + "get", + "class" + ] + ], + "text-anchor": "left", + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], + "text-max-width": 9, + "text-offset": [ + 0.9, + 0 + ], + "text-size": 14, + "icon-allow-overlap": false, + "text-allow-overlap": false, + "text-ignore-placement": false + }, + "paint": { + "text-color": [ + "match", + [ + "get", + "subclass" + ], + [ + "subway" + ], + [ + "literal", + "#086ab1" + ], + [ + "station" + ], + [ + "literal", + "#00894d" + ], + [ + "tram_stop" + ], + [ + "literal", + "#d92727" + ], + [ + "literal", + "rgba(0, 109, 255, 1)" + ] ], - "text-anchor": "left", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], - "text-max-width": 9, - "text-offset": [0.9, 0], - "text-size": 14, - "icon-allow-overlap": false, - "text-allow-overlap": false, - "text-ignore-placement": false - }, - "paint": { - "text-color": [ - "match", - ["get", "subclass"], - ["subway"], - ["literal", "#086ab1"], - ["station"], - ["literal", "#00894d"], - ["literal", "rgba(0, 109, 255, 1)"] - ], - "text-halo-color": "#ffffff", + "text-halo-color": "#fff", "icon-color": [ "match", - ["get", "subclass"], - ["subway"], - ["literal", "#086ab1"], - ["station"], - ["literal", "#00894d"], - ["literal", "rgba(0, 109, 255, 1)"] - ], - "icon-halo-color": "rgba(255, 255, 255, 1)", + [ + "get", + "subclass" + ], + [ + "subway" + ], + [ + "literal", + "#086ab1" + ], + [ + "station" + ], + [ + "literal", + "#00894d" + ], + [ + "literal", + "rgba(0, 109, 255, 1)" + ] + ], + "icon-halo-color": "#fff", "text-halo-blur": 1, "text-halo-width": 1, "icon-halo-blur": 1, @@ -2674,14 +5104,44 @@ "type": "symbol", "source": "nav", "source-layer": "transportation_name", - "filter": ["all", ["!=", "subclass", "corridor"]], + "filter": [ + "all", + [ + "!=", + "subclass", + "corridor" + ] + ], "layout": { "symbol-placement": "line", "text-anchor": "center", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Regular"], - "text-offset": [0, 0.15], - "text-size": ["interpolate", ["linear"], ["zoom"], 13, 12, 14, 13] + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Regular" + ], + "text-offset": [ + 0, + 0.15 + ], + "text-size": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 13, + 12, + 14, + 13 + ] }, "paint": { "text-color": "#765", @@ -2698,24 +5158,77 @@ "minzoom": 7, "filter": [ "all", - ["<=", ["get", "ref_length"], 6], - ["!=", ["get", "subclass"], ["literal", "junction"]], - ["!=", ["get", "class"], ["literal", "path"]] + [ + "<=", + [ + "get", + "ref_length" + ], + 6 + ], + [ + "!=", + [ + "get", + "subclass" + ], + [ + "literal", + "junction" + ] + ], + [ + "!=", + [ + "get", + "class" + ], + [ + "literal", + "path" + ] + ] ], "layout": { - "icon-image": ["concat", "default_", ["get", "ref_length"]], + "icon-image": [ + "concat", + "default_", + [ + "get", + "ref_length" + ] + ], "icon-rotation-alignment": "viewport", - "symbol-placement": ["step", ["zoom"], "point", 11, "line"], + "symbol-placement": [ + "step", + [ + "zoom" + ], + "point", + 11, + "line" + ], "symbol-spacing": 500, - "text-field": ["to-string", ["get", "ref"]], - "text-font": ["Roboto Regular"], - "text-offset": [0, 0.1], + "text-field": [ + "to-string", + [ + "get", + "ref" + ] + ], + "text-font": [ + "Roboto Regular" + ], + "text-offset": [ + 0, + 0.1 + ], "text-rotation-alignment": "viewport", "text-size": 10, "icon-size": 0.8 }, "paint": { - "icon-color": "rgba(255, 255, 255, 1)", + "icon-color": "#fff", "icon-halo-color": "#000", "icon-halo-blur": 2, "icon-halo-width": 4 @@ -2729,20 +5242,43 @@ "maxzoom": 14, "filter": [ "match", - ["get", "class"], - ["hamlet", "island", "islet", "neighbourhood", "quarter", "suburb"], + [ + "get", + "class" + ], + [ + "hamlet", + "island", + "islet", + "neighbourhood", + "quarter", + "suburb" + ], true, false ], "layout": { - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-letter-spacing": 0.1, "text-max-width": 9, "text-size": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 12, 10, 15, @@ -2761,15 +5297,35 @@ "type": "symbol", "source": "nav", "source-layer": "place", - "filter": ["==", ["get", "class"], "village"], + "filter": [ + "==", + [ + "get", + "class" + ], + "village" + ], "layout": { - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Regular"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Regular" + ], "text-max-width": 8, "text-size": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 10, 12, 15, @@ -2787,18 +5343,49 @@ "type": "symbol", "source": "nav", "source-layer": "place", - "filter": ["==", ["get", "class"], "town"], + "filter": [ + "==", + [ + "get", + "class" + ], + "town" + ], "layout": { - "icon-image": ["step", ["zoom"], "dot_9", 8, ""], + "icon-image": [ + "step", + [ + "zoom" + ], + "dot_9", + 8, + "" + ], "text-anchor": "bottom", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Regular"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Regular" + ], "text-max-width": 8, - "text-offset": [0, 0], + "text-offset": [ + 0, + 0 + ], "text-size": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 7, 12, 11, @@ -2817,18 +5404,49 @@ "source": "nav", "source-layer": "place", "minzoom": 5, - "filter": ["==", ["get", "class"], "city"], + "filter": [ + "==", + [ + "get", + "class" + ], + "city" + ], "layout": { - "icon-image": ["step", ["zoom"], "dot_9", 8, ""], + "icon-image": [ + "step", + [ + "zoom" + ], + "dot_9", + 8, + "" + ], "text-anchor": "bottom", - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Medium"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Medium" + ], "text-max-width": 8, - "text-offset": [0, 0], + "text-offset": [ + 0, + 0 + ], "text-size": [ "interpolate", - ["exponential", 1.2], - ["zoom"], + [ + "exponential", + 1.2 + ], + [ + "zoom" + ], 7, 14, 11, @@ -2850,11 +5468,38 @@ "source-layer": "place", "minzoom": 4, "maxzoom": 7, - "filter": ["==", ["get", "class"], "state"], + "filter": [ + "==", + [ + "get", + "class" + ], + "state" + ], "layout": { - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], - "text-size": ["interpolate", ["linear"], ["zoom"], 4, 11, 6, 15], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], + "text-size": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 4, + 11, + 6, + 15 + ], "text-transform": "uppercase" }, "paint": { @@ -2871,14 +5516,48 @@ "minzoom": 2.5, "filter": [ "all", - [">=", ["get", "rank"], 3], - ["==", ["get", "class"], "country"] + [ + ">=", + [ + "get", + "rank" + ], + 3 + ], + [ + "==", + [ + "get", + "class" + ], + "country" + ] ], "layout": { - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 6.25, - "text-size": ["interpolate", ["linear"], ["zoom"], 3, 11, 7, 17], + "text-size": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 3, + 11, + 7, + 17 + ], "text-transform": "none" }, "paint": { @@ -2896,14 +5575,48 @@ "minzoom": 2, "filter": [ "all", - ["==", ["get", "rank"], 2], - ["==", ["get", "class"], "country"] + [ + "==", + [ + "get", + "rank" + ], + 2 + ], + [ + "==", + [ + "get", + "class" + ], + "country" + ] ], "layout": { - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 6.25, - "text-size": ["interpolate", ["linear"], ["zoom"], 2, 11, 5, 17], + "text-size": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 2, + 11, + 5, + 17 + ], "text-transform": "none" }, "paint": { @@ -2921,14 +5634,48 @@ "minzoom": 1, "filter": [ "all", - ["==", ["get", "rank"], 1], - ["==", ["get", "class"], "country"] + [ + "==", + [ + "get", + "rank" + ], + 1 + ], + [ + "==", + [ + "get", + "class" + ], + "country" + ] ], "layout": { - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 6.25, - "text-size": ["interpolate", ["linear"], ["zoom"], 1, 11, 4, 17], + "text-size": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 1, + 11, + 4, + 17 + ], "text-transform": "none" }, "paint": { @@ -2944,10 +5691,25 @@ "source": "nav", "source-layer": "place", "maxzoom": 1, - "filter": ["==", ["get", "class"], "continent"], + "filter": [ + "==", + [ + "get", + "class" + ], + "continent" + ], "layout": { - "text-field": ["to-string", ["get", "name_de"]], - "text-font": ["Roboto Condensed Italic"], + "text-field": [ + "to-string", + [ + "get", + "name_de" + ] + ], + "text-font": [ + "Roboto Condensed Italic" + ], "text-size": 13, "text-transform": "uppercase", "text-justify": "center" @@ -2966,8 +5728,16 @@ "minzoom": 16, "filter": [ "all", - ["==", "subclass", "platform"], - ["==", "class", "path"] + [ + "==", + "subclass", + "platform" + ], + [ + "==", + "class", + "path" + ] ], "paint": { "fill-color": "rgba(143, 139, 139, 0.2)",