{"version": 8, "name": "basemap_v1.26.0", "sources": {"relief_v1.0.0": {"url": "https://vectortiles.geo.admin.ch/tiles/ch.swisstopo.relief.vt/v1.0.0/tiles.json", "type": "vector"}, "base_v1.0.0": {"url": "https://vectortiles.geo.admin.ch/tiles/ch.swisstopo.base.vt/v1.0.0/tiles.json", "type": "vector"}}, "layers": [{"id": "background", "type": "background", "layout": {"visibility": "visible"}, "paint": {"background-color": "rgb(253, 253, 254)"}}, {"id": "hillshade_grey", "type": "fill", "source": "relief_v1.0.0", "source-layer": "hillshade", "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "luminosity"], -15, "rgb(173,188,199)", -14, "rgb(178,192,203)", -13, "rgb(183,197,206)", -12, "rgb(189,201,210)", -11, "rgb(194,205,213)", -10, "rgb(199,209,217)", -9, "rgb(204,214,220)", -8, "rgb(209,218,224)", -7, "rgb(215,222,227)", -6, "rgb(220,226,231)", -5, "rgb(225,231,234)", -4, "rgb(230,235,238)", -3, "rgb(235,239,241)", -2, "rgb(241,243,245)", -1, "rgb(246,248,248)", 0, "rgb(251,252,252)", "rgb(251,252,252)"], "fill-opacity": {"stops": [[1, 0.5], [8, 1]]}, "fill-antialias": false}, "filter": ["all", ["<=", "luminosity", 0]]}, {"id": "hillshade_yellow", "type": "fill", "source": "relief_v1.0.0", "source-layer": "hillshade", "minzoom": 9.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": "rgb(255, 235, 5)", "fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 10, 0.04], "fill-antialias": false}, "filter": ["all", [">", "luminosity", 0], ["!in", "mask", "rock", "ice", "scree"]]}, {"id": "scree_z17", "type": "fill", "source": "relief_v1.0.0", "source-layer": "scree", "minzoom": 17.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 11, 0.25, 16, 0.35], "fill-pattern": ["match", ["get", "weight"], 15, "scree_very_large_1", 10, "scree_very_large_2", 5, "scree_very_large_3", 1, "scree_very_large_4", ""]}}, {"id": "scree_z15", "type": "fill", "source": "relief_v1.0.0", "source-layer": "scree", "minzoom": 15.0, "maxzoom": 17.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 11, 0.25, 16, 0.35], "fill-pattern": ["match", ["get", "weight"], 15, "scree_large_1", 10, "scree_large_2", 5, "scree_large_3", 1, "scree_large_4", ""]}}, {"id": "scree_z13", "type": "fill", "source": "relief_v1.0.0", "source-layer": "scree", "minzoom": 13.0, "maxzoom": 15.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 11, 0.25, 16, 0.35], "fill-pattern": ["match", ["get", "weight"], 15, "scree_medium_1", 10, "scree_medium_2", 5, "scree_medium_3", 1, "scree_medium_4", ""]}}, {"id": "scree_z11", "type": "fill", "source": "relief_v1.0.0", "source-layer": "scree", "minzoom": 11.0, "maxzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 11, 0.25, 16, 0.35], "fill-pattern": ["match", ["get", "weight"], 15, "scree_small_1", 10, "scree_small_2", 5, "scree_small_3", 1, "scree_small_4", ""]}}, {"id": "contour_line", "type": "line", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 11.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], "scree", "rgba(0, 0, 0, 0.25)", "rgba(180, 110, 13, 0.35)"], "line-width": ["interpolate", ["exponential", 1], ["zoom"], 11, ["match", ["%", ["get", "ele"], 100], 0, 0.75, 0], 12, ["match", ["%", ["get", "ele"], 100], 0, 1, 0], 14, ["match", ["%", ["get", "ele"], 100], 0, 1.5, [20, 40, 60, 80], 0.75, 0], 15, ["match", ["%", ["get", "ele"], 100], 0, 2, [20, 40, 60, 80], 1, 0], 18, ["match", ["%", ["get", "ele"], 100], 0, 3, [20, 40, 60, 80], 1.5, 1.25]], "line-opacity": ["step", ["zoom"], ["match", ["%", ["get", "ele"], 100], 0, 1, [20, 40, 60, 80], 1, 0], 16, 1]}, "filter": ["!in", "class", "rock", "ice", "water"]}, {"id": "landcover", "type": "fill", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 5.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["interpolate", ["exponential", 2], ["zoom"], 10, ["match", ["get", "subclass"], ["forest", "scrub", "woody_plant", "loose_forest"], "rgb(62, 153, 10)", "sand", "rgb(239, 176, 87)", "glacier", "rgb(205, 232, 244)", "rgb(211, 235, 199)"], 12, ["match", ["get", "subclass"], ["forest", "scrub", "woody_plant", "loose_forest"], "rgb(62, 168, 0)", "sand", "rgb(239, 176, 87)", "glacier", "rgb(205, 232, 244)", "rgb(211, 235, 199)"]], "fill-opacity": ["interpolate", ["exponential", 1.5], ["zoom"], 5, 0, 6, ["match", ["get", "class"], "ice", 0.3, 0], 9, ["match", ["get", "class"], "ice", 0.2, 0], 10, ["match", ["get", "class"], "ice", 0.2, 0.1], 11, ["match", ["get", "class"], "ice", 0.2, 0.125], 12, ["match", ["get", "class"], "ice", 0.1, 0.135], 14, ["match", ["get", "class"], "ice", 0, ["match", ["get", "subclass"], ["forest", "scrub", "woody_plant", "loose_forest"], 0.15, ["park", "golf_course"], 0.35, 0.25]]]}, "filter": ["in", "subclass", "allotments", "forest", "glacier", "golf_course", "park", "scrub", "woody_plant"]}, {"id": "landcover_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": "rgb(138, 198, 108)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 11, 1, 16, 1, 20, 5], "line-opacity": ["interpolate", ["exponential", 1.5], ["zoom"], 12, 0, 14, 1]}, "filter": ["in", "subclass", "allotments", "golf_course", "park", "vineyard"]}, {"id": "landuse", "type": "fill", "source": "base_v1.0.0", "source-layer": "landuse", "minzoom": 7.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["interpolate", ["exponential", 3], ["zoom"], 11.5, ["match", ["get", "class"], "residential", "rgb(246, 219, 164)", ["landfill", "quarry"], "rgb(240, 218, 188)", "pitch", "rgb(231, 243, 225)", "power_transformer", "rgb(255, 255, 255)", "rgb(211, 235, 199)"], 12, ["match", ["get", "class"], "residential", "rgba(188, 186, 185,0.4)", ["landfill", "quarry"], "rgb(240, 218, 188)", "pitch", "rgb(231, 243, 225)", "power_transformer", "rgb(255, 255, 255)", "rgb(211, 235, 199)"]], "fill-opacity": ["step", ["zoom"], 0.9, 11, 0.8, 12, ["match", ["get", "class"], ["pitch", "power_transformer"], 1, ["camp_site", "cemetery", "zoo"], 0.3, "residential", 0, 0.3]]}, "filter": ["in", "class", "camp_site", "caravan_site", "cemetery", "horse_racing", "landfill", "pitch", "power_transformer", "recreation", "residential", "sports", "swimming_pool", "zoo"]}, {"id": "landuse_outline", "type": "line", "source": "base_v1.0.0", "source-layer": "landuse", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": ["match", ["get", "class"], "residential", 1, 0.25], "line-color": ["match", ["get", "class"], ["pitch", "power_transformer", "residential"], "rgb(132, 132, 132)", "rgb(138, 198, 108)"], "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 6, 0, 11, 1, 16, 1, 20, 5], "line-opacity": ["step", ["zoom"], ["match", ["get", "class"], "residential", 0.35, 1], 11, ["match", ["get", "class"], "residential", 0, 1]]}, "filter": ["in", "class", "camp_site", "cemetery", "pitch", "power_transformer", "residential", "zoo"]}, {"id": "ford_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 10.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgb(60, 60, 60)", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 13, 2.5, 15, 5, 16, 9, 20, 115], "line-offset": 0, "line-opacity": ["match", ["get", "class"], ["motorway_construction", "trunk_construction", "primary_construction", "secondary_construction", "tertiary_construction", "minor_construction", "track_construction", "path_construction", "service_construction", "via_ferrata_construction", "rail_construction", "transit_construction"], 0.3, 1]}, "filter": ["all", ["has", "brunnel"], ["==", "brunnel", "ford"]]}, {"id": "ford_fill", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 10.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": {"stops": [[8, 0.4], [14, 0.1]]}, "line-color": "rgb(255, 255, 255)", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 13, 2.5, 15, 3, 16, 6, 20, 101], "line-opacity": ["match", ["get", "class"], ["motorway_construction", "trunk_construction", "primary_construction", "secondary_construction", "tertiary_construction", "minor_construction", "track_construction", "path_construction", "service_construction", "via_ferrata_construction", "rail_construction", "transit_construction"], 0.5, 1]}, "filter": ["all", ["has", "brunnel"], ["==", "brunnel", "ford"]]}, {"id": "water_line_intermittent", "type": "line", "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"line-color": "rgb(0, 0, 0)", "line-width": ["interpolate", ["linear"], ["zoom"], 13, 1, 15, 1.5, 20, 5], "line-offset": 0, "line-opacity": 0.4, "line-dasharray": ["step", ["zoom"], ["literal", [0.25, 0.75]], 14, ["literal", [0.5, 1.5]], 15, ["literal", [0.75, 3]], 16, ["literal", [1, 4]]], "line-blur": 0.25}, "filter": ["==", "intermittent", 1]}, {"id": "water_line", "type": "line", "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 5.0, "layout": {"visibility": "visible"}, "paint": {"line-color": "rgb(77, 164, 218)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 5, 0.25, 7, 0.75, 10, ["match", ["to-string", ["get", "width"]], ["10", "9", "8", "7", "6"], 1, ["5", "4", "3", "2", "1"], 0.75, ["match", ["get", "class"], ["river", "canal"], 1, 0.75]], 13, ["match", ["to-string", ["get", "width"]], ["10", "9", "8"], 3, ["7", "6", "5"], 2, ["4", "3"], 1, ["1", "2"], 0.75, ["match", ["get", "class"], ["river", "canal"], 3.5, 1]], 16, ["match", ["to-string", ["get", "width"]], "10", 5, "9", 4.5, "8", 4, "7", 3.5, ["6", "5"], 3, "4", 2.5, "3", 2, "2", 1.5, "1", 1, ["match", ["get", "class"], ["river", "canal"], 5, 1.5]], 20, ["match", ["to-string", ["get", "width"]], "10", 10, "9", 9.6, "8", 8.9, "7", 8.2, "6", 7.5, "5", 5.8, "4", 5.1, "3", 4.4, "2", 3.7, "1", 2, ["match", ["get", "class"], ["river", "canal"], 10, 2]]], "line-offset": 0, "line-opacity": 1, "line-blur": 0.25}, "filter": ["all", ["!=", "intermittent", 1], ["!in", "class", "riverbank", "shoreline", "shoreline_changing_level"]]}, {"id": "water", "type": "fill", "source": "base_v1.0.0", "source-layer": "water", "minzoom": 5.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "class"], ["ocean", "lake"], "rgb(210, 238, 255)", "rgb(181, 225, 253)"]}}, {"id": "bathymetry", "type": "fill", "source": "base_v1.0.0", "source-layer": "bathymetry", "minzoom": 9.0, "maxzoom": 14.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "lake_depth"], -360, "rgb(137,204,245)", -340, "rgb(141,206,246)", -320, "rgb(145,208,246)", -300, "rgb(149,210,247)", -280, "rgb(153,212,247)", -260, "rgb(157,213,248)", -240, "rgb(161,215,248)", -220, "rgb(165,217,249)", -200, "rgb(169,219,249)", -180, "rgb(174,221,250)", -160, "rgb(178,223,250)", -140, "rgb(182,225,251)", -120, "rgb(186,227,251)", -100, "rgb(190,228,252)", -80, "rgb(194,230,252)", -60, "rgb(198,232,253)", -40, "rgb(202,234,253)", -20, "rgb(206,236,254)", "rgb(206,236,254)"], "fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 12, 1, 14, 0]}, "filter": ["==", "$type", "Polygon"]}, {"id": "hachure", "type": "fill", "source": "relief_v1.0.0", "source-layer": "hachure", "minzoom": 9.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "class"], 1, "rgb(12, 12, 12)", "rgb(25, 133, 200)"], "fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 11, 0.27], "fill-antialias": false}, "filter": ["==", "$type", "Polygon"]}, {"id": "mask_terrain", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 10.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 2, "line-color": "rgba(242, 242, 242, 0.7)", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 11, 2, 12, 3, 13, 4, 15, 6, 16, 7, 20, 21], "line-opacity": ["match", ["get", "subclass"], ["mask_rock_via_ferrata", "mask_scree_via_ferrata"], 0.5, 1]}, "filter": ["in", "subclass", "mask_rock_path", "mask_rock_footway", "mask_rock_trail", "mask_rock_via_ferrata", "mask_scree_path", "mask_scree_footway", "mask_scree_trail", "mask_scree_via_ferrata"]}, {"id": "pattern_landcover_z16", "type": "fill", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 16.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["exponential", 2], ["zoom"], 13, 0.4, 16, 0.6], "fill-pattern": ["match", ["get", "subclass"], "orchard", "orchard_pattern", "plant_nursery", "plant_nursery_pattern", "swamp", "wetland_pattern_small", "vineyard", "vineyard_pattern", ["scrub", "woody_plant"], "scrub_pattern_big", "loose_forest", "tree_pattern_big", ""]}, "filter": ["in", "subclass", "orchard", "swamp", "loose_forest", "plant_nursery", "vineyard"]}, {"id": "pattern_landcover_z12", "type": "fill", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 12.0, "maxzoom": 16.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["linear"], ["zoom"], 12, ["match", ["get", "subclass"], "swamp", 0, 0.4], 13, 0.4], "fill-pattern": ["match", ["get", "subclass"], "orchard", "orchard_pattern", "plant_nursery", "plant_nursery_pattern", "swamp", "wetland_pattern_big", "vineyard", "vineyard_pattern", "loose_forest", "tree_pattern_small", ["scrub", "woody_plant"], "scrub_pattern_small", ""]}, "filter": ["in", "subclass", "orchard", "swamp", "loose_forest", "plant_nursery", "vineyard"]}, {"id": "water_shoreline", "type": "line", "source": "base_v1.0.0", "source-layer": "water", "minzoom": 0.0, "layout": {"visibility": "visible"}, "paint": {"line-color": "rgb(77, 164, 218)", "line-width": ["interpolate", ["exponential", 1.2], ["zoom"], 6, 0.1, 10, 0.3, 18, ["match", ["get", "class"], "pool", 1, 1.5]], "line-opacity": ["step", ["zoom"], 1, 12, ["match", ["get", "class"], ["river", "lake"], 0, 1]], "line-blur": 0.25}}, {"id": "waterway_shoreline_changing", "type": "line", "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"line-color": "rgb(77, 164, 218)", "line-width": ["interpolate", ["exponential", 1.2], ["zoom"], 6, 1.5, 18, 2], "line-dasharray": [0.8, 1.2], "line-blur": 0.25}, "filter": ["==", "class", "shoreline_changing_level"]}, {"id": "waterway_shoreline", "type": "line", "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"line-color": "rgb(77, 164, 218)", "line-width": ["interpolate", ["exponential", 1.2], ["zoom"], 6, ["match", ["get", "class"], "riverbank", 0.1, 0.2], 10, ["match", ["get", "class"], "riverbank", 0.2, 0.3], 18, 1.5], "line-blur": 0.25}, "filter": ["in", "class", "riverbank", "shoreline"]}, {"id": "contour_line_blue", "type": "line", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgb(77, 164, 218)", "line-width": ["interpolate", ["exponential", 1], ["zoom"], 12, ["case", ["has", "lake_depth"], ["match", ["%", ["to-number", ["get", "lake_depth"]], 100], 0, 1, 0], ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 1, 0]], 14, ["case", ["has", "lake_depth"], ["match", ["%", ["to-number", ["get", "lake_depth"]], 100], 0, 1.5, [20, 40, 60, 80], 0.75, 0], ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 1.5, [20, 40, 60, 80], 0.75, 0]], 15, ["case", ["has", "lake_depth"], ["match", ["%", ["to-number", ["get", "lake_depth"]], 100], 0, 2, [20, 40, 60, 80], 1, 0], ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 2, [20, 40, 60, 80], 1, 0]], 18, ["case", ["has", "lake_depth"], ["match", ["%", ["to-number", ["get", "lake_depth"]], 100], 0, 3, [20, 40, 60, 80], 1.5, 1.25], ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 3, [20, 40, 60, 80], 1.5, 1.25]]], "line-opacity": ["step", ["zoom"], 0, 13, ["case", ["has", "lake_depth"], 0.3, ["match", ["%", ["get", "ele"], 100], 0, 0.3, [20, 40, 60, 80], 0.3, 0]], 14, ["case", ["has", "lake_depth"], 0.47, ["match", ["%", ["get", "ele"], 100], 0, 0.47, [20, 40, 60, 80], 0.47, 0]], 16, 0.47]}, "metadata": {"maputnik:comment": "color: rgb(191, 138, 64)"}, "filter": ["in", "class", "ice", "water"]}, {"id": "park_band", "type": "line", "source": "base_v1.0.0", "source-layer": "park", "minzoom": 8.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-color": "rgb(112, 180, 70)", "line-width": ["interpolate", ["exponential", 1.2], ["zoom"], 9, 3, 18, 24], "line-offset": {"stops": [[7, 1], [18, 8]]}, "line-opacity": ["interpolate", ["exponential", 1.9], ["zoom"], 7, 0, 8, 0.3]}, "filter": ["==", "$type", "Polygon"]}, {"id": "park", "type": "line", "source": "base_v1.0.0", "source-layer": "park", "minzoom": 8.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgb(112, 180, 70)", "line-width": ["interpolate", ["exponential", 1.2], ["zoom"], 9, 1, 18, 4], "line-opacity": ["interpolate", ["linear"], ["zoom"], 7, 0, 8, 1]}, "filter": ["==", "$type", "Polygon"]}, {"id": "boundary_dashed_band", "type": "line", "source": "base_v1.0.0", "source-layer": "boundary", "minzoom": 0.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["interpolate", ["linear"], ["zoom"], 8, "rgb(237, 196, 219)", 14, "rgb(234, 71, 148)"], "line-width": ["interpolate", ["linear"], ["zoom"], 2, ["match", ["get", "admin_level"], 2, 2, 0], 7, ["match", ["get", "admin_level"], 2, 4, 0], 8, ["match", ["get", "admin_level"], 2, 6, 2], 11, ["match", ["get", "admin_level"], 2, 10, 4, 5, 0], 12, ["match", ["get", "admin_level"], 2, 10, 4, 5, 2], 18, ["match", ["get", "admin_level"], 2, 24, 4, 16, 4], 20, ["match", ["get", "admin_level"], 2, 40, 4, 32, 6]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 1, 12, 0.4, 14, 0.25], "line-dasharray": {"stops": [[14, [3, 1]], [15, [6, 2]], [16, [9, 3]]]}}, "filter": ["all", ["match", ["get", "admin_level"], [2, 4], ["match", ["get", "maritime"], 0, ["match", ["get", "disputed"], 1, true, false], false], [6, 8], true, false], ["==", ["geometry-type"], "LineString"]]}, {"id": "boundary_band", "type": "line", "source": "base_v1.0.0", "source-layer": "boundary", "minzoom": 0.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["interpolate", ["linear"], ["zoom"], 8, "rgb(237, 196, 219)", 14, "rgb(254, 91, 168)"], "line-width": ["interpolate", ["linear"], ["zoom"], 2, ["match", ["get", "admin_level"], 2, 2, 0], 7, ["match", ["get", "admin_level"], 2, 4, 0], 8, ["match", ["get", "admin_level"], 2, 6, 2], 11, ["match", ["get", "admin_level"], 2, 10, 4, 5, 2], 18, ["match", ["get", "admin_level"], 2, 24, 4, 16, 6], 20, ["match", ["get", "admin_level"], 2, 40, 4, 32, 12]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0.5, 14, 0.2]}, "filter": ["all", ["in", "admin_level", 2, 4], ["!=", "maritime", 1], ["!=", "disputed", 1], ["==", "$type", "LineString"]]}, {"id": "boundary", "type": "line", "source": "base_v1.0.0", "source-layer": "boundary", "minzoom": 0.0, "layout": {"line-cap": ["literal", "round"], "line-join": ["literal", "miter"], "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": "rgb(195, 85, 145)", "line-width": ["interpolate", ["linear"], ["zoom"], 3, ["match", ["get", "admin_level"], 2, 0.5, 0], 4, ["match", ["get", "admin_level"], 2, 0.75, 0.5], 5, ["match", ["get", "admin_level"], 2, 1, 0.75], 7, ["match", ["get", "admin_level"], 2, 1, 0.5], 8, ["match", ["get", "admin_level"], 2, 1, 0.25], 11, ["match", ["get", "admin_level"], 2, 1.5, 1], 18, 4], "line-opacity": 0.6}, "filter": ["all", ["in", "admin_level", 2, 4], ["!=", "maritime", 1], ["!=", "disputed", 1], ["==", "$type", "LineString"]]}, {"id": "tunnel_public_transport", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 8.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 14, ["match", ["get", "subclass"], ["subway", "funicular", "narrow_gauge", "tram"], 0.4, ["case", ["has", "is_route"], 0.4, 1.5]], 18, 0.4], "line-color": "rgb(203, 77, 77)", "line-width": ["interpolate", ["linear"], ["zoom"], 8, 0.5, 10, ["match", ["get", "subclass"], "funicular", 0.75, ["tram", "subway"], 0, ["case", ["has", "is_route"], 1, 0]], 12, ["match", ["get", "subclass"], "funicular", 1, ["tram", "subway"], 0, ["case", ["has", "is_route"], 1.25, 0]], 13, ["match", ["get", "subclass"], ["funicular", "subway"], 1.15, "tram", 0, ["case", ["has", "is_route"], 1.25, 0]], 14, ["match", ["get", "subclass"], ["subway", "funicular", "narrow_gauge"], 1.25, "tram", 0.75, 1.25], 18, 2], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0, 9, ["match", ["get", "class"], ["rail_construction", "transit_construction"], 0.3, 1]], "line-dasharray": ["step", ["zoom"], ["literal", [3, 1.875]], 14, ["literal", [4, 2.5]], 15, ["literal", [5, 3.125]], 16, ["literal", [6, 3.75]]]}, "filter": ["all", ["has", "brunnel"], ["==", "brunnel", "tunnel"], ["in", "class", "cable_car", "gondola", "rail", "rail_construction", "transit", "transit_construction"], ["==", "$type", "LineString"]]}, {"id": "tunnel_road", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 5.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgb(95, 95, 95)", "line-width": ["interpolate", ["linear"], ["zoom"], 7, 1, 13, ["match", ["get", "class"], ["motorway", "motorway_construction", "trunk", "trunk_construction"], 1.5, 1], 14, ["match", ["get", "class"], ["motorway", "motorway_construction", "trunk", "trunk_construction"], 2, ["primary", "secondary", "tertiary", "minor"], 1.5, 1], 15, ["match", ["get", "class"], ["motorway", "motorway_construction", "trunk", "trunk_construction"], 3, 2], 20, ["match", ["get", "class"], ["motorway", "motorway_construction", "trunk", "trunk_construction"], 5, 2.5]], "line-offset": 0, "line-opacity": ["step", ["zoom"], ["match", ["get", "oneway"], 2, 0, 0.5], 7, ["match", ["get", "oneway"], 2, 0, 0.6], 8, ["match", ["get", "oneway"], 2, 0, 1], 12, ["match", ["get", "class"], ["footway_construction", "minor_construction", "motorway_construction", "path_construction", "primary_construction", "secondary_construction", "service_construction", "tertiary_construction", "track_construction", "trunk_construction"], 0.6, 1]], "line-dasharray": ["step", ["zoom"], ["literal", [3, 1.875]], 14, ["literal", [4, 2.5]], 15, ["literal", [5, 3.125]], 16, ["literal", [6, 3.75]]]}, "filter": ["all", ["has", "brunnel"], ["==", "brunnel", "tunnel"], ["!in", "class", "cable_car", "ferry", "gondola", "path", "path_construction", "footway", "footway_construction", "rail", "rail_construction", "transit", "transit_construction", "mask_terrain"], ["==", "$type", "LineString"]]}, {"id": "tunnel_pedestrian", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 11.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgb(60, 60, 60)", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 12, 1, 13, 1.25, 15, 1.75, 16, 2, 20, 5], "line-offset": 0, "line-opacity": ["interpolate", ["linear"], ["zoom"], 11, ["match", ["get", "class"], ["path", "footway"], ["match", ["get", "is_route"], 11, 1, 0], 0], 12, ["match", ["get", "class"], ["path", "footway"], 1, 0.5]], "line-dasharray": ["step", ["zoom"], ["literal", [1, 0.6]], 15, ["literal", [1.5, 0.9]], 16, ["literal", [2, 1.2]], 17, ["literal", [3, 1.8]], 18, ["literal", [6, 3.6]]]}, "filter": ["all", ["has", "brunnel"], ["==", "brunnel", "tunnel"], ["in", "class", "path", "path_construction", "footway", "footway_construction"], ["==", "$type", "LineString"]]}, {"id": "construct", "type": "fill", "source": "base_v1.0.0", "source-layer": "construct", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "class"], ["dam", "dam_wall", "weir", "retaining_wall"], "rgb(196, 198, 200)", "solar_panel", "rgb(245, 246, 189)", "rgb(222, 220, 220)"], "fill-opacity": ["interpolate", ["exponential", 1], ["zoom"], 12, ["case", ["==", ["get", "class"], "platform"], 0, 1], 14, ["case", ["==", ["get", "class"], "platform"], 0, 1], 15, 1]}, "filter": ["in", "class", "platform", "dam", "dam_wall", "weir", "retaining_wall", "solar_panel"]}, {"id": "construct_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "construct", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], "solar_panel", "rgb(152, 142, 132)", "rgb(154, 156, 158)"], "line-width": ["interpolate", ["linear"], ["zoom"], 12, 0.25, 15, 0.5, 16, 0.8, 20, 2.5], "line-opacity": 1}, "filter": ["in", "class", "lock", "dam", "dam_wall", "weir", "retaining_wall", "solar_panel"]}, {"id": "road_footway_ferry", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 9.0, "layout": {"line-cap": "butt", "line-join": "bevel", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], ["ferry", "car_ferry"], "rgb(77, 164, 218)", "rgb(60, 60, 60)"], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 8, 0.4, 11, ["match", ["get", "class"], "car_ferry", 1, 0.75], 12, ["match", ["get", "class"], "car_ferry", 1.2, 0.75], 13, ["match", ["get", "class"], "car_ferry", 1.5, 1], 15, ["match", ["get", "class"], "car_ferry", 1.75, "ferry", 1, 1.25], 16, ["match", ["get", "class"], "car_ferry", 2.5, "ferry", 1.5, 2], 20, ["match", ["get", "class"], "car_ferry", 8, "ferry", 3, 5]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 10, ["match", ["get", "class"], "car_ferry", 1, 0], 11, ["match", ["get", "class"], "car_ferry", 1, "footway", ["match", ["get", "is_route"], 11, 1, 0], 0], 12, ["match", ["get", "class"], "car_ferry", 1, "footway", ["match", ["get", "is_route"], 11, 1, ["match", ["get", "sac_scale"], ["hiking", "mountain_hiking", "alpine_hiking"], 1, 0]], 0], 13, ["match", ["get", "class"], ["car_ferry", "ferry", "footway"], 1, 0.5]], "line-dasharray": ["step", ["zoom"], ["literal", [6, 2]], 15, ["literal", [7, 2]], 16, ["literal", [8, 2]], 17, ["literal", [13, 3]], 18, ["literal", [18, 4]]]}, "metadata": {"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"}, "filter": ["all", ["in", "class", "footway", "footway_construction", "ferry", "car_ferry"], ["!in", "subclass", "steps", "covered_bridge"], ["!has", "brunnel"], ["==", "$type", "LineString"]]}, {"id": "road_path", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 10.0, "layout": {"line-cap": "butt", "line-join": "bevel", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": "rgb(60, 60, 60)", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 11, 0.75, 12, 0.75, 13, 1, 15, 1.25, 16, 2, 20, 5], "line-opacity": ["interpolate", ["linear"], ["zoom"], 10, 0, 11, ["match", ["get", "class"], ["path"], ["match", ["get", "is_route"], 11, 1, 0], 0], 12, ["match", ["get", "class"], ["path"], ["match", ["get", "is_route"], 11, 1, ["match", ["get", "sac_scale"], ["hiking", "mountain_hiking", "alpine_hiking"], 1, 0]], 0], 13, ["match", ["get", "class"], ["path"], 1, 0.5]], "line-dasharray": ["step", ["zoom"], ["literal", [16, 2]], 15, ["literal", [18, 2]], 16, ["literal", [20, 2]], 17, ["literal", [30, 3]], 18, ["literal", [40, 4]]]}, "metadata": {"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"}, "filter": ["all", ["in", "class", "path", "path_construction"], ["!in", "subclass", "steps", "covered_bridge"], ["!has", "brunnel"], ["==", "$type", "LineString"]]}, {"id": "road_track_via_ferrata", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 10.0, "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], ["via_ferrata", "via_ferrata_construction"], "rgb(60, 60, 60)", "rgb(75, 75, 75)"], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 11, 0.75, 12, ["match", ["get", "class"], "via_ferrata", 0.5, 0.75], 13, ["match", ["get", "class"], "via_ferrata", 0.5, 1], 15, ["match", ["get", "class"], "via_ferrata", 1, 1.25], 16, ["match", ["get", "class"], "via_ferrata", 1.5, 2], 20, 5], "line-offset": 0, "line-opacity": ["interpolate", ["linear"], ["zoom"], 10, 0, 11, ["match", ["get", "class"], ["track"], ["match", ["get", "is_route"], 11, 1, 0], 0], 12, ["match", ["get", "class"], ["track", "via_ferrata"], ["match", ["get", "is_route"], 11, 1, ["match", ["get", "sac_scale"], ["hiking", "mountain_hiking", "alpine_hiking"], 1, 0]], 0], 13, ["match", ["get", "class"], ["track", "via_ferrata"], 1, 0.5]]}, "filter": ["all", ["in", "class", "track", "track_construction", "via_ferrata", "via_ferrata_construction"], ["!in", "subclass", "steps", "covered_bridge"], ["!has", "brunnel"], ["==", "$type", "LineString"]]}, {"id": "road_small_dashes", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 10.0, "layout": {"line-cap": "butt", "line-join": "bevel", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], "rgb(70, 55, 30)", "trail", "rgb(20, 20, 20)", "track", "rgb(75, 75, 75)", ["match", ["get", "is_route"], [5, 10], "rgb(75, 55, 25)", [6, 7, 8], "rgb(65, 65, 25)", "rgb(60, 60, 60)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 11, 2, 13, ["match", ["get", "class"], ["via_ferrata", "via_ferrata_construction"], 2.5, "trail", 2, ["match", ["get", "subclass"], ["steps"], 2.5, 1.5]], 15, ["match", ["get", "class"], ["via_ferrata", "via_ferrata_construction"], 3.5, "trail", 3, ["match", ["get", "subclass"], ["steps"], 3.5, 1.75]], 16, ["match", ["get", "class"], ["via_ferrata", "via_ferrata_construction"], 5, "trail", 3.5, ["match", ["get", "subclass"], ["steps"], 5, 2]], 20, ["match", ["get", "class"], ["via_ferrata", "via_ferrata_construction"], 20, "trail", 12, ["match", ["get", "subclass"], ["steps"], 20, 8]]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 10, 0, 11, ["match", ["get", "is_route"], 11, 1, 0], 12, ["match", ["get", "is_route"], 11, 1, ["match", ["get", "sac_scale"], ["hiking", "mountain_hiking", "alpine_hiking"], 1, 0]], 13, 1], "line-dasharray": ["step", ["zoom"], ["literal", [0.25, 0.85]], 13, ["literal", [0.3, 0.95]]], "line-gap-width": ["interpolate", ["exponential", 2], ["zoom"], 13, ["match", ["get", "class"], "motorway_construction", ["match", ["get", "ramp"], 1, 0.5, 1.5], "trunk_construction", 1.5, "primary_construction", 3, "secondary_construction", 2.5, "tertiary_construction", 2, "minor_construction", 1.75, "service_construction", 1.25, 0], 15, ["match", ["get", "class"], "motorway_construction", ["match", ["get", "ramp"], 1, 5, 7], "trunk_construction", ["match", ["get", "oneway"], [1, 2], 7, 8], "primary_construction", 6, "secondary_construction", 5, "tertiary_construction", 4, "minor_construction", 3, "service_construction", 2, 0], 16, ["match", ["get", "class"], "motorway_construction", ["match", ["get", "ramp"], 1, 10, 11], "trunk_construction", ["match", ["get", "oneway"], [1, 2], 11, 13], "primary_construction", 11, "secondary_construction", 10, "tertiary_construction", 9, "minor_construction", 8, "service_construction", 7, 0], 20, ["match", ["get", "class"], "motorway_construction", ["match", ["get", "ramp"], 1, 120, 130], "trunk_construction", ["match", ["get", "oneway"], [1, 2], 130, 140], "primary_construction", 130, "secondary_construction", 125, "tertiary_construction", 120, "minor_construction", 115, "service_construction", 105, 0]]}, "filter": ["any", ["match", ["get", "class"], ["trail", "via_ferrata", "via_ferrata_construction", "footway_construction", "minor_construction", "motorway_construction", "path_construction", "primary_construction", "secondary_construction", "service_construction", "tertiary_construction", "track_construction", "trunk_construction"], ["!=", ["get", "brunnel"], "tunnel"], false], ["match", ["get", "subclass"], ["steps"], ["!=", ["get", "brunnel"], "tunnel"], false]]}, {"id": "landcover_pt", "type": "symbol", "source": "base_v1.0.0", "source-layer": "landcover_pt", "minzoom": 14.0, "layout": {"icon-size": ["interpolate", ["exponential", 1.6], ["zoom"], 14, 0.2, 18, 1], "text-font": [], "icon-image": "dot_green", "visibility": "visible", "icon-allow-overlap": false, "icon-pitch-alignment": "map", "icon-ignore-placement": false, "icon-rotation-alignment": "map"}, "paint": {"icon-opacity": {"stops": [[14, 0.5], [18, 0.6]]}}}, {"id": "building_fill<z14", "type": "fill", "source": "base_v1.0.0", "source-layer": "building", "minzoom": 12.0, "maxzoom": 14.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": "rgb(170, 172, 174)", "fill-opacity": 1}, "filter": ["!in", "class", "covered_bridge", "underground", "coverage", "construction"]}, {"id": "road_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 4.0, "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], "rgb(70, 55, 30)", "track", "rgb(75, 75, 75)", ["match", ["get", "is_route"], [5, 10], "rgb(75, 55, 25)", [6, 7, 8], "rgb(65, 65, 25)", "rgb(60, 60, 60)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 7, 0, 9, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4], ["trunk"], 4, 3], 0], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.25, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], ["match", ["get", "ramp"], 1, 2.25, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.5, 5], ["trunk"], 5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 3, ["track", "path", "footway"], 0.5, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.5, 5], "primary", 3, "secondary", 3, "tertiary", 3, ["minor", "service"], 2.75, ["track", "path", "footway"], 0.5, ["match", ["get", "ramp"], 1, 2.5, 0]], 0], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.75, 5.5], ["trunk"], 5.5, "primary", 5, "secondary", 4.5, "tertiary", 4, ["minor", "service"], 3.5, ["track", "path", "footway"], 0.75, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.75, 5.5], "primary", 3.75, "secondary", 3.5, "tertiary", 3.5, ["minor", "service"], 3.25, ["track", "path", "footway"], 0.75, ["match", ["get", "ramp"], 1, 2.75, 0]], 0], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 3, 6], ["trunk"], 6, "primary", 5.5, "secondary", 5, "tertiary", 4.5, ["minor", "service"], 4, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 1], 3], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 3, 6], "primary", 4, "secondary", 3.75, "tertiary", 3.75, ["minor", "service"], 3.5, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 1], 3]], 15, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 7, 9], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 9, 14], ["primary", "primary_construction"], 8, ["secondary", "secondary_construction"], 7, ["tertiary", "tertiary_construction"], 6, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 4, 1.25], 4.5], 16, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 12, 14], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 14, 18], ["primary", "primary_construction"], 12, ["secondary", "secondary_construction"], 11, ["tertiary", "tertiary_construction"], 10, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 9, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 8.5, 2], 8], 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 125, 140], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 140, 150], ["primary", "primary_construction"], 130, ["secondary", "secondary_construction"], 125, ["tertiary", "tertiary_construction"], 120, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 115, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 84, 5], 105]], "line-offset": 0, "line-opacity": 1}, "metadata": {"maputnik:comment": "casing color for motorway is brown"}, "filter": ["all", ["!in", "class", "aerialway_closed", "aerialway_transportation", "aerialway_goods", "aerialway", "goods_conveyor", "drag_lift", "cable_car", "car_ferry", "chair_lift", "ferry", "gondola", "track", "path", "footway", "trail", "rail", "transit", "via_ferrata", "motorway_construction", "trunk_construction", "primary_construction", "secondary_construction", "tertiary_construction", "minor_construction", "track_construction", "path_construction", "footway_construction", "service_construction", "via_ferrata_construction", "rail_construction", "transit_construction", "mask_terrain"], ["!has", "brunnel"], ["==", "$type", "LineString"]]}, {"id": "aeroway_polygon_fill", "type": "fill", "source": "base_v1.0.0", "source-layer": "aeroway", "minzoom": 11.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "class"], ["runway_grass"], "rgb(231, 243, 225)", "rgb(255, 255, 255)"], "fill-opacity": 1}, "filter": ["all", ["in", "class", "runway", "taxiway", "apron", "runway_grass"], ["==", "$type", "Polygon"]]}, {"id": "aeroway_polygon_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "aeroway", "minzoom": 11.0, "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": "rgb(60, 60, 60)", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 13, 0.5, 15, 1, 16, 1.2, 20, 2], "line-opacity": 1}, "filter": ["all", ["in", "class", "runway", "taxiway", "apron", "runway_grass"], ["==", "$type", "Polygon"]]}, {"id": "landuse_parking", "type": "fill", "source": "base_v1.0.0", "source-layer": "landuse", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": "rgb(255, 255, 255)", "fill-opacity": 1}, "filter": ["==", "class", "parking"]}, {"id": "landuse_parking_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "landuse", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"line-color": "rgb(60, 60, 60)", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 13, 0.5, 15, 1, 16, 1.2, 20, 2], "line-opacity": 1, "line-blur": 0.25}, "filter": ["==", "class", "parking"]}, {"id": "road_fill", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 4.0, "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": {"stops": [[8, 0.4], [14, 0.1]]}, "line-color": ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], "rgb(248, 207, 117)", ["case", ["has", "is_route"], ["match", ["get", "is_route"], [5, 10], "rgb(250, 182, 158)", [6, 7, 8], "rgb(250, 243, 158)", "rgb(255, 255, 255)"], "rgb(255, 255, 255)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 4, 0, 5, ["match", ["get", "ramp"], 1, 0.5, 0.75], 9, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3], ["trunk"], 3, 2.5], ["match", ["get", "ramp"], 1, 1.5, 0]], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 3.5], ["trunk"], 3.5, "primary", 3.5, "secondary", 3, "tertiary", 2.5, ["minor", "service"], 2, 0], ["match", ["get", "ramp"], 1, 1.75, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4], ["trunk"], 4, "primary", 3.75, "secondary", 3.25, "tertiary", 2.75, ["minor", "service"], 2.25, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4], "primary", 2.25, "secondary", 2.25, "tertiary", 2.25, ["minor", "service"], 2, ["match", ["get", "ramp"], 1, 1.75, 0]], 0], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4.5], "primary", 2.75, "secondary", 2.5, "tertiary", 2.5, ["minor", "service"], 2.25, ["match", ["get", "ramp"], 1, 1.75, 0]], 0], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4.5], ["trunk"], 4.5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 3, 2], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2, 4.5], "primary", 3, "secondary", 2.75, "tertiary", 2.75, ["minor", "service"], 2.5, 2]], 15, ["match", ["get", "subclass"], "funicular", 3, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 5.5, 7], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 7, 12], ["primary", "primary_construction"], 6.5, ["secondary", "secondary_construction"], 5.5, ["tertiary", "tertiary_construction"], 4.5, ["minor", "minor_construction", "service", "service_construction"], 3.5, ["rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 2.5, 3]], 16, ["match", ["get", "subclass"], "funicular", 6, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 10, 11], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 11, 15], ["primary", "primary_construction"], 10, ["secondary", "secondary_construction"], 9, ["tertiary", "tertiary_construction"], 8, ["minor", "minor_construction", "service", "service_construction"], 7, ["rail", "rail_construction"], 9.5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 6.5, 6]], 20, ["match", ["get", "subclass"], "funicular", 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 121, 134], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 134, 144], ["primary", "primary_construction"], 126, ["secondary", "secondary_construction"], 121, ["tertiary", "tertiary_construction"], 116, ["minor", "minor_construction", "service", "service_construction"], 111, ["rail", "rail_construction"], 120, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 80, 101]]], "line-opacity": ["match", ["get", "class"], ["motorway_construction", "trunk_construction", "primary_construction", "secondary_construction", "tertiary_construction", "minor_construction", "track_construction", "path_construction", "service_construction", "via_ferrata_construction", "rail_construction", "transit_construction"], 0.6, 1]}, "filter": ["all", ["!in", "class", "aerialway_closed", "aerialway_transportation", "aerialway_goods", "aerialway", "goods_conveyor", "drag_lift", "cable_car", "car_ferry", "chair_lift", "ferry", "gondola", "path", "footway", "trail", "rail", "track", "transit", "via_ferrata", "path_construction", "footway_construction", "rail_construction", "track_construction", "transit_construction", "via_ferrata_construction", "mask_terrain"], ["!has", "brunnel"], ["==", "$type", "LineString"]]}, {"id": "public_transport", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 8.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": "rgb(203, 77, 77)", "line-width": ["interpolate", ["linear"], ["zoom"], 8, 0.5, 10, ["match", ["get", "subclass"], "funicular", 0.75, ["tram", "subway"], 0, ["case", ["has", "is_route"], 1, 0]], 12, ["match", ["get", "subclass"], "funicular", 1, ["tram", "subway"], 0, ["case", ["has", "is_route"], 1.25, 0]], 13, ["match", ["get", "subclass"], ["funicular", "subway"], 1.15, "tram", 0, ["case", ["has", "is_route"], 1.25, 0]], 14, ["match", ["get", "subclass"], ["subway", "funicular", "narrow_gauge"], 1.25, "tram", 0.75, ["case", ["has", "is_route"], 1.25, 0.25]], 18, 2], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0, 9, ["match", ["get", "class"], ["rail_construction", "transit_construction"], 0.3, 1]]}, "filter": ["all", ["in", "class", "rail", "transit", "rail_construction", "transit_construction"], ["!has", "brunnel"], ["!in", "brunnel", "bridge", "tunnel"]]}, {"id": "building_fill", "type": "fill", "source": "base_v1.0.0", "source-layer": "building", "minzoom": 14.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "class"], ["roof", "cooling_tower"], "rgb(196, 198, 200)", "rgb(170, 172, 174)"], "fill-opacity": 1}, "filter": ["!in", "class", "covered_bridge", "underground", "coverage"]}, {"id": "building_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "building", "minzoom": 15.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], ["roof", "cooling_tower"], "rgb(180, 182, 184)", "rgb(154, 156, 158)"], "line-width": ["interpolate", ["linear"], ["zoom"], 15, ["match", ["get", "class"], "cooling_tower", 4, 0.5], 16, ["match", ["get", "class"], "cooling_tower", 12, 0.5], 20, ["match", ["get", "class"], "cooling_tower", 24, 2]], "line-offset": 0, "line-opacity": {"stops": [[15, 0], [16, 1]]}, "line-translate-anchor": "viewport"}, "filter": ["!in", "class", "covered_bridge", "underground", "coverage"]}, {"id": "building_ln", "type": "line", "source": "base_v1.0.0", "source-layer": "building_ln", "minzoom": 13.0, "layout": {"line-cap": "butt", "visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": ["match", ["get", "class"], ["water_catchment", "weir"], "rgb(4, 6, 8)", "rgb(132, 132, 132)"], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 13, ["match", ["get", "class"], ["water_catchment", "weir"], 1.25, ["track", "toboggan"], 1, "shooting_target", 1, 0.5], 15, ["match", ["get", "class"], ["water_catchment", "weir"], 1.5, ["track", "toboggan"], 1.25, "shooting_target", 2.25, "power_line", 1, 1.5], 20, ["match", ["get", "class"], ["water_catchment", "weir"], 3, ["track", "toboggan"], 5, "shooting_target", 5, 3]], "line-opacity": ["match", ["get", "class"], ["water_catchment", "weir"], 0.25, 1]}, "filter": ["!in", "class", "bobsleigh", "dry_wall", "horse_racing", "shooting_trajectory"]}, {"id": "building_ln_dashes", "type": "line", "source": "base_v1.0.0", "source-layer": "building_ln", "minzoom": 13.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], ["bobsleigh", "horse_racing"], "rgb(75, 75, 75)", ["dry_wall", "power_line"], "rgb(132, 132, 132)", "rgb(95, 95, 95)"], "line-width": ["interpolate", ["linear"], ["zoom"], 13, ["match", ["get", "class"], ["power_line"], 1.5, 1], 20, ["match", ["get", "class"], ["bobsleigh", "horse_racing", "power_line"], 3, 2]], "line-opacity": 1, "line-dasharray": ["step", ["zoom"], ["literal", [1, 3]], 15, ["literal", [1, 4]], 16, ["literal", [1, 5]]], "line-gap-width": ["interpolate", ["linear"], ["zoom"], 13, ["match", ["get", "class"], ["bobsleigh", "horse_racing"], 2, 0], 15, ["match", ["get", "class"], ["bobsleigh", "horse_racing"], 5, 0], 18, ["match", ["get", "class"], ["bobsleigh", "horse_racing"], 14, 0]]}, "filter": ["in", "class", "bobsleigh", "horse_racing", "dry_wall", "power_line", "shooting_trajectory"]}, {"id": "l1_road_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 4.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], "rgb(70, 55, 30)", "track", "rgb(75, 75, 75)", ["match", ["get", "is_route"], [5, 10], "rgb(75, 55, 25)", [6, 7, 8], "rgb(65, 65, 25)", "rgb(60, 60, 60)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 7, 0, 9, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4], ["trunk"], 4, 3], 0], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.25, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], ["match", ["get", "ramp"], 1, 2.25, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.5, 5], ["trunk"], 5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 3, ["track", "path", "footway"], 0.5, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.5, 5], "primary", 3, "secondary", 3, "tertiary", 3, ["minor", "service"], 2.75, ["track", "path", "footway"], 0.5, ["match", ["get", "ramp"], 1, 2.5, 0]], 0], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.75, 5.5], ["trunk"], 5.5, "primary", 5, "secondary", 4.5, "tertiary", 4, ["minor", "service"], 3.5, ["track", "path", "footway"], 0.75, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.75, 5.5], "primary", 3.75, "secondary", 3.5, "tertiary", 3.5, ["minor", "service"], 3.25, ["track", "path", "footway"], 0.75, ["match", ["get", "ramp"], 1, 2.75, 0]], 0], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 3, 6], ["trunk"], 6, "primary", 5.5, "secondary", 5, "tertiary", 4.5, ["minor", "service"], 4, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 1], 3], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 3, 6], "primary", 4, "secondary", 3.75, "tertiary", 3.75, ["minor", "service"], 3.5, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 1], 3]], 15, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 7, 9], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 9, 14], ["primary", "primary_construction"], 8, ["secondary", "secondary_construction"], 7, ["tertiary", "tertiary_construction"], 6, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 4, 1.25], 4.5], 16, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 12, 14], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 14, 18], ["primary", "primary_construction"], 12, ["secondary", "secondary_construction"], 11, ["tertiary", "tertiary_construction"], 10, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 9, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 8.5, 2], 8], 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 125, 140], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 140, 150], ["primary", "primary_construction"], 130, ["secondary", "secondary_construction"], 125, ["tertiary", "tertiary_construction"], 120, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 115, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 84, 5], 105]], "line-offset": 0, "line-opacity": 1}, "filter": ["all", ["has", "layer"], ["==", ["get", "layer"], 1], ["match", ["get", "class"], ["aerialway_closed", "aerialway_transportation", "aerialway_goods", "aerialway", "goods_conveyor", "drag_lift", "cable_car", "car_ferry", "ferry", "gondola", "path", "footway", "trail", "track", "rail", "transit", "via_ferrata", "motorway_construction", "trunk_construction", "primary_construction", "secondary_construction", "tertiary_construction", "minor_construction", "track_construction", "footway_construction", "path_construction", "service_construction", "via_ferrata_construction", "rail_construction", "transit_construction", "mask_terrain"], ["match", ["get", "subclass"], "covered_bridge", true, false], true], ["==", ["geometry-type"], "LineString"]]}, {"id": "l1_fill", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 4.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": {"stops": [[8, 0.4], [14, 0.1]]}, "line-color": ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], "rgb(248, 207, 117)", ["rail", "rail_construction", "path", "path_construction", "footway", "footway_construction", "track", "track_construction", "trail", "trail_construction"], ["match", ["get", "subclass"], "covered_bridge", "rgb(255, 255, 255)", "rgba(238, 238, 240, 0.7)"], ["case", ["has", "is_route"], ["match", ["get", "is_route"], [5, 10], "rgb(250, 182, 158)", [6, 7, 8], "rgb(250, 243, 158)", "rgb(255, 255, 255)"], "rgb(255, 255, 255)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 4, 0, 5, ["match", ["get", "ramp"], 1, 0.5, 0.75], 9, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3], ["trunk"], 3, 2.5], ["match", ["get", "ramp"], 1, 1.5, 0]], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 3.5], ["trunk"], 3.5, "primary", 3.5, "secondary", 3, "tertiary", 2.5, ["minor", "service"], 2, 0], ["match", ["get", "ramp"], 1, 1.75, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4], ["trunk"], 4, "primary", 3.75, "secondary", 3.25, "tertiary", 2.75, ["minor", "service"], 2.25, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4], "primary", 2.25, "secondary", 2.25, "tertiary", 2.25, ["minor", "service"], 2, ["match", ["get", "ramp"], 1, 1.75, 0]], 0], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4.5], "primary", 2.75, "secondary", 2.5, "tertiary", 2.5, ["minor", "service"], 2.25, ["match", ["get", "ramp"], 1, 1.75, 0]], 0], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4.5], ["trunk"], 4.5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 3, 2], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2, 4.5], "primary", 3, "secondary", 2.75, "tertiary", 2.75, ["minor", "service"], 2.5, 2]], 15, ["match", ["get", "subclass"], "funicular", 3, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 5.5, 7], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 7, 12], ["primary", "primary_construction"], 6.5, ["secondary", "secondary_construction"], 5.5, ["tertiary", "tertiary_construction"], 4.5, ["minor", "minor_construction", "service", "service_construction"], 3.5, ["rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 2.5, 3]], 16, ["match", ["get", "subclass"], "funicular", 6, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 10, 11], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 11, 15], ["primary", "primary_construction"], 10, ["secondary", "secondary_construction"], 9, ["tertiary", "tertiary_construction"], 8, ["minor", "minor_construction", "service", "service_construction"], 7, ["rail", "rail_construction"], 9.5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 6.5, 6]], 20, ["match", ["get", "subclass"], "funicular", 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 121, 134], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 134, 144], ["primary", "primary_construction"], 126, ["secondary", "secondary_construction"], 121, ["tertiary", "tertiary_construction"], 116, ["minor", "minor_construction", "service", "service_construction"], 111, ["rail", "rail_construction"], 120, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 80, 101]]], "line-opacity": ["match", ["get", "class"], ["motorway_construction", "trunk_construction", "primary_construction", "secondary_construction", "tertiary_construction", "minor_construction", "track_construction", "path_construction", "footway_construction", "service_construction", "via_ferrata_construction", "rail_construction", "transit_construction"], 0.6, 1]}, "filter": ["all", ["has", "layer"], ["match", ["get", "class"], ["aerialway_closed", "aerialway_transportation", "aerialway_goods", "aerialway", "goods_conveyor", "drag_lift", "cable_car", "car_ferry", "chair_lift", "ferry", "gondola", "via_ferrata", "mask_terrain", "transit", "transit_construction"], false, ["track", "track_construction", "footway", "footway_construction", "path", "path_construction"], [">", ["get", "layer"], 0], ["==", ["get", "layer"], 1]], ["==", ["geometry-type"], "LineString"]]}, {"id": "l1_2_pedestrian", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 10.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": "rgb(75, 75, 75)", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 10, 0, 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 11, 99], 0.75, 0], 12, ["match", ["get", "class"], ["footway", "path"], ["match", ["get", "is_route"], 11, 0.75, ["match", ["get", "sac_scale"], ["hiking", "mountain_hiking", "alpine_hiking"], 0.75, 0]], ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 11, 99], 0.75, 0]], 13, 1, 15, 1.25, 16, 2, 20, 5], "line-opacity": ["match", ["get", "class"], ["track", "footway", "path"], 1, 0.5]}, "metadata": {"maputnik:comment": "casing color for motorway is brown"}, "filter": ["all", ["has", "layer"], [">", "layer", 0], ["in", "class", "track", "track_construction", "footway", "footway_construction", "path", "path_construction"], ["!=", "subclass", "covered_bridge"], ["==", "$type", "LineString"]]}, {"id": "l1_public_transport", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 8.0, "layout": {"line-cap": "round", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": "rgb(203, 77, 77)", "line-width": ["interpolate", ["linear"], ["zoom"], 8, 0.5, 10, ["match", ["get", "subclass"], "funicular", 0.75, ["tram", "subway"], 0, ["case", ["has", "is_route"], 1, 0]], 12, ["match", ["get", "subclass"], "funicular", 1, ["tram", "subway"], 0, ["case", ["has", "is_route"], 1.25, 0]], 13, ["match", ["get", "subclass"], ["funicular", "subway"], 1.15, "tram", 0, ["case", ["has", "is_route"], 1.25, 0]], 14, ["match", ["get", "subclass"], ["subway", "funicular", "narrow_gauge"], 1.25, "tram", 0.75, ["case", ["has", "is_route"], 1.25, 0.25]], 18, 2], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0, 9, ["match", ["get", "class"], ["rail_construction", "transit_construction"], 0.3, 1]]}, "filter": ["all", ["has", "layer"], ["==", "layer", 1], ["in", "class", "rail", "rail_construction", "transit", "transit_construction"], ["!=", "subclass", "covered_bridge"], ["==", "$type", "LineString"]]}, {"id": "l2_road_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 4.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], "rgb(70, 55, 30)", "track", "rgb(75, 75, 75)", ["match", ["get", "is_route"], [5, 10], "rgb(75, 55, 25)", [6, 7, 8], "rgb(65, 65, 25)", "rgb(60, 60, 60)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 7, 0, 9, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4], ["trunk"], 4, 3], 0], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.25, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], ["match", ["get", "ramp"], 1, 2.25, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.5, 5], ["trunk"], 5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 3, ["track", "path", "footway"], 0.5, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.5, 5], "primary", 3, "secondary", 3, "tertiary", 3, ["minor", "service"], 2.75, ["track", "path", "footway"], 0.5, ["match", ["get", "ramp"], 1, 2.5, 0]], 0], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.75, 5.5], ["trunk"], 5.5, "primary", 5, "secondary", 4.5, "tertiary", 4, ["minor", "service"], 3.5, ["track", "path", "footway"], 0.75, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.75, 5.5], "primary", 3.75, "secondary", 3.5, "tertiary", 3.5, ["minor", "service"], 3.25, ["track", "path", "footway"], 0.75, ["match", ["get", "ramp"], 1, 2.75, 0]], 0], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 3, 6], ["trunk"], 6, "primary", 5.5, "secondary", 5, "tertiary", 4.5, ["minor", "service"], 4, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 1], 3], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 3, 6], "primary", 4, "secondary", 3.75, "tertiary", 3.75, ["minor", "service"], 3.5, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 1], 3]], 15, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 7, 9], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 9, 14], ["primary", "primary_construction"], 8, ["secondary", "secondary_construction"], 7, ["tertiary", "tertiary_construction"], 6, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 4, 1.25], 4.5], 16, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 12, 14], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 14, 18], ["primary", "primary_construction"], 12, ["secondary", "secondary_construction"], 11, ["tertiary", "tertiary_construction"], 10, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 9, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 8.5, 2], 8], 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 125, 140], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 140, 150], ["primary", "primary_construction"], 130, ["secondary", "secondary_construction"], 125, ["tertiary", "tertiary_construction"], 120, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 115, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 84, 5], 105]], "line-offset": 0, "line-opacity": 1}, "metadata": {"maputnik:comment": "casing color for motorway is brown"}, "filter": ["all", ["has", "layer"], [">", ["get", "layer"], 1], ["match", ["get", "class"], ["aerialway_closed", "aerialway_transportation", "aerialway_goods", "aerialway", "goods_conveyor", "drag_lift", "cable_car", "car_ferry", "ferry", "gondola", "path", "footway", "trail", "track", "rail", "transit", "via_ferrata", "motorway_construction", "trunk_construction", "primary_construction", "secondary_construction", "tertiary_construction", "minor_construction", "track_construction", "path_construction", "footway_construction", "service_construction", "via_ferrata_construction", "rail_construction", "transit_construction", "mask_terrain"], ["match", ["get", "subclass"], "covered_bridge", true, false], true], ["==", ["geometry-type"], "LineString"]]}, {"id": "l2_fill", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 4.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": {"stops": [[8, 0.4], [14, 0.1]]}, "line-color": ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], "rgb(248, 207, 117)", ["rail", "rail_construction", "path", "path_construction", "footway", "footway_construction", "track", "track_construction", "trail", "trail_construction"], ["match", ["get", "subclass"], "covered_bridge", "rgb(255, 255, 255)", "rgba(238, 238, 240, 0.7)"], ["case", ["has", "is_route"], ["match", ["get", "is_route"], [5, 10], "rgb(250, 182, 158)", [6, 7, 8], "rgb(250, 243, 158)", "rgb(255, 255, 255)"], "rgb(255, 255, 255)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 4, 0, 5, ["match", ["get", "ramp"], 1, 0.5, 0.75], 9, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3], ["trunk"], 3, 2.5], ["match", ["get", "ramp"], 1, 1.5, 0]], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 3.5], ["trunk"], 3.5, "primary", 3.5, "secondary", 3, "tertiary", 2.5, ["minor", "service"], 2, 0], ["match", ["get", "ramp"], 1, 1.75, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4], ["trunk"], 4, "primary", 3.75, "secondary", 3.25, "tertiary", 2.75, ["minor", "service"], 2.25, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4], "primary", 2.25, "secondary", 2.25, "tertiary", 2.25, ["minor", "service"], 2, ["match", ["get", "ramp"], 1, 1.75, 0]], 0], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4.5], "primary", 2.75, "secondary", 2.5, "tertiary", 2.5, ["minor", "service"], 2.25, ["match", ["get", "ramp"], 1, 1.75, 0]], 0], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4.5], ["trunk"], 4.5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 3, 2], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2, 4.5], "primary", 3, "secondary", 2.75, "tertiary", 2.75, ["minor", "service"], 2.5, 2]], 15, ["match", ["get", "subclass"], "funicular", 3, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 5.5, 7], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 7, 12], ["primary", "primary_construction"], 6.5, ["secondary", "secondary_construction"], 5.5, ["tertiary", "tertiary_construction"], 4.5, ["minor", "minor_construction", "service", "service_construction"], 3.5, ["rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 2.5, 3]], 16, ["match", ["get", "subclass"], "funicular", 6, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 10, 11], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 11, 15], ["primary", "primary_construction"], 10, ["secondary", "secondary_construction"], 9, ["tertiary", "tertiary_construction"], 8, ["minor", "minor_construction", "service", "service_construction"], 7, ["rail", "rail_construction"], 9.5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 6.5, 6]], 20, ["match", ["get", "subclass"], "funicular", 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 121, 134], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 134, 144], ["primary", "primary_construction"], 126, ["secondary", "secondary_construction"], 121, ["tertiary", "tertiary_construction"], 116, ["minor", "minor_construction", "service", "service_construction"], 111, ["rail", "rail_construction"], 120, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 80, 101]]], "line-opacity": ["match", ["get", "class"], ["motorway_construction", "trunk_construction", "primary_construction", "secondary_construction", "tertiary_construction", "minor_construction", "track_construction", "path_construction", "footway_construction", "service_construction", "via_ferrata_construction", "rail_construction", "transit_construction"], 0.6, 1]}, "filter": ["all", ["has", "layer"], [">", "layer", 1], ["!in", "class", "track", "track_construction", "footway", "footway_construction", "path", "path_construction", "aerialway_closed", "aerialway_transportation", "aerialway_goods", "aerialway", "goods_conveyor", "drag_lift", "cable_car", "car_ferry", "chair_lift", "ferry", "gondola", "via_ferrata", "mask_terrain", "transit", "transit_construction"], ["==", "$type", "LineString"]]}, {"id": "transportation_dashes", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 13.0, "layout": {"line-cap": "butt", "line-join": "bevel", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "is_route"], [5, 10], "rgb(75, 55, 25)", [6, 7, 8], "rgb(65, 65, 25)", ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], "rgb(70, 55, 30)", "drag_lift", "rgb(197, 156, 99)", ["track", "goods_conveyor"], "rgb(75, 75, 75)", "rgb(60, 60, 60)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 4, 0, 5, ["match", ["get", "ramp"], 1, 0.5, 0.75], 9, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3], ["trunk"], 3, 2.5], ["match", ["get", "ramp"], 1, 1.5, 0]], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 3.5], ["trunk"], 3.5, "primary", 3.5, "secondary", 3, "tertiary", 2.5, ["minor", "service"], 2, 0], ["match", ["get", "ramp"], 1, 1.75, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4], ["trunk"], 4, "primary", 3.75, "secondary", 3.25, "tertiary", 2.75, ["minor", "service"], 2.25, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4], "primary", 2.25, "secondary", 2.25, "tertiary", 2.25, ["minor", "service"], 2, ["match", ["get", "ramp"], 1, 1.75, 0]], 0], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], [11], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4.5], "primary", 2.75, "secondary", 2.5, "tertiary", 2.5, ["minor", "service"], 2.25, ["match", ["get", "ramp"], 1, 1.75, 0]], ["match", ["get", "class"], ["drag_lift", "goods_conveyor"], 1, 0]], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4.5], ["trunk"], 4.5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 3, 2], ["match", ["get", "class"], ["motorway", "trunk", "drag_lift", "goods_conveyor"], ["match", ["get", "ramp"], 1, 2, 4.5], ["primary"], 3, ["secondary", "tertiary"], 2.75, ["minor", "service"], 2.5, 2]], 15, ["match", ["get", "subclass"], "funicular", 3, ["match", ["get", "class"], ["motorway", "motorway_construction", "drag_lift", "goods_conveyor"], ["match", ["get", "ramp"], 1, 5.5, 7], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 7, 12], ["primary", "primary_construction"], 6.5, ["secondary", "secondary_construction"], 5.5, ["tertiary", "tertiary_construction"], 4.5, ["minor", "minor_construction", "service", "service_construction"], 3.5, ["rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 2.5, 3]], 16, ["match", ["get", "subclass"], "funicular", 6, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 10, 11], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 11, 15], ["primary", "primary_construction"], 10, ["secondary", "secondary_construction"], 9, ["tertiary", "tertiary_construction", "drag_lift", "goods_conveyor"], 8, ["minor", "minor_construction", "service", "service_construction"], 7, ["rail", "rail_construction"], 9.5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 6.5, 6]], 20, ["match", ["get", "subclass"], "funicular", 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 121, 134], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 134, 144], ["primary", "primary_construction"], 126, ["secondary", "secondary_construction"], 121, ["tertiary", "tertiary_construction"], 116, ["minor", "minor_construction", "service", "service_construction"], 111, ["rail", "rail_construction"], 120, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 80, 101]]], "line-offset": 0, "line-dasharray": ["step", ["zoom"], ["literal", [0.1, 1.1]], 14, ["literal", [0.08, 1.13]], 18, ["literal", [0.05, 1.13]]]}, "filter": ["match", ["get", "class"], ["drag_lift", "goods_conveyor"], true, ["case", ["has", "subclass"], ["match", ["get", "subclass"], ["avalanche_protector", "avalanche_protector_bridge", "covered_bridge"], true, false], false]]}, {"id": "l2_public_transport_aerialway", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 8.0, "layout": {"line-cap": "round", "visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": ["match", ["get", "class"], ["aerialway_closed", "aerialway_transportation", "aerialway_goods", "goods_conveyor"], "rgb(75, 75, 75)", "drag_lift", "rgb(197, 156, 99)", "rgb(203, 77, 77)"], "line-width": ["interpolate", ["linear"], ["zoom"], 8, 0.5, 10, ["match", ["get", "class"], ["aerialway_closed", "aerialway_goods", "aerialway_transportation", "cable_car", "chair_lift", "drag_lift", "gondola", "goods_conveyor"], 0.75, ["match", ["get", "subclass"], "funicular", 0.75, ["tram", "subway"], 0, ["case", ["has", "is_route"], 1, 0]]], 12, ["match", ["get", "class"], ["aerialway_closed", "aerialway_goods", "aerialway_transportation", "cable_car", "chair_lift", "drag_lift", "gondola", "goods_conveyor"], 1, ["match", ["get", "subclass"], "funicular", 1, ["tram", "subway"], 0, ["case", ["has", "is_route"], 1.25, 0]]], 13, ["match", ["get", "class"], ["aerialway_closed", "aerialway_goods", "aerialway_transportation", "cable_car", "chair_lift", "drag_lift", "gondola", "goods_conveyor"], 1.15, ["match", ["get", "subclass"], ["funicular", "subway"], 1.15, "tram", 0, ["case", ["has", "is_route"], 1.25, 0]]], 14, ["match", ["get", "class"], ["aerialway_closed", "aerialway_goods", "aerialway_transportation", "cable_car", "chair_lift", "drag_lift", "gondola", "goods_conveyor"], 1.25, ["match", ["get", "subclass"], ["subway", "funicular", "narrow_gauge"], 1.25, "tram", 0.75, ["case", ["has", "is_route"], 1.25, 0.25]]], 18, ["match", ["get", "class"], ["aerialway_closed", "aerialway_goods", "aerialway_transportation", "cable_car", "chair_lift", "drag_lift", "gondola", "goods_conveyor"], 1.5, 2]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0, 9, ["match", ["get", "class"], ["rail_construction", "transit_construction"], 0.3, 1]]}, "filter": ["all", ["match", ["get", "class"], ["aerialway_closed", "aerialway_goods", "aerialway_transportation", "cable_car", "chair_lift", "drag_lift", "gondola", "goods_conveyor"], true, ["rail", "rail_construction", "transit", "transit_construction"], ["case", ["has", "layer"], [">", ["get", "layer"], 1], false], false], ["==", ["geometry-type"], "LineString"]]}, {"id": "housenumber", "type": "symbol", "source": "base_v1.0.0", "source-layer": "housenumber", "minzoom": 17.0, "layout": {"text-font": ["Frutiger Neue Regular"], "text-size": {"stops": [[17, 11], [18, 13]]}, "text-field": ["get", "housenumber"], "visibility": "visible"}, "paint": {"text-color": "rgb(70, 70, 70)"}}, {"id": "contour_line_pt", "type": "symbol", "source": "base_v1.0.0", "source-layer": "contour_line_pt", "minzoom": 13.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, 0.6, 14, 0.7, 16, ["match", ["%", ["to-number", ["get", "lake_depth"]], 100], 0, 0.9, 0.7]], "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 2], ["zoom"], 13, 10, 14, 10.5, 16, ["case", ["has", "lake_depth"], ["match", ["%", ["to-number", ["get", "lake_depth"]], 100], 0, 14, 12], ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 14, 12]]], "icon-image": ["case", ["has", "lake_depth"], "arrow_blue", ""], "text-field": ["case", ["has", "lake_depth"], ["get", "lake_depth"], ["get", "ele"]], "visibility": "visible", "icon-anchor": "center", "icon-offset": ["case", ["has", "lake_depth"], ["match", ["length", ["to-string", ["get", "lake_depth"]]], 1, ["literal", [-12, 0]], 2, ["literal", [-16, 0]], 3, ["literal", [-20, 0]], 4, ["literal", [-24, 0]], ["literal", [0, 0]]], ["literal", [0, 0]]], "icon-rotate": ["get", "direction"], "text-anchor": "center", "text-rotate": ["get", "direction"], "text-max-angle": 35, "symbol-avoid-edges": true, "text-letter-spacing": 0.1, "icon-pitch-alignment": "map", "icon-rotation-alignment": "map", "text-rotation-alignment": "map", "text-padding": 10}, "paint": {"text-color": ["match", ["get", "class"], "scree", "rgb(70, 70, 70)", "land", "rgb(171, 126, 64)", ["water", "ice"], "rgb(47, 134, 188)", "rgb(70, 70, 70)"], "icon-opacity": ["step", ["zoom"], ["match", ["%", ["to-number", ["get", "lake_depth"]], 100], 0, 0.8, 0], 15, 0.8], "text-halo-blur": 0.25, "text-halo-color": ["match", ["get", "class"], "water", "rgb(210, 238, 255)", "rgba(238, 238, 238, 0.9)"], "text-halo-width": 1, "text-opacity": ["step", ["zoom"], ["case", ["has", "lake_depth"], ["match", ["%", ["to-number", ["get", "lake_depth"]], 100], 0, 1, 0], ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 1, 0]], 15, ["match", ["get", "class"], "water", 1, ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 1, 0]], 16, 1]}, "filter": ["any", ["has", "lake_depth"], ["==", ["%", ["to-number", ["get", "ele"]], 20], 0]]}, {"id": "boundary_label_r", "type": "symbol", "source": "base_v1.0.0", "source-layer": "boundary", "minzoom": 13.0, "layout": {"text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 14, ["match", ["get", "admin_level"], [2, 4], 12, 11], 18, ["match", ["get", "admin_level"], [2, 4], 15, 13]], "text-field": ["match", ["get", "admin_level"], 2, ["get", "adm2_r"], 4, ["get", "adm4_r"], [6, 8], ["get", "adm8_r"], ""], "visibility": "visible", "text-offset": [0, -0.8], "text-justify": "center", "text-padding": 0.01, "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 13, 200, 18, 400], "text-max-angle": 30, "text-transform": ["match", ["get", "admin_level"], [2, 4], "uppercase", "none"], "symbol-placement": "line", "icon-keep-upright": false, "text-keep-upright": true, "text-allow-overlap": false, "text-letter-spacing": 0.2, "text-pitch-alignment": "auto", "text-ignore-placement": true, "text-rotation-alignment": "auto"}, "paint": {"text-color": "rgb(195, 85, 146)", "text-opacity": ["step", ["zoom"], ["match", ["get", "admin_level"], [2, 4], 1, 0], 15, 1], "text-halo-blur": 0.25, "text-halo-color": "rgb(242, 242, 242)", "text-halo-width": 0.5, "text-translate-anchor": "viewport"}, "filter": ["in", "admin_level", 2, 4, 6, 8]}, {"id": "boundary_label_l", "type": "symbol", "source": "base_v1.0.0", "source-layer": "boundary", "minzoom": 13.0, "layout": {"text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 14, ["match", ["get", "admin_level"], [2, 4], 12, 11], 18, ["match", ["get", "admin_level"], [2, 4], 15, 13]], "text-field": ["match", ["get", "admin_level"], 2, ["get", "adm2_l"], 4, ["get", "adm4_l"], [6, 8], ["get", "adm8_l"], ""], "visibility": "visible", "text-offset": [0, 0.8], "text-justify": "center", "text-padding": 0.01, "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 13, 200, 18, 400], "text-max-angle": 30, "text-transform": ["match", ["get", "admin_level"], [2, 4], "uppercase", "none"], "symbol-placement": "line", "icon-keep-upright": false, "text-keep-upright": true, "text-allow-overlap": false, "text-letter-spacing": 0.2, "text-pitch-alignment": "auto", "text-ignore-placement": true, "text-rotation-alignment": "auto"}, "paint": {"text-color": "rgb(195, 85, 146)", "text-opacity": ["step", ["zoom"], ["match", ["get", "admin_level"], [2, 4], 1, 0], 15, 1], "text-halo-blur": 0.25, "text-halo-color": "rgb(242, 242, 242)", "text-halo-width": 0.5, "text-translate-anchor": "viewport"}, "filter": ["in", "admin_level", 2, 4, 6, 8]}, {"id": "area_name_field", "type": "symbol", "source": "base_v1.0.0", "source-layer": "area_name", "minzoom": 14.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 13, 13, 18, 19], "text-field": ["get", "name:latin"], "visibility": "visible", "text-padding": 40, "symbol-spacing": 250, "text-max-width": 99999, "symbol-placement": "point", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": 0.02, "text-pitch-alignment": "viewport", "text-ignore-placement": false, "text-rotation-alignment": "viewport"}, "paint": {"text-color": "rgb(32, 32, 32)", "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 16, 1.25]}, "filter": ["all", ["==", "subclass", "field"], ["==", "$type", "Point"]]}, {"id": "poi_rank3_rotation_flat", "type": "symbol", "source": "base_v1.0.0", "source-layer": "poi", "minzoom": 12.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, ["match", ["get", "subclass"], ["stone_1", "stone_2", "stone_3", "stone_4", "stone_5"], 0.35, ["antenna", "bollard", "water_tower", "water_tank", "wayside_shrine", "cross", "spring", "surveying_pyramid", "gondola_pylon", "chair_lift_pylon", "aerialway_closed_pylon", "aerialway_transportation_pylon", "goods_pylon"], 0.55, ["chimney", "transformer", "waterfall", "cable_car_pylon"], 0.65, ["communications_tower", "wind_turbine"], 0.75, "direction", ["match", ["get", "class"], "via_ferrata", 0.75, 1.05], 0.35], 18, ["match", ["get", "subclass"], ["antenna", "stone_1", "stone_2", "stone_3", "stone_4", "stone_5", "water_tower", "wayside_shrine", "cross", "spring", "surveying_pyramid", "chimney", "gondola_pylon", "chair_lift_pylon", "aerialway_closed_pylon", "aerialway_transportation_pylon", "goods_pylon"], 0.85, ["communications_tower", "water_tank", "transformer", "direction", "waterfall", "wind_turbine", "cable_car_pylon"], 1.05, "bollard", 1.3, 0.55]], "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 7, 10, 13, 12, 18, 17], "icon-image": ["match", ["get", "subclass"], "bollard", "dot_red", "stone_1", "rock_1", "stone_2", "rock_2", "stone_3", "rock_3", "stone_4", "rock_4", "stone_5", "rock_5", "water_tower", "water_tower", "antenna", "antenna", ["wayside_shrine", "cross"], "cross", "spring", "spring", "surveying_pyramid", "surveying_pyramid", "water_tank", "watertank", "chimney", "circle_crossed", "communications_tower", "communications_tower_black_LK", "transformer", "arrow", "waterfall", "waterfall_LK", "wind_turbine", "windturbine_sig", ["aerialway_closed_pylon", "aerialway_transportation_pylon", "goods_pylon"], "circle_grey", ["cable_car_pylon", "gondola_pylon", "chair_lift_pylon"], "circle_red", "direction", ["match", ["get", "class"], "via_ferrata", "arrow_black", "arrow_blue"], ""], "text-field": ["case", ["has", "name:latin"], ["get", "name:latin"], ""], "visibility": "visible", "icon-offset": ["interpolate", ["linear"], ["zoom"], 15, ["match", ["get", "class"], "via_ferrata", ["literal", [-10, 0]], ["literal", [0, 0]]], 18, ["match", ["get", "class"], "via_ferrata", ["literal", [-16, 0]], ["literal", [0, 0]]]], "icon-rotate": ["case", ["has", "direction"], ["get", "direction"], 0], "text-anchor": ["match", ["get", "subclass"], ["stone_1", "stone_2", "stone_3", "stone_4", "stone_5", "shooting", "water_tower", "antenna", "wayside_shrine", "water_well", "cross", "communications_tower", "spring", "surveying_pyramid", "water_tank", "survey_point", "transformer", "waterfall", "wind_turbine", "aerialway_closed_pylon", "aerialway_transportation_pylon", "goods_pylon", "cable_car_pylon", "gondola_pylon", "chair_lift_pylon"], "left", "center"], "text-offset": [0.6, 0.1], "text-justify": "left", "text-padding": 1, "icon-optional": false, "text-optional": true, "text-max-width": 10, "icon-allow-overlap": false, "icon-ignore-placement": false, "icon-rotation-alignment": "map"}, "paint": {"text-color": ["match", ["get", "subclass"], "spring", "rgb(47, 134, 188)", "rgb(32, 32, 32)"], "icon-opacity": ["step", ["zoom"], 0, 12, ["match", ["get", "subclass"], ["bollard", "water_tower", "surveying_pyramid", "waterfall", "wind_turbine"], 1, ["match", ["get", "class"], "stone", 1, 0]], 13, ["match", ["get", "subclass"], ["bollard", "communications_tower", "water_tower", "surveying_pyramid", "spring", "water_well", "waterfall", "wind_turbine", "aerialway_closed_pylon", "aerialway_transportation_pylon", "goods_pylon", "cable_car_pylon", "gondola_pylon", "chair_lift_pylon"], 1, ["match", ["get", "class"], "stone", 1, 0]], 14, ["match", ["get", "class"], "via_ferrata", 0.8, 1]], "text-opacity": ["step", ["zoom"], 1, 13, ["match", ["get", "class"], "pitch", 1, ["match", ["get", "subclass"], ["bollard", "communications_tower", "water_tower", "antenna", "wayside_shrine", "cross", "spring", "surveying_pyramid", "water_tank", "wind_turbine"], 1, 0]], 14, ["match", ["get", "class"], "stone", 1, ["match", ["get", "subclass"], ["bollard", "communications_tower", "chimney", "water_tower", "antenna", "wayside_shrine", "cross", "spring", "surveying_pyramid", "water_tank", "wind_turbine"], 1, 0]], 15, ["match", ["get", "class"], "stone", 1, ["match", ["get", "subclass"], ["bollard", "communications_tower", "chimney", "shooting", "water_tower", "antenna", "wayside_shrine", "cross", "spring", "surveying_pyramid", "water_tank", "wind_turbine"], 1, 0]], 16, 1], "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": 1}, "filter": ["any", ["match", ["get", "subclass"], ["bollard", "chimney", "communications_tower", "direction", "shooting", "water_tower", "antenna_area", "wayside_shrine", "water_well", "cross", "spring", "surveying_pyramid", "water_tank", "wind_turbine", "transformer", "aerialway_closed_pylon", "aerialway_transportation_pylon", "goods_pylon", "cable_car_pylon", "gondola_pylon", "chair_lift_pylon"], true, "waterfall", ["case", ["!", ["has", "name"]], true, false], false], ["match", ["get", "class"], ["stone"], true, false]]}, {"id": "transportation_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "transportation_name", "minzoom": 13.0, "layout": {"text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["exponential", 1.5], ["zoom"], 14, ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], 12.5, 11.5], 18, ["match", ["get", "class"], ["motorway", "trunk", "motorway_construction", "trunk_construction"], 19, 17]], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": "center", "text-offset": [0, 0], "text-padding": 0.01, "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 15, 200, 18, 800], "text-max-angle": 60, "text-transform": "none", "symbol-placement": "line", "text-keep-upright": true, "symbol-avoid-edges": true, "text-letter-spacing": 0.05, "text-pitch-alignment": "map", "text-rotation-alignment": "map"}, "paint": {"text-color": ["match", ["get", "class"], ["rail", "transit", "rail_construction", "transit_construction", "cable_car", "gondola", "chair_lift"], "rgb(183, 57, 57)", "drag_lift", "rgb(180, 111, 14)", ["ferry", "car_ferry"], "rgb(47, 134, 188)", ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "brunnel"], "tunnel", "rgb(40, 40, 40)", "rgb(55, 43, 22)"], "rgb(40, 40, 40)"]], "text-opacity": ["step", ["zoom"], ["match", ["get", "class"], ["track", "path", "footway", "trail"], 0, 1], 14, 1], "text-halo-blur": 0.25, "text-halo-color": ["match", ["get", "class"], ["rail", "transit", "rail_construction", "transit_construction", "cable_car", "gondola", "chair_lift", "drag_lift"], "rgba(255, 255, 255, 0.8)", ["ferry", "car_ferry"], "rgb(183, 226, 252)", ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "brunnel"], "tunnel", "rgba(255, 255, 255, 0.9)", "rgba(247, 235, 220, 0.8)"], "rgba(255, 255, 255, 0.9)"]], "text-halo-width": 1}, "filter": ["all", ["!=", "class", "via_ferrata"], ["==", "$type", "LineString"]]}, {"id": "spot_elevation", "type": "symbol", "source": "base_v1.0.0", "source-layer": "spot_elevation", "minzoom": 9.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, ["match", ["get", "class"], "doline", 0.5, "lake_spot_depth", 0.6, ["terrain_spot_elevation", "spot_elevation"], 0.7, "lake_elevation", 1, 0.85], 16, ["match", ["get", "class"], ["doline", "lake_elevation", "sinkhole", "sinkhole_rock", "sinkhole_scree", "sinkhole_water", "sinkhole_ice"], 1, 0.9]], "text-font": ["match", ["get", "class"], "lake_elevation", ["literal", ["Frutiger Neue Italic"]], ["literal", ["Frutiger Neue Regular"]]], "text-size": ["interpolate", ["linear"], ["zoom"], 13, 11, 14, 11.5, 16, 14], "icon-image": ["match", ["get", "class"], "sinkhole", "arrow_brown", ["sinkhole_ice", "sinkhole_water", "lake_spot_depth"], "arrow_blue", ["sinkhole_rock", "sinkhole_scree"], "arrow_black", "doline", "doline", ["spot_elevation", "terrain_spot_elevation"], "dot_black", "lake_elevation", ["case", ["has", "lake_depth"], "arrow_line_blue", ["==", ["length", ["to-string", ["get", "ele"]]], 3], "line_blue_short", "line_blue_long"], ""], "text-field": ["match", ["get", "class"], ["sinkhole", "sinkhole_rock", "sinkhole_scree", "sinkhole_water", "sinkhole_ice", "doline"], "", "lake_spot_depth", ["get", "lake_depth"], ["case", ["has", "lake_depth"], ["concat", ["get", "ele"], "\n\n", ["get", "lake_depth"]], ["get", "ele"]]], "visibility": "visible", "icon-anchor": ["match", ["get", "class"], ["sinkhole", "sinkhole_rock", "sinkhole_scree", "sinkhole_water", "sinkhole_ice"], "bottom", "center"], "icon-padding": 30, "text-anchor": ["match", ["get", "class"], "lake_spot_depth", "left", "lake_elevation", "center", "bottom-right"], "symbol-placement": "point", "text-keep-upright": false, "text-offset": ["match", ["get", "class"], "lake_spot_depth", ["literal", [0.35, 0]], "lake_elevation", ["case", ["has", "lake_depth"], ["literal", [0.35, -0.6]], ["literal", [0.1, -0.7]]], ["literal", [-0.35, 0]]], "text-justify": "center", "text-line-height": 0.9, "icon-rotate": ["match", ["get", "class"], ["sinkhole", "sinkhole_rock", "sinkhole_scree", "sinkhole_water", "sinkhole_ice"], 15, 0]}, "paint": {"text-color": ["match", ["get", "class"], ["lake_spot_depth", "lake_elevation"], "rgb(47, 134, 188)", "rgb(32, 32, 32)"], "icon-opacity": ["step", ["zoom"], ["match", ["get", "class"], ["sinkhole", "sinkhole_rock", "sinkhole_scree", "sinkhole_water", "sinkhole_ice"], 0, "doline", 0.7, 0.8], 15, ["match", ["get", "class"], ["sinkhole", "sinkhole_rock", "sinkhole_scree", "sinkhole_water", "sinkhole_ice", "doline"], 0.7, 0.8]], "text-halo-blur": 0.25, "text-halo-color": ["match", ["get", "class"], ["lake_spot_depth", "lake_elevation"], "rgb(210, 238, 255)", "rgba(242, 242, 242, 0.9)"], "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 16, 1.25]}}, {"id": "poi_rank2", "type": "symbol", "source": "base_v1.0.0", "source-layer": "poi", "minzoom": 12.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, ["match", ["get", "subclass"], "survey_point", 0.75, "boundary_stone", 0.65, 0.35], 18, ["match", ["get", "subclass"], "boundary_stone", 1.05, "survey_point", 0.95, "tower", 0.65, 0.55]], "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 7, 10, 13, 12, 18, ["match", ["get", "subclass"], "boundary_stone", 15, 17]], "icon-image": ["match", ["get", "class"], "monastery", "monastery", "place_of_worship", "church", ["match", ["get", "subclass"], "border_control", "customs", ["attraction", "historic_mill", "historic_mine", "historic_fortification", "historic_casino", "historic_administrative", "historic_courthouse", "historic_police_fire_dep"], "museum", "embassy", "embassy", "government", "government", "tram_stop", "tram", "bus_stop", "bus", "funicular_stop", "funicular", "subway_stop", "subway", "cable_car_station", "cable_car", "gondola_station", "gondola", "chair_lift_station", "chair_lift", "drag_lift_station", "drag_lift", "aerialway_station", "gondola", "elevator", "elevator", "ferry_terminal", "ferry_terminal", ["alpine_hut", "naturefriend_house"], "hotel", "inn", "restaurant", "wilderness_hut", "wilderness_hut", "church_tower", "church", "observatory", "observatory", "car_shuttle", "car_shuttle", "ferry", "small_ferry", "car_ferry", "car_ferry", "ruins", "ruins", ["monument", "historic_execution_site"], "monument", "cave", "cave", "cemetery", "cemetery", "waterfall", "waterfall", "fairground", "fairground", "park", "park", "pharmacy", "pharmacy", "horse_racing", "horse_racing", "swimming_pool", "swimming_pool", "kindergarten", "kindergarten", "school", "school", "college", "university", "university", "university", "prison", "prison", "water_well", "water_well", "historic_archive", "archive", "historic_library", "library", "boundary_stone", "dot_magenta", "firepit", "firepit", "marina", "marina", "parking_public", "parking", "parking_facility", "parking_facility", "tower", "circle_black", "viewpoint", "viewpoint", "letterbox", "letter_box", "recycling", "recycling", "survey_point", ["match", ["get", "name"], "Rep\u00e8re Pierre du Niton, 373.6", "rock_spot_elevation", "dot_black"], ""]], "text-field": ["case", ["has", "name:latin"], ["case", ["!=", ["get", "subclass"], "pharmacy"], ["get", "name:latin"], ""], ""], "visibility": "visible", "icon-offset": [0, 0], "icon-rotate": 0, "text-anchor": ["match", ["get", "class"], ["government", "monastery", "place_of_worship", "historic"], "left", ["match", ["get", "subclass"], ["aerialway_station", "alpine_hut", "attraction", "border_control", "building", "bus_stop", "cable_car_station", "car_ferry", "car_shuttle", "cave", "cemetery", "chair_lift_station", "drag_lift_station", "church_tower", "college", "elevator", "fairground", "ferry", "funicular_stop", "gondola_station", "horse_racing", "inn", "kindergarten", "letterbox", "marina", "monument", "naturefriend_house", "observatory", "park", "parking_facility", "parking_public", "pharmacy", "prison", "ruins", "school", "subway_stop", "survey_point", "swimming_pool", "tower", "tram_stop", "university", "viewpoint", "water_well", "waterfall", "wilderness_hut"], "left", ["boundary_stone"], "bottom-left", "ferry_terminal", ["case", ["has", "direction"], ["case", ["<", 315, ["get", "direction"]], "top", ["<", 225, ["get", "direction"]], "left", ["<", 135, ["get", "direction"]], "bottom", ["<", 45, ["get", "direction"]], "right", [">", 45, ["get", "direction"]], "top", "left"], "left"], "center"]], "text-offset": ["match", ["get", "subclass"], ["ferry_terminal"], ["case", ["has", "direction"], ["case", ["<", 315, ["get", "direction"]], ["literal", [0, 0.9]], ["<", 225, ["get", "direction"]], ["literal", [0.9, 0]], ["<", 135, ["get", "direction"]], ["literal", [0, -0.8]], ["<", 45, ["get", "direction"]], ["literal", [-0.9, 0]], [">", 45, ["get", "direction"]], ["literal", [0, 0.9]], ["literal", [0, -0.9]]], ["literal", [0.8, 0.1]]], ["boundary_stone"], ["literal", [0.3, 0.1]], ["literal", [0.8, 0.1]]], "text-justify": "left", "text-padding": 1, "icon-optional": false, "text-optional": true, "text-max-width": 10, "icon-allow-overlap": false, "text-letter-spacing": ["match", ["get", "class"], ["park"], 0.05, 0], "icon-ignore-placement": false}, "paint": {"text-color": ["match", ["get", "class"], ["monastery", "place_of_worship"], "rgb(136, 85, 13)", ["border_control", "embassy", "government", "prison"], "rgb(46, 52, 70)", "pitch", "rgb(70, 121, 39)", ["match", ["get", "subclass"], ["aerialway_station", "bus_stop", "cable_car_station", "car_ferry", "car_shuttle", "chair_lift_station", "drag_lift_station", "elevator", "ferry", "ferry_terminal", "funicular_stop", "gondola_station", "parking_facility", "parking_public", "subway_stop", "tram_stop"], "rgb(34, 39, 105)", ["marina", "swimming_pool", "waterfall", "water_well", "weir"], "rgb(11, 105, 164)", ["cemetery", "firepit", "horse_racing", "park", "pharmacy", "picnic_site", "recycling", "viewpoint"], "rgb(70, 121, 39)", ["alpine_hut", "inn", "letterbox", "naturefriend_house"], "rgb(177, 123, 8)", "wilderness_hut", "rgb(72, 34, 72)", ["attraction", "church_tower", "historic_administrative", "historic_casino", "historic_courthouse", "historic_execution_site", "historic_fortification", "historic_mill", "historic_mine", "historic_police_fire_dep", "monument", "observatory", "ruins"], "rgb(136, 85, 13)", "fairground", "rgb(128, 39, 88)", ["college", "kindergarten", "school", "university"], "rgb(5, 100, 82)", "cave", "rgb(27, 36, 62)", ["historic_archive", "historic_library"], "rgb(46, 52, 70)", "boundary_stone", "rgb(195, 85, 146)", "rgb(32, 32, 32)"]], "icon-opacity": ["step", ["zoom"], 0, 1, ["match", ["get", "class"], ["government", "monastery"], 0, ["match", ["get", "subclass"], "ruins", 0, 1]], 13, ["match", ["get", "class"], ["government", "monastery"], 1, "place_of_worship", ["case", ["has", "name"], 1, 0], ["match", ["get", "subclass"], ["church_tower", "attraction", "government", "embassy", "tower"], 0, 1]], 14, 1], "text-opacity": ["step", ["zoom"], 1, 12, ["case", ["has", "subclass"], ["match", ["get", "subclass"], ["observation_tower"], 1, 0], 0], 13, ["match", ["get", "class"], ["monastery", "place_of_worship"], 1, ["match", ["get", "subclass"], ["observation_tower", "alpine_hut", "inn", "naturefriend_house", "wilderness_hut", "sports_centre", "ruins", "dam", "cave", "waterfall", "antenna_area", "power_plant", "cemetery", "fairground", "park", "university", "horse_racing", "survey_point"], 1, 0]], 14, ["match", ["get", "class"], ["monastery", "place_of_worship"], 1, ["match", ["get", "subclass"], ["church_tower", "funicular_stop", "cable_car_station", "gondola_station", "chair_lift_station", "aerialway_station", "observation_tower", "observatory", "alpine_hut", "inn", "naturefriend_house", "wilderness_hut", "sports_centre", "ruins", "dam", "cave", "waterfall", "antenna_area", "power_plant", "cemetery", "fairground", "park", "university", "horse_racing", "survey_point", "via_ferrata", "via_ferrata_construction", "building", "military", "wastewater_plant", "water_well", "driving_centre", "incineration_plant"], 1, 0]], 15, ["match", ["get", "class"], ["monastery", "place_of_worship"], 1, ["match", ["get", "subclass"], ["border_control", "car_shuttle", "tram_stop", "subway_stop", "funicular_stop", "ferry", "ferry_terminal", "cable_car_station", "gondola_station", "chair_lift_station", "aerialway_station", "elevator", "observation_tower", "alpine_hut", "inn", "naturefriend_house", "wilderness_hut", "sports_centre", "church_tower", "ruins", "building", "dam", "cave", "waterfall", "antenna_area", "power_plant", "cemetery", "attraction", "fairground", "park", "allotments", "university", "horse_racing", "swimming_pool", "survey_point", "via_ferrata", "via_ferrata_construction", "monument", "prison", "water_well", "driving_centre", "incineration_plant", "firepit", "marina", "parking_facility", "parking_public", "viewpoint", "wastewater_plant", "boundary_stone"], 1, 0]], 16, 1], "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": 1}, "filter": ["any", ["match", ["get", "subclass"], ["aerialway_station", "allotments", "alpine_hut", "antenna_area", "attraction", "border_control", "boundary_stone", "building", "bus_stop", "cable_car_station", "car_ferry", "car_shuttle", "cave", "cemetery", "chair_lift_station", "college", "dam", "drag_lift_station", "driving_centre", "elevator", "embassy", "fairground", "ferry", "ferry_terminal", "firepit", "funicular_stop", "gondola_station", "government", "historic_administrative", "historic_archive", "historic_casino", "historic_courthouse", "historic_execution_site", "historic_fortification", "historic_library", "historic_mill", "historic_mine", "historic_police_fire_dep", "horse_racing", "incineration_plant", "inn", "kindergarten", "marina", "military", "monument", "naturefriend_house", "observatory", "park", "parking_facility", "parking_public", "pharmacy", "power_plant", "prison", "ruins", "school", "solar", "sports_centre", "subway_stop", "survey_point", "swimming_pool", "tower", "tram_stop", "university", "via_ferrata", "via_ferrata_construction", "viewpoint", "wastewater_plant", "water_well", "weir", "wilderness_hut"], true, "waterfall", ["case", ["has", "name"], true, false], ["match", ["get", "class"], ["government", "place_of_worship", "monastery", "pitch"], true, false]]]}, {"id": "area_name_glacier_line_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "area_name", "minzoom": 12.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 12, ["match", ["get", "size"], [10, 9], 17, [8, 7, 6, 5], 15, [4, 3, 2], 13, 11], 16, ["match", ["get", "size"], [10, 9], 23, [8, 7, 6, 5], 19, [4, 3, 2], 15, 13]], "text-field": ["get", "name:latin"], "visibility": "visible", "text-max-width": 99999, "symbol-placement": "line-center", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": {"stops": [[10, 0.15], [12, 0.3]]}, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgb(47, 134, 188)", "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": 0.5}, "filter": ["all", ["==", "subclass", "glacier"], ["==", "$type", "LineString"]]}, {"id": "area_name_point_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "area_name", "minzoom": 12.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, 0.2, 18, 0.5], "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 1.125], ["zoom"], 7, 12, 13, ["match", ["get", "subclass"], "massif", 17, 12], 18, ["match", ["get", "subclass"], "massif", 25, 17]], "icon-image": ["match", ["get", "subclass"], "massif", "massif", ""], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": ["match", ["get", "subclass"], "massif", "bottom", "center"], "text-offset": ["interpolate", ["linear"], ["zoom"], 13, ["literal", [0, -0.2]], 18, ["match", ["get", "subclass"], "massif", ["literal", [0, -0.4]], ["literal", [0, 0]]]], "text-rotate": ["case", ["has", "direction"], ["get", "direction"], 0], "text-padding": 1, "text-max-width": 99999, "symbol-placement": "point", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": ["interpolate", ["linear"], ["zoom"], 10, ["case", ["!", ["has", "direction"]], 0.09, ["match", ["get", "subclass"], "valley", 0.8, 0.3]], 16, ["case", ["!", ["has", "direction"]], 0.09, ["match", ["get", "subclass"], "valley", 0.8, 0.3]]], "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": ["match", ["get", "subclass"], "massif", "rgb(27, 36, 62)", "rgb(32, 32, 32)"], "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 16, 1]}, "filter": ["all", ["in", "subclass", "gorge", "valley", "hillchain", "ridge", "massif"], ["==", "$type", "Point"]]}, {"id": "place_other", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 10.0, "maxzoom": 18.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 7, 0.3, 14, 0.6], "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 7, ["case", ["!", ["has", "population"]], 9, ["case", ["<=", 50000, ["get", "population"]], 17, ["<=", 10000, ["get", "population"]], 15, ["<=", 2000, ["get", "population"]], 14, ["<=", 500, ["get", "population"]], 13, ["<=", 100, ["get", "population"]], 12, ["<=", 50, ["get", "population"]], 11, 10]], 13, ["match", ["get", "class"], ["suburb", "neighbourhood"], ["case", ["!", ["has", "population"]], 15, ["case", ["<=", 50000, ["get", "population"]], 23, ["<=", 10000, ["get", "population"]], 19, ["<=", 2000, ["get", "population"]], 17, ["<=", 500, ["get", "population"]], 16, 15]], ["case", ["!", ["has", "population"]], 15, ["case", ["<=", 50, ["get", "population"]], 17, 16]]], 18, ["match", ["get", "class"], ["suburb", "neighbourhood"], ["case", ["!", ["has", "population"]], 19, ["case", ["<=", 50000, ["get", "population"]], 31, ["<=", 10000, ["get", "population"]], 25, ["<=", 2000, ["get", "population"]], 21, ["<=", 500, ["get", "population"]], 20, 19]], ["case", ["!", ["has", "population"]], 19, ["case", ["<=", 50, ["get", "population"]], 21, 20]]]], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": ["match", ["get", "class"], ["hamlet", "isolated_dwelling"], "bottom-left", "center"], "text-justify": "auto", "text-padding": ["interpolate", ["linear"], ["zoom"], 10, 2, 13, 2, 14, 0], "icon-optional": false, "text-max-width": 8, "text-transform": "none", "symbol-sort-key": ["to-number", ["get", "rank"]], "text-letter-spacing": 0.025, "icon-image": ["match", ["get", "class"], ["hamlet", "isolated_dwelling"], "circle_black", ""], "text-radial-offset": 0.3}, "paint": {"text-color": "rgb(32, 32, 32)", "icon-opacity": ["step", ["zoom"], 0, 10, ["case", [">", 28, ["get", "rank"]], 1, 0], 11, ["case", [">", 30, ["get", "rank"]], 1, 0], 12, 0], "text-opacity": ["step", ["zoom"], 0, 10, ["case", [">", 28, ["get", "rank"]], 1, 0], 11, ["case", [">", 30, ["get", "rank"]], 1, 0], 12, ["case", [">", 31, ["get", "rank"]], 1, 0], 13, ["case", [">", 32, ["get", "rank"]], 1, 0], 14, 1], "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 16, 1.25]}, "filter": ["!in", "class", "continent", "country", "state", "city", "town", "village"]}, {"id": "poi_rank1", "type": "symbol", "source": "base_v1.0.0", "source-layer": "poi", "minzoom": 12.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, ["match", ["get", "subclass"], "doline", 0.85, "railway_station", 0.45, 0.35], 18, ["match", ["get", "subclass"], "doline", 1.05, "railway_station", 0.65, 0.55]], "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 7, 10, 13, ["match", ["get", "subclass"], ["doline", "railway_station"], 14, ["match", ["get", "class"], "hazard", 18, 12]], 18, ["match", ["get", "subclass"], ["doline", "railway_station"], 19, ["match", ["get", "class"], "hazard", 40, 17]]], "icon-image": ["match", ["get", "subclass"], ["camp_site", "caravan_site"], "camping", "castle", "castle", "doline", "doline", ["golf", "golf_course"], "golf", "historic_government", "museum", "hospital", "hospital", "observation_tower", "observation_tower", "railway_station", "railway", "stadium", "stadium", "zoo", "zoo", ["match", ["get", "class"], "monastery", "monastery", "place_of_worship", "church", ""]], "text-field": ["case", ["has", "name:latin"], ["get", "name:latin"], ""], "visibility": "visible", "icon-offset": [0, 0], "text-anchor": ["match", ["get", "class"], "hazard", "center", "left"], "text-offset": ["match", ["get", "class"], "hazard", ["literal", [0, 0]], ["literal", [0.8, 0.1]]], "text-justify": "left", "text-padding": 1, "text-optional": false, "text-max-width": 10, "symbol-avoid-edges": true}, "paint": {"text-color": ["match", ["get", "subclass"], "railway_station", "rgb(34, 39, 105)", ["castle", "historic_government"], "rgb(136, 85, 13)", "stadium", "rgb(128, 39, 88)", ["camp_site", "caravan_site", "golf", "golf_course", "observation_tower", "zoo"], "rgb(70, 121, 39)", "hospital", "rgb(11, 105, 164)", "doline", "rgb(159, 116, 57)", ["match", ["get", "class"], ["monastery", "place_of_worship"], "rgb(136, 85, 13)", "hazard", "rgb(137, 76, 0)", "rgb(32, 32, 32)"]], "icon-opacity": ["step", ["zoom"], 0, 1, ["match", ["get", "subclass"], ["hospital", "historic_government"], 0, 1], 13, ["match", ["get", "subclass"], "doline", 0.7, 1]], "text-opacity": ["step", ["zoom"], 0, 12, ["match", ["get", "subclass"], ["hospital", "stadium", "historic_government"], 0, 1], 13, ["match", ["get", "subclass"], ["hospital", "stadium"], 0, 1], 14, 1], "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": 1}, "filter": ["match", ["get", "subclass"], ["camp_site", "castle", "doline", "golf", "golf_course", "historic_government", "hospital", "observation_tower", "railway_station", "stadium", "zoo"], true, ["match", ["get", "class"], ["place_of_worship", "monastery", "hazard"], ["has", "name"], false]]}, {"id": "peak_rank2", "type": "symbol", "source": "base_v1.0.0", "source-layer": "mountain_peak", "minzoom": 9.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, 0.25, 18, 0.55], "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 7, ["match", ["get", "class"], ["alpine_peak", "main_peak", "peak", "saddle"], 12, 11], 13, ["match", ["get", "class"], "alpine_peak", 16, "main_peak", 15, ["peak", "saddle"], 14, 13], 18, ["match", ["get", "class"], "alpine_peak", 23, "main_peak", 22, ["peak", "saddle"], 21, 20]], "icon-image": ["match", ["get", "class"], ["alpine_peak", "main_peak", "peak"], "mountain", ["main_hill", "hill"], "hill", "saddle", "saddle", "mountain"], "text-field": ["format", ["get", "name:latin"], "\n", ["get", "ele"], {"font-scale": 0.75}], "visibility": "visible", "icon-anchor": "center", "icon-offset": [0, 0], "text-anchor": "bottom", "text-offset": ["interpolate", ["linear"], ["zoom"], 13, ["literal", [0, 0]], 18, ["literal", [0, -0.35]]], "icon-padding": 0, "text-justify": "center", "text-padding": 1, "icon-optional": false, "text-optional": false, "text-max-width": 8, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, "text-letter-spacing": 0.025, "icon-pitch-alignment": "auto", "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto"}, "paint": {"text-color": "rgb(27, 36, 62)", "icon-opacity": 1, "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 14, 1]}, "filter": ["all", [">", "rank", 1], ["!=", "class", "mountain_pass"], ["==", "$type", "Point"]]}, {"id": "waterway_line_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 9.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 1.5], ["zoom"], 10, ["case", ["has", "width"], ["match", ["get", "width"], [9, 10], 15, [7, 8], 15, [5, 6], 14, 4, 13, 3, 13, 2, 13, 13], ["match", ["get", "class"], ["river", "canal"], 15, 13]], 13, ["case", ["has", "width"], ["match", ["get", "width"], [9, 10], 16, [7, 8], 16, [5, 6], 15, 4, 14, 3, 13, 2, 13, 1, 13, 13], ["match", ["get", "class"], ["river", "canal"], 17, 13]], 16, ["case", ["has", "width"], ["match", ["get", "width"], [9, 10], 19, [7, 8], 18, [5, 6], 17, 4, 16, 3, 15, 2, 15, 1, 15, 15], ["match", ["get", "class"], ["river", "canal"], 19, 15]]], "text-field": ["get", "name:latin"], "visibility": "visible", "text-padding": 1, "symbol-spacing": 350, "text-max-angle": 60, "text-max-width": 9999, "symbol-sort-key": ["case", ["has", "width"], ["-", 20, ["get", "width"]], 8], "symbol-placement": "line", "text-keep-upright": true, "text-allow-overlap": false, "text-letter-spacing": 0.1, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgb(47, 134, 188)", "text-opacity": ["step", ["zoom"], ["case", ["has", "width"], ["match", ["get", "width"], [7, 8, 9, 10], 1, 0], 0], 13, 1], "text-halo-blur": 0.25, "text-halo-color": "rgba(220, 241, 254, 0.9)", "text-halo-width": ["interpolate", ["exponential", 2], ["zoom"], 13, 1, 18, 2]}, "filter": ["all", ["has", "name:latin"], ["case", ["has", "intermittent"], ["!=", ["get", "intermittent"], 1], true]]}, {"id": "poi_motorway", "type": "symbol", "source": "base_v1.0.0", "source-layer": "poi", "minzoom": 14.0, "layout": {"text-font": ["Frutiger Neue Condensed Regular"], "text-size": 11, "icon-image": ["match", ["get", "subclass"], "exit", "exit", "junction", "junction", "restaurant", "motorway_restaurant", ["shop", "fuel", "toilets", "rest_stop"], "motorway_rest_area", ""], "text-field": ["case", ["has", "name:latin"], ["get", "name:latin"], ""], "visibility": "visible", "icon-text-fit": "width", "text-max-width": 999, "text-letter-spacing": 0.03, "icon-text-fit-padding": [0, 4, 0, 4], "icon-offset": [0, -0.3]}, "paint": {"text-color": "rgb(60, 45, 20)"}, "filter": ["all", ["in", "subclass", "exit", "junction", "restaurant", "shop", "fuel", "toilets", "rest_stop"], ["has", "name"]]}, {"id": "aerodrome_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "aerodrome_label", "minzoom": 11.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, 0.4, 16, 0.55], "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 13, 15, 18, 21], "icon-image": ["match", ["get", "class"], "international", "airplane_large", "regional", "airplane_medium", "other", "airplane_small", "helipad", "heliport", ""], "text-field": ["get", "name:latin"], "visibility": "visible", "icon-anchor": "center", "icon-offset": [0, 0], "text-anchor": "left", "text-offset": [0.7, 0.1], "text-justify": "left", "text-padding": 2, "icon-text-fit": "none", "text-transform": ["match", ["get", "class"], "international", ["literal", "uppercase"], ["literal", "none"]], "symbol-placement": "point", "text-letter-spacing": ["match", ["get", "class"], "international", 0.03, "regional", 0.02, 0.02], "icon-text-fit-padding": [0, 0, 0, 0]}, "paint": {"text-color": "rgb(34, 39, 105)", "icon-opacity": ["step", ["zoom"], ["match", ["get", "class"], "international", 1, 0], 11, ["match", ["get", "class"], ["international", "regional"], 1, 0], 12, 1], "text-opacity": ["step", ["zoom"], ["match", ["get", "class"], "international", 1, 0], 11, ["match", ["get", "class"], ["international", "regional"], 1, 0], 12, 1], "text-halo-blur": 0.25, "text-halo-color": "rgb(255, 255, 255)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 14, 1]}}, {"id": "road_number", "type": "symbol", "source": "base_v1.0.0", "source-layer": "transportation_name", "minzoom": 11.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Regular"], "text-size": 11, "icon-image": ["case", ["has", "is_route"], ["match", ["get", "is_route"], 99, "box_orange_black", [5, 10], "box_red_black", [6, 7, 8], "box_yellow_black", "box_white_black"], "box_white_black"], "text-field": ["get", "ref"], "visibility": "visible", "icon-offset": [0, -0.75], "text-anchor": "center", "icon-padding": 2, "text-justify": "center", "text-padding": 1, "icon-optional": false, "icon-text-fit": "both", "text-optional": false, "symbol-spacing": ["step", ["zoom"], 300, 10, 600, 14, 800], "symbol-placement": "line", "icon-keep-upright": false, "text-keep-upright": true, "icon-allow-overlap": false, "symbol-avoid-edges": false, "text-letter-spacing": 0.03, "icon-pitch-alignment": "viewport", "text-pitch-alignment": "viewport", "icon-ignore-placement": false, "icon-text-fit-padding": [1, 3, 1, 3], "icon-rotation-alignment": "viewport", "text-rotation-alignment": "viewport"}, "paint": {"text-color": ["case", ["has", "is_route"], ["match", ["get", "is_route"], [5, 10], "rgb(65, 45, 15)", [6, 7, 8], "rgb(55, 55, 15)", 99, "rgb(60, 45, 20)", "rgb(40, 40, 40)"], "rgb(40, 40, 40)"], "icon-opacity": 1, "text-halo-blur": 0, "text-halo-color": "rgb(0, 0, 0)", "text-halo-width": 0}, "filter": ["all", ["has", "ref"], ["!=", "ref_length", 0], ["in", "class", "motorway", "trunk", "primary", "secondary", "tertiary", "minor"], ["==", "$type", "LineString"]]}, {"id": "place_town_village", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 6.0, "maxzoom": 17.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 7, ["match", ["get", "class"], "town", 0.4, 0.35], 14, ["match", ["get", "class"], "town", 0.7, 0.65]], "text-font": ["match", ["get", "class"], "town", ["literal", ["Frutiger Neue Condensed Medium"]], ["literal", ["Frutiger Neue Condensed Regular"]]], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 7, ["match", ["get", "class"], "town", ["case", ["has", "population"], ["case", ["<=", 30000, ["get", "population"]], 16, 15], 15], ["case", ["has", "population"], ["case", ["<=", 2000, ["get", "population"]], 14, ["<=", 1000, ["get", "population"]], 13, 12], 12]], 13, ["match", ["get", "class"], "town", ["case", ["has", "population"], ["case", ["<=", 30000, ["get", "population"]], 27, 23], 23], ["case", ["has", "population"], ["case", ["<=", 2000, ["get", "population"]], 20, ["<=", 1000, ["get", "population"]], 19, 18], 18]], 18, ["match", ["get", "class"], "town", ["case", ["has", "population"], ["case", ["<=", 30000, ["get", "population"]], 41, 31], 31], ["case", ["has", "population"], ["case", ["<=", 2000, ["get", "population"]], 27, ["<=", 1000, ["get", "population"]], 25, 23], 23]]], "icon-image": "circle_black", "text-field": ["get", "name:latin"], "visibility": "visible", "text-offset": [0, 0], "text-justify": "auto", "text-padding": 2, "icon-optional": false, "text-optional": false, "text-transform": "none", "symbol-sort-key": ["to-number", ["get", "rank"]], "text-radial-offset": 0.2, "text-letter-spacing": ["match", ["get", "class"], "town", 0.025, 0.01], "text-variable-anchor": ["literal", ["bottom-left", "top-left", "bottom-right", "top-right", "left", "right", "bottom", "top"]], "text-max-width": 8}, "paint": {"text-color": "rgb(32, 32, 32)", "icon-opacity": ["step", ["zoom"], 0, 6, ["match", ["get", "class"], "town", ["match", ["get", "name"], ["Sion", "Bellinzona", "Chur"], 1, 0], 0], 7, ["match", ["get", "class"], "town", ["case", ["has", "capital"], 1, ["case", [">", 10, ["get", "rank"]], 1, 0]], ["case", [">", 14, ["get", "rank"]], 1, 0]], 8, ["match", ["get", "class"], "town", 1, ["case", [">", 15, ["get", "rank"]], 1, 0]], 9, ["match", ["get", "class"], "town", 1, ["case", [">", 20, ["get", "rank"]], 1, 0]], 10, ["match", ["get", "class"], "town", 1, ["case", [">", 28, ["get", "rank"]], 1, 0]], 11, 1, 12, 0], "text-opacity": ["step", ["zoom"], 0, 6, ["match", ["get", "class"], "town", ["match", ["get", "name"], ["Sion", "Bellinzona", "Chur"], 1, 0], 0], 7, ["match", ["get", "class"], "town", ["case", ["has", "capital"], 1, ["case", [">", 10, ["get", "rank"]], 1, 0]], ["case", [">", 14, ["get", "rank"]], 1, 0]], 8, ["match", ["get", "class"], "town", 1, ["case", [">", 15, ["get", "rank"]], 1, 0]], 9, ["match", ["get", "class"], "town", 1, ["case", [">", 20, ["get", "rank"]], 1, 0]], 10, ["match", ["get", "class"], "town", 1, ["case", [">", 28, ["get", "rank"]], 1, 0]], 11, 1, 15, ["match", ["get", "class"], "town", 0, 1]], "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 14, 1.25]}, "filter": ["in", "class", "town", "village"]}, {"id": "peak_rank1", "type": "symbol", "source": "base_v1.0.0", "source-layer": "mountain_peak", "minzoom": 8.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, 0.25, 18, 0.55], "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 7, ["match", ["get", "class"], ["alpine_peak", "main_peak", "peak"], 12, 11], 13, ["match", ["get", "class"], "alpine_peak", 16, "main_peak", 15, "peak", 14, 13], 18, ["match", ["get", "class"], "alpine_peak", 23, "main_peak", 22, "peak", 21, 20]], "icon-image": ["match", ["get", "class"], ["alpine_peak", "main_peak", "peak"], "mountain", ["main_hill", "hill"], "hill", "mountain"], "text-field": ["format", ["get", "name:latin"], "\n", ["get", "ele"], {"font-scale": 0.75}], "visibility": "visible", "icon-anchor": "center", "icon-offset": [0, 0], "text-anchor": "bottom", "text-offset": ["interpolate", ["linear"], ["zoom"], 13, ["literal", [0, 0]], 18, ["literal", [0, -0.35]]], "icon-padding": 0, "text-justify": "center", "text-padding": 1, "icon-optional": false, "text-optional": false, "text-max-width": 8, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, "text-letter-spacing": 0.025, "icon-pitch-alignment": "auto", "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto"}, "paint": {"text-color": "rgb(27, 36, 62)", "icon-opacity": 1, "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 14, 1]}, "filter": ["all", ["<=", "rank", 1], ["!=", "class", "mountain_pass"], ["==", "$type", "Point"]]}, {"id": "water_name_point_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "water_name", "minzoom": 7.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 8, ["match", ["get", "size"], [10, 9], 14, 12], 10, ["match", ["get", "size"], [10, 9], 21, [8, 7, 6], 18, [5, 4, 3], 15, 12], 16, ["match", ["get", "size"], [10, 9], 33, [8, 7, 6], 29, [5, 4, 3], 25, [2], 22, [1], 19, 19]], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": "center", "text-rotate": ["case", ["has", "direction"], ["get", "direction"], 0], "text-padding": 2, "symbol-spacing": 250, "text-max-width": 20, "symbol-placement": "point", "text-keep-upright": true, "text-allow-overlap": false, "text-letter-spacing": ["match", ["get", "size"], [10, 9, 8, 7], 0.1, [6, 5], 0.08, [4, 3], 0.07, [2, 1], 0.05, 0.02], "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgb(47, 134, 188)", "text-opacity": ["step", ["zoom"], 0, 7, ["match", ["get", "size"], [10, 9, 8, 7], 1, 0], 8, ["match", ["get", "size"], [10, 9, 8, 7, 6], 1, 0], 9, ["match", ["get", "size"], [10, 9, 8, 7, 6, 5, 4, 3], 1, 0], 10, ["match", ["get", "size"], [10, 9, 8, 7, 6, 5, 4, 3, 2], 1, 0], 12, 1], "text-halo-blur": 0.25, "text-halo-color": "rgb(210, 238, 255)", "text-halo-width": 0.5}, "filter": ["all", ["==", "class", "lake"], ["==", "$type", "Point"]]}, {"id": "park_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "park", "minzoom": 8.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 13, 0.35, 18, 0.6], "text-font": ["Frutiger Neue Medium"], "text-size": ["interpolate", ["linear"], ["zoom"], 7, 13, 13, 17, 18, 27], "icon-image": "national_park", "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": "left", "text-offset": [0.6, 0], "text-justify": "left", "text-padding": ["interpolate", ["linear"], ["zoom"], 10, 2, 14, 10]}, "paint": {"text-color": "rgb(70, 121, 39)", "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.8)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 9, 0.5, 12, 1]}, "filter": ["==", "$type", "Point"]}, {"id": "poi_lm", "type": "symbol", "source": "base_v1.0.0", "source-layer": "poi", "minzoom": 8.0, "layout": {"icon-size": ["interpolate", ["exponential", 1.25], ["zoom"], 8, 0.4, 18, 0.9], "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 8, 12, 13, 16, 18, 19], "text-offset": ["interpolate", ["exponential", 0.8], ["zoom"], 13, ["literal", [0, 1.1]], 18, ["literal", [0, 1.7]]], "icon-image": ["get", "landmark_id"], "text-field": ["case", ["has", "name:latin"], ["get", "name:latin"], ""], "visibility": "visible", "text-anchor": "top", "text-justify": "center", "text-padding": 1, "text-max-width": 6, "symbol-avoid-edges": true}, "paint": {"text-color": ["match", ["get", "landmark_id"], ["019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:61titlisow", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:74cliffwbe", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:66ladolevd"], "rgb(70, 121, 39)", ["019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:68triftbbe", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:70chkuohvs", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:205panorbe", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:220ponteti"], "rgb(46, 52, 70)", ["019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:167sturmni", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:192basltso", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:259kapuzzg", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:11operhazh", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:12kunsthzh", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:6bahntorlu", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:25stalbabs", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:237mushige", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:240muscavd", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:153obturag", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:164sturmgr", "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b:156tourdne"], "rgb(136, 85, 13)", ["match", ["get", "class"], "hazard", "rgb(137, 76, 0)", ["monastery", "place_of_worship"], "rgb(136, 85, 13)", ["border_control", "embassy", "government", "prison"], "rgb(46, 52, 70)", "pitch", "rgb(70, 121, 39)", "dam", "rgb(32, 32, 32)", ["match", ["get", "subclass"], ["aerialway_station", "bus_stop", "cable_car_station", "car_ferry", "car_shuttle", "chair_lift_station", "drag_lift_station", "ferry", "ferry_terminal", "funicular_stop", "gondola_station", "parking_facility", "parking_public", "railway_station", "subway_stop", "tram_stop"], "rgb(34, 39, 105)", ["hospital", "marina", "swimming_pool", "waterfall", "water_well", "weir"], "rgb(11, 105, 164)", ["camp_site", "caravan_site", "cemetery", "communications_tower", "firepit", "golf", "golf_course", "horse_racing", "observation_deck", "observation_tower", "park", "pharmacy", "picnic_site", "recycling", "tower", "viewpoint", "elevator", "zoo"], "rgb(70, 121, 39)", ["alpine_hut", "inn", "letterbox", "naturefriend_house"], "rgb(177, 123, 8)", "wilderness_hut", "rgb(72, 34, 72)", ["attraction", "building", "bridge", "castle", "christian", "church_tower", "historic_administrative", "historic_casino", "historic_courthouse", "historic_execution_site", "historic_fortification", "historic_government", "historic_mill", "historic_mine", "historic_police_fire_dep", "monument", "observatory", "ruins", "suspension_bridge", "viaduct", "wind_farm", "university", "square", "artwork"], "rgb(136, 85, 13)", ["fairground", "stadium"], "rgb(128, 39, 88)", ["college", "kindergarten", "school"], "rgb(5, 100, 82)", "cave", "rgb(27, 36, 62)", ["historic_archive", "historic_library"], "rgb(46, 52, 70)", "boundary_stone", "rgb(195, 85, 146)", "doline", "rgb(159, 116, 57)", "rgb(32, 32, 32)"]]], "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": 1}, "filter": ["has", "landmark_id"]}, {"id": "peak_lm", "type": "symbol", "source": "base_v1.0.0", "source-layer": "mountain_peak", "minzoom": 8.0, "layout": {"icon-size": ["interpolate", ["exponential", 1.25], ["zoom"], 8, 0.45, 18, 0.9], "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 8, 12, 13, 16, 18, 24], "icon-image": ["get", "landmark_id"], "text-field": ["format", ["get", "name:latin"], "\n", ["get", "ele"], {"font-scale": 0.75}], "visibility": "visible", "text-anchor": "top", "text-offset": ["interpolate", ["exponential", 1.1], ["zoom"], 8, ["literal", [0, 1.3]], 18, ["literal", [0, 1.6]]], "icon-padding": 0, "text-justify": "center", "text-padding": 1, "icon-optional": false, "text-optional": false, "text-max-width": 10, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, "text-letter-spacing": 0.025, "icon-pitch-alignment": "auto", "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto"}, "paint": {"text-color": "rgb(27, 36, 62)", "icon-opacity": 1, "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 14, 1]}, "filter": ["all", ["has", "landmark_id"], ["==", "$type", "Point"]]}, {"id": "place_city", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 4.0, "maxzoom": 14.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 2, 0.4, 14, 0.7], "text-font": ["Frutiger Neue Condensed Medium"], "text-size": ["interpolate", ["exponential", 1.25], ["zoom"], 1, 11, 7, ["case", ["<=", 100000, ["get", "population"]], 19, 18], 13, ["case", ["<=", 100000, ["get", "population"]], 35, 31], 18, ["case", ["<=", 100000, ["get", "population"]], 61, 51]], "icon-image": "circle_black", "text-field": ["get", "name:latin"], "visibility": "visible", "icon-anchor": "center", "text-offset": [0, 0], "text-justify": "auto", "text-padding": 1, "icon-optional": false, "icon-text-fit": "none", "text-max-width": 10, "text-transform": "none", "symbol-sort-key": ["to-number", ["get", "rank"]], "text-keep-upright": false, "text-radial-offset": 0.25, "text-letter-spacing": 0.029, "text-anchor": "bottom-left"}, "paint": {"text-color": "rgb(32, 32, 32)", "icon-opacity": ["step", ["zoom"], 1, 12, 0], "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.9)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 0.5, 14, 1.25]}, "filter": ["==", "class", "city"]}, {"id": "hazard", "type": "fill", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 5.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["interpolate", ["exponential", 2], ["zoom"], 10, "rgb(240, 218, 188)", 12, "rgb(229, 193, 142)"], "fill-opacity": 0.4, "fill-antialias": false}, "filter": ["==", "class", "hazard"]}, {"id": "place_country", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 0.0, "maxzoom": 14.0, "layout": {"text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 1, 12, 5, 15, 7, 17, 11, 19, 14, 27], "text-field": ["get", "name:latin"], "visibility": "visible", "text-padding": 0, "text-max-width": 10, "text-transform": "uppercase", "text-letter-spacing": 0.12}, "paint": {"text-color": "rgb(195, 85, 146)", "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.8)", "text-halo-width": 1}, "filter": ["==", "class", "country"]}], "metadata": {"maptiler": {"groups": [{"id": "-NuEtjWb4eThMRy994qtv", "name": "label", "icon": "variant2", "layers": ["place_country", "place_city", "place_town_village", "place_other", "park_label", "area_name_point_label", "area_name_glacier_line_label", "area_name_field"]}, {"id": "hQiiRk8WU1E01M6hB4MSZ", "name": "poi", "icon": "poi", "layers": ["poi_rank1", "poi_motorway", "poi_rank2", "poi_rank3_rotation_flat", "poi_lm"]}, {"id": "BlFw2Xhj3jRXCYAmLq5FO", "name": "mountain_peak", "icon": "terrain", "layers": ["peak_rank2", "peak_rank1", "peak_lm"]}, {"id": "e6wN05kBEesxrAJsEdcia", "name": "infrastructure", "icon": "other", "layers": ["housenumber", "building_ln", "building_fill", "construct", "building_ln_dashes", "construct_casing", "building_casing", "building_fill<z14"]}, {"id": "pXtCsa4Vx_wJsxglUqOC8", "name": "transportation", "icon": "transport", "layers": ["l2_public_transport_aerialway", "l2_fill", "l2_road_casing", "l1_public_transport", "l1_2_pedestrian", "l1_fill", "l1_road_casing", "transportation_label", "transportation_dashes", "public_transport", "road_track_via_ferrata", "road_path", "road_footway_ferry", "road_small_dashes", "ford_fill", "aerodrome_label", "road_number", "road_fill", "ford_casing", "tunnel_pedestrian", "tunnel_road", "tunnel_public_transport", "aeroway_polygon_casing", "road_casing", "aeroway_polygon_fill", "mask_terrain", "landuse_parking_casing", "landuse_parking"]}, {"id": "9Ht6vQV0flZj_tCG0NLcf", "name": "boundary", "icon": "administrative", "layers": ["boundary", "boundary_band", "boundary_dashed_band", "boundary_label_l", "boundary_label_r", "park", "park_band"]}, {"id": "m-5ML7HbCYgxLyburbMqe", "name": "water", "icon": "water", "layers": ["contour_line_blue", "waterway_shoreline", "waterway_shoreline_changing", "water_shoreline", "water_name_point_label", "waterway_line_label", "water_line", "water", "water_line_intermittent", "bathymetry"]}, {"id": "edS0L4IEWQas62HoUGBJD", "name": "land", "icon": "nature", "layers": ["landuse", "landcover", "landcover_casing", "landuse_outline", "pattern_landcover_z12", "pattern_landcover_z16", "landcover_pt", "hazard"]}, {"id": "terrain", "name": "terrain", "icon": "terrain", "layers": ["hillshade_grey", "hillshade_yellow", "scree_z17", "scree_z15", "scree_z13", "scree_z11", "hachure", "spot_elevation", "contour_line", "contour_line_pt"]}, {"id": "background", "name": "background", "icon": "background", "layers": ["background"]}, {"id": "poi", "name": "POI", "icon": "poi", "layers": []}], "viewState": {"toolPanelType": "Layers", "mapType": "Style", "layersViewPanelType": "Verticality", "propertyPanelType": "Edit", "activeBlock": null, "selectedLayers": ["poi_lm"], "editorFocusProperty": null}, "userSettings": {"preferredViewPanelType": "Verticality"}, "spaceColor": "#9FDBFF", "space": {"color": "#9FDBFF"}}, "ga:version": "v1.26.0", "ga:publisher": "CI-release:225b5945-8471-44a4-8f74-1522ecf7000b", "ga:branch": "master"}, "glyphs": "https://vectortiles.geo.admin.ch/fonts/{fontstack}/{range}.pbf", "sprite": [{"id": "019dbf00-e7f9-7fcf-8ab0-07f436b6e96b", "url": "https://vectortiles.geo.admin.ch/styles/ch.swisstopo.basemap.vt/v1.26.0/sprites/019dbf00-e7f9-7fcf-8ab0-07f436b6e96b/sprite"}, {"id": "default", "url": "https://vectortiles.geo.admin.ch/styles/ch.swisstopo.basemap.vt/v1.26.0/sprites/019d2471-bb09-76a3-8579-66a395881927/sprite"}], "bearing": 0.0, "pitch": 0.0, "center": [7.458556880930587, 46.959770261045776], "zoom": 14.757125212752644, "transition": {}}