{
  "version": 8,
  "sources": {
    "sourdough": {
      "type": "vector",
      "attribution": "© <a href=\"https://openstreetmap.org\">OpenStreetMap</a>",
      "url": "https://tiles.openstreetmap.us/vector/sourdough.json"
    },
    "hillshade": {
      "type": "raster",
      "url": "https://tiles.openstreetmap.us/raster/hillshade.json"
    },
    "contours": {
      "type": "vector",
      "url": "https://tiles.openstreetmap.us/vector/contours-feet.json"
    }
  },
  "sprite": "https://opentrailmap.us/sprites/opentrailmap",
  "glyphs": "https://tiles.openstreetmap.us/fonts/{fontstack}/{range}.pbf",
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {
        "background-color": "hsl(40, 48%, 90%)"
      }
    },
    {
      "id": "protected_area_fill",
      "type": "fill",
      "source": "sourdough",
      "source-layer": "boundaries",
      "filter": [
        "in",
        [
          "get",
          "boundary"
        ],
        [
          "literal",
          [
            "national_park",
            "protected_area"
          ]
        ]
      ],
      "paint": {
        "fill-color": "#dfeab8"
      }
    },
    {
      "id": "parks_fill",
      "type": "fill",
      "source": "sourdough",
      "source-layer": "leisure",
      "filter": [
        "in",
        [
          "get",
          "leisure"
        ],
        [
          "literal",
          [
            "park",
            "nature_reserve"
          ]
        ]
      ],
      "paint": {
        "fill-color": "#dfeab8"
      }
    },
    {
      "id": "protected_area_outline",
      "type": "line",
      "source": "sourdough",
      "source-layer": "boundaries",
      "filter": [
        "in",
        [
          "get",
          "boundary"
        ],
        [
          "literal",
          [
            "national_park",
            "protected_area"
          ]
        ]
      ],
      "paint": {
        "line-color": "#a8c075"
      }
    },
    {
      "id": "parks_outline",
      "type": "line",
      "source": "sourdough",
      "source-layer": "leisure",
      "filter": [
        "in",
        [
          "get",
          "leisure"
        ],
        [
          "literal",
          [
            "park",
            "nature_reserve"
          ]
        ]
      ],
      "paint": {
        "line-color": "#a8c075"
      }
    },
    {
      "id": "protected_area_highlight_fill",
      "type": "fill",
      "source": "sourdough",
      "source-layer": "boundaries",
      "filter": [
        "in",
        [
          "get",
          "boundary"
        ],
        [
          "literal",
          [
            "national_park",
            "protected_area"
          ]
        ]
      ],
      "paint": {
        "fill-color": [
          "case",
          [
            "boolean",
            [
              "feature-state",
              "hover"
            ],
            false
          ],
          "#c8da8c",
          [
            "boolean",
            [
              "feature-state",
              "selected"
            ],
            false
          ],
          "#B1D06F",
          "#dfeab8"
        ],
        "fill-opacity": [
          "case",
          [
            "any",
            [
              "boolean",
              [
                "feature-state",
                "hover"
              ],
              false
            ],
            [
              "boolean",
              [
                "feature-state",
                "selected"
              ],
              false
            ]
          ],
          1,
          0
        ]
      }
    },
    {
      "id": "parks_highlight_fill",
      "type": "fill",
      "source": "sourdough",
      "source-layer": "leisure",
      "filter": [
        "in",
        [
          "get",
          "leisure"
        ],
        [
          "literal",
          [
            "park",
            "nature_reserve"
          ]
        ]
      ],
      "paint": {
        "fill-color": [
          "case",
          [
            "boolean",
            [
              "feature-state",
              "hover"
            ],
            false
          ],
          "#c8da8c",
          [
            "boolean",
            [
              "feature-state",
              "selected"
            ],
            false
          ],
          "#B1D06F",
          "#dfeab8"
        ],
        "fill-opacity": [
          "case",
          [
            "any",
            [
              "boolean",
              [
                "feature-state",
                "hover"
              ],
              false
            ],
            [
              "boolean",
              [
                "feature-state",
                "selected"
              ],
              false
            ]
          ],
          1,
          0
        ]
      }
    },
    {
      "id": "protected_area_highlight_outline",
      "type": "line",
      "source": "sourdough",
      "source-layer": "boundaries",
      "filter": [
        "in",
        [
          "get",
          "boundary"
        ],
        [
          "literal",
          [
            "national_park",
            "protected_area"
          ]
        ]
      ],
      "paint": {
        "line-color": [
          "case",
          [
            "boolean",
            [
              "feature-state",
              "hover"
            ],
            false
          ],
          "#82a34e",
          [
            "boolean",
            [
              "feature-state",
              "selected"
            ],
            false
          ],
          "#738C40",
          "#a8c075"
        ],
        "line-width": [
          "case",
          [
            "any",
            [
              "boolean",
              [
                "feature-state",
                "hover"
              ],
              false
            ],
            [
              "boolean",
              [
                "feature-state",
                "selected"
              ],
              false
            ]
          ],
          2,
          0
        ]
      }
    },
    {
      "id": "parks_highlight_outline",
      "type": "line",
      "source": "sourdough",
      "source-layer": "leisure",
      "filter": [
        "in",
        [
          "get",
          "leisure"
        ],
        [
          "literal",
          [
            "park",
            "nature_reserve"
          ]
        ]
      ],
      "paint": {
        "line-color": [
          "case",
          [
            "boolean",
            [
              "feature-state",
              "hover"
            ],
            false
          ],
          "#82a34e",
          [
            "boolean",
            [
              "feature-state",
              "selected"
            ],
            false
          ],
          "#738C40",
          "#a8c075"
        ],
        "line-width": [
          "case",
          [
            "any",
            [
              "boolean",
              [
                "feature-state",
                "hover"
              ],
              false
            ],
            [
              "boolean",
              [
                "feature-state",
                "selected"
              ],
              false
            ]
          ],
          2,
          0
        ]
      }
    },
    {
      "id": "hillshade-background",
      "type": "background",
      "paint": {
        "background-color": "#fff",
        "background-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0,
          18,
          0.25
        ]
      }
    },
    {
      "id": "hillshade",
      "type": "raster",
      "source": "hillshade",
      "paint": {
        "raster-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.35,
          18,
          0.1
        ]
      }
    },
    {
      "id": "contours",
      "type": "line",
      "source": "contours",
      "source-layer": "contours",
      "paint": {
        "line-color": "#000000",
        "line-opacity": [
          "case",
          [
            "==",
            [
              "get",
              "idx"
            ],
            true
          ],
          0.2,
          0.1
        ],
        "line-width": 0.5
      },
      "filter": [
        "!=",
        [
          "get",
          "ele"
        ],
        0
      ]
    },
    {
      "id": "contours-labels",
      "type": "symbol",
      "source": "contours",
      "source-layer": "contours",
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "idx"
          ],
          true
        ],
        [
          "!=",
          [
            "get",
            "ele"
          ],
          0
        ]
      ],
      "layout": {
        "text-field": [
          "concat",
          [
            "to-string",
            [
              "get",
              "ele"
            ]
          ],
          " ft"
        ],
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-size": 8,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          150,
          16,
          600
        ]
      },
      "paint": {
        "text-color": "#666",
        "text-halo-color": "hsla(0, 0%, 100%, 0.5)",
        "text-halo-width": 1.5,
        "text-halo-blur": 1
      }
    },
    {
      "id": "water_stream",
      "type": "line",
      "source": "sourdough",
      "source-layer": "waterways",
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "==",
          [
            "get",
            "waterway"
          ],
          "stream"
        ]
      ],
      "paint": {
        "line-color": "#afd1e8",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          12,
          0,
          12.5,
          1,
          18,
          5
        ]
      }
    },
    {
      "id": "water_canal",
      "type": "line",
      "source": "sourdough",
      "source-layer": "waterways",
      "minzoom": 10,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "==",
          [
            "get",
            "waterway"
          ],
          "canal"
        ]
      ],
      "paint": {
        "line-color": "#afd1e8",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          10,
          0,
          10.5,
          1,
          18,
          14
        ]
      }
    },
    {
      "id": "water_river",
      "type": "line",
      "source": "sourdough",
      "source-layer": "waterways",
      "minzoom": 8,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "==",
          [
            "get",
            "waterway"
          ],
          "river"
        ]
      ],
      "paint": {
        "line-color": "#afd1e8",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          8,
          0,
          8.5,
          1,
          18,
          20
        ]
      }
    },
    {
      "id": "water",
      "type": "fill",
      "source": "sourdough",
      "source-layer": "water",
      "filter": [
        "==",
        [
          "geometry-type"
        ],
        "Polygon"
      ],
      "paint": {
        "fill-color": "#cbe1f0"
      }
    },
    {
      "id": "water_outline",
      "type": "line",
      "source": "sourdough",
      "source-layer": "water",
      "filter": [
        "==",
        [
          "geometry-type"
        ],
        "Polygon"
      ],
      "paint": {
        "line-color": "#afd1e8",
        "line-width": 0.75
      }
    },
    {
      "id": "glacier_fill",
      "type": "fill",
      "source": "sourdough",
      "source-layer": "natural",
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Polygon"
        ],
        [
          "==",
          [
            "get",
            "natural"
          ],
          "glacier"
        ]
      ],
      "paint": {
        "fill-color": "#f4f9fc",
        "fill-opacity": 0.5
      }
    },
    {
      "id": "glacier_outline",
      "type": "line",
      "source": "sourdough",
      "source-layer": "natural",
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Polygon"
        ],
        [
          "==",
          [
            "get",
            "natural"
          ],
          "glacier"
        ]
      ],
      "paint": {
        "line-color": "#c8daef"
      }
    },
    {
      "id": "pier_lines",
      "type": "line",
      "source": "sourdough",
      "source-layer": "man_made",
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "man_made"
          ],
          "pier"
        ],
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ]
      ],
      "paint": {
        "line-color": "#e7e6e5",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          1,
          16,
          3
        ]
      }
    },
    {
      "id": "pier_areas",
      "type": "fill",
      "source": "sourdough",
      "source-layer": "man_made",
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "man_made"
          ],
          "pier"
        ],
        [
          "==",
          [
            "geometry-type"
          ],
          "Polygon"
        ]
      ],
      "paint": {
        "fill-color": "#e7e6e5"
      }
    },
    {
      "id": "buildings",
      "type": "fill",
      "source": "sourdough",
      "source-layer": "buildings",
      "paint": {
        "fill-color": "#e6ddcd"
      }
    },
    {
      "id": "trails_official",
      "type": "line",
      "source": "sourdough",
      "source-layer": "highways",
      "minzoom": 11,
      "filter": [
        "all",
        [
          "any",
          [
            "all",
            [
              "in",
              [
                "get",
                "highway"
              ],
              [
                "literal",
                [
                  "path",
                  "bridleway"
                ]
              ]
            ],
            [
              "!=",
              [
                "get",
                "surface"
              ],
              "paved"
            ]
          ],
          [
            "all",
            [
              "in",
              [
                "get",
                "highway"
              ],
              [
                "literal",
                [
                  "footway",
                  "cycleway"
                ]
              ]
            ],
            [
              "==",
              [
                "get",
                "surface"
              ],
              "unpaved"
            ]
          ],
          [
            "==",
            [
              "get",
              "highway"
            ],
            "via_ferrata"
          ]
        ],
        [
          "!=",
          [
            "get",
            "informal"
          ],
          "yes"
        ]
      ],
      "paint": {
        "line-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          "#9a908a",
          14,
          [
            "case",
            [
              "in",
              [
                "get",
                "access"
              ],
              [
                "literal",
                [
                  "private",
                  "no",
                  "discouraged"
                ]
              ]
            ],
            "#c8b8b2",
            "#6a605a"
          ]
        ],
        "line-dasharray": [
          "step",
          [
            "zoom"
          ],
          [
            "literal",
            [
              3,
              1
            ]
          ],
          13,
          [
            "literal",
            [
              3,
              1
            ]
          ]
        ],
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          12,
          1,
          20,
          6
        ]
      }
    },
    {
      "id": "trails_informal",
      "type": "line",
      "source": "sourdough",
      "source-layer": "highways",
      "minzoom": 13,
      "filter": [
        "all",
        [
          "any",
          [
            "all",
            [
              "in",
              [
                "get",
                "highway"
              ],
              [
                "literal",
                [
                  "path",
                  "bridleway"
                ]
              ]
            ],
            [
              "!=",
              [
                "get",
                "surface"
              ],
              "paved"
            ]
          ],
          [
            "all",
            [
              "in",
              [
                "get",
                "highway"
              ],
              [
                "literal",
                [
                  "footway",
                  "cycleway"
                ]
              ]
            ],
            [
              "==",
              [
                "get",
                "surface"
              ],
              "unpaved"
            ]
          ],
          [
            "==",
            [
              "get",
              "highway"
            ],
            "via_ferrata"
          ]
        ],
        [
          "==",
          [
            "get",
            "informal"
          ],
          "yes"
        ]
      ],
      "paint": {
        "line-color": [
          "case",
          [
            "in",
            [
              "get",
              "access"
            ],
            [
              "literal",
              [
                "private",
                "no",
                "discouraged"
              ]
            ]
          ],
          "#c8b8b2",
          "#8a807a"
        ],
        "line-dasharray": [
          1,
          3
        ],
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          14,
          0.8,
          20,
          4
        ]
      }
    },
    {
      "id": "roads",
      "type": "line",
      "source": "sourdough",
      "source-layer": "highways",
      "filter": [
        "all",
        [
          "in",
          [
            "get",
            "highway"
          ],
          [
            "literal",
            [
              "motorway",
              "motorway_link",
              "trunk",
              "trunk_link",
              "primary",
              "primary_link",
              "secondary",
              "secondary_link",
              "tertiary",
              "tertiary_link",
              "residential",
              "unclassified",
              "track",
              "service",
              "pedestrian",
              "living_street"
            ]
          ]
        ],
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ]
      ],
      "paint": {
        "line-color": "#ffffff",
        "line-width": [
          "let",
          "factor",
          [
            "match",
            [
              "get",
              "highway"
            ],
            "motorway",
            2,
            "motorway_link",
            1,
            "trunk",
            1.75,
            "trunk_link",
            0.875,
            "primary",
            1.5,
            "primary_link",
            0.75,
            "secondary",
            1.25,
            "secondary_link",
            0.625,
            "tertiary",
            1,
            "tertiary_link",
            0.5,
            [
              "residential",
              "unclassified"
            ],
            0.8,
            [
              "pedestrian",
              "living_street"
            ],
            0.7,
            "track",
            0.6,
            "service",
            0.4,
            1
          ],
          [
            "interpolate",
            [
              "linear"
            ],
            [
              "zoom"
            ],
            8,
            [
              "*",
              0.5,
              [
                "var",
                "factor"
              ]
            ],
            14,
            [
              "*",
              2,
              [
                "var",
                "factor"
              ]
            ],
            18,
            [
              "*",
              16,
              [
                "var",
                "factor"
              ]
            ]
          ]
        ]
      }
    },
    {
      "id": "sidewalks",
      "type": "line",
      "source": "sourdough",
      "source-layer": "highways",
      "minzoom": 15,
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "highway"
          ],
          "footway"
        ],
        [
          "in",
          [
            "get",
            "footway"
          ],
          [
            "literal",
            [
              "sidewalk",
              "crossing"
            ]
          ]
        ],
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ]
      ],
      "paint": {
        "line-color": "#ffffff",
        "line-width": [
          "interpolate",
          [
            "exponential",
            2
          ],
          [
            "zoom"
          ],
          14,
          0.75,
          18,
          6
        ]
      }
    },
    {
      "id": "footways",
      "type": "line",
      "source": "sourdough",
      "source-layer": "highways",
      "minzoom": 13,
      "filter": [
        "any",
        [
          "all",
          [
            "in",
            [
              "get",
              "highway"
            ],
            [
              "literal",
              [
                "footway",
                "cycleway"
              ]
            ]
          ],
          [
            "!",
            [
              "in",
              [
                "get",
                "footway"
              ],
              [
                "literal",
                [
                  "sidewalk",
                  "crossing"
                ]
              ]
            ]
          ],
          [
            "!=",
            [
              "get",
              "surface"
            ],
            "unpaved"
          ],
          [
            "==",
            [
              "geometry-type"
            ],
            "LineString"
          ]
        ],
        [
          "all",
          [
            "==",
            [
              "get",
              "highway"
            ],
            "path"
          ],
          [
            "==",
            [
              "get",
              "surface"
            ],
            "paved"
          ],
          [
            "==",
            [
              "geometry-type"
            ],
            "LineString"
          ]
        ]
      ],
      "paint": {
        "line-color": "#ffffff",
        "line-width": [
          "interpolate",
          [
            "exponential",
            2
          ],
          [
            "zoom"
          ],
          14,
          0.75,
          18,
          6
        ]
      }
    },
    {
      "id": "steps",
      "type": "line",
      "source": "sourdough",
      "source-layer": "highways",
      "minzoom": 13,
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "highway"
          ],
          "steps"
        ],
        [
          "!=",
          [
            "get",
            "surface"
          ],
          "unpaved"
        ],
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ]
      ],
      "paint": {
        "line-color": "#ffffff",
        "line-dasharray": [
          "step",
          [
            "zoom"
          ],
          [
            "literal",
            [
              1,
              0
            ]
          ],
          16,
          [
            "literal",
            [
              0.5,
              0.2
            ]
          ]
        ],
        "line-width": [
          "interpolate",
          [
            "exponential",
            2
          ],
          [
            "zoom"
          ],
          14,
          0.75,
          18,
          6
        ]
      }
    },
    {
      "id": "boundaries_admin_6",
      "type": "line",
      "source": "sourdough",
      "source-layer": "boundaries",
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "==",
          [
            "get",
            "boundary"
          ],
          "administrative"
        ],
        [
          "==",
          [
            "get",
            "admin_level"
          ],
          6
        ]
      ],
      "paint": {
        "line-color": "rgba(0, 0, 0, 0.3)",
        "line-width": 0.5,
        "line-dasharray": [
          6,
          6
        ]
      }
    },
    {
      "id": "boundaries_admin_4",
      "type": "line",
      "source": "sourdough",
      "source-layer": "boundaries",
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "==",
          [
            "get",
            "boundary"
          ],
          "administrative"
        ],
        [
          "==",
          [
            "get",
            "admin_level"
          ],
          4
        ],
        [
          "!=",
          [
            "get",
            "maritime"
          ],
          "yes"
        ]
      ],
      "paint": {
        "line-color": "rgba(0, 0, 0, 0.3)",
        "line-width": 0.5
      }
    },
    {
      "id": "boundaries_admin_2",
      "type": "line",
      "source": "sourdough",
      "source-layer": "boundaries",
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "==",
          [
            "get",
            "boundary"
          ],
          "administrative"
        ],
        [
          "==",
          [
            "get",
            "admin_level"
          ],
          2
        ],
        [
          "!=",
          [
            "get",
            "maritime"
          ],
          "yes"
        ]
      ],
      "paint": {
        "line-color": "rgba(0, 0, 0, 0.2)",
        "line-width": 0.75
      }
    },
    {
      "id": "boundaries_admin_2_maritime",
      "type": "line",
      "source": "sourdough",
      "source-layer": "boundaries",
      "minzoom": 6,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "==",
          [
            "get",
            "boundary"
          ],
          "administrative"
        ],
        [
          "==",
          [
            "get",
            "admin_level"
          ],
          2
        ],
        [
          "==",
          [
            "get",
            "maritime"
          ],
          "yes"
        ]
      ],
      "paint": {
        "line-color": "rgba(122, 153, 174, 0.4)",
        "line-dasharray": [
          10,
          10
        ],
        "line-width": 0.75
      }
    },
    {
      "id": "boundaries_aboriginal_lands",
      "type": "fill",
      "source": "sourdough",
      "source-layer": "boundaries",
      "filter": [
        "==",
        [
          "get",
          "boundary"
        ],
        "aboriginal_lands"
      ],
      "paint": {
        "fill-color": "rgba(238, 200, 250, 0.2)"
      }
    },
    {
      "id": "boundaries_aboriginal_lands_outline",
      "type": "line",
      "source": "sourdough",
      "source-layer": "boundaries",
      "filter": [
        "==",
        [
          "get",
          "boundary"
        ],
        "aboriginal_lands"
      ],
      "paint": {
        "line-color": "rgba(225, 200, 240, 1.0)"
      }
    },
    {
      "id": "boundaries_aboriginal_lands_label",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "boundaries",
      "minzoom": 6,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "==",
          [
            "get",
            "boundary"
          ],
          "aboriginal_lands"
        ]
      ],
      "layout": {
        "text-field": [
          "get",
          "name"
        ],
        "text-optional": true,
        "text-size": 11,
        "text-line-height": 1.1,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-padding": 5,
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "#703791",
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 1,
        "text-halo-blur": 1
      }
    },
    {
      "id": "qa_insertion_point",
      "type": "background",
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "background-opacity": 0
      }
    },
    {
      "id": "waterway_labels",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "waterways",
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "in",
          [
            "get",
            "waterway"
          ],
          [
            "literal",
            [
              "river",
              "stream",
              "canal"
            ]
          ]
        ],
        [
          "has",
          "name"
        ]
      ],
      "layout": {
        "symbol-placement": "line",
        "text-field": [
          "get",
          "name"
        ],
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-size": [
          "match",
          [
            "get",
            "waterway"
          ],
          "river",
          14,
          11
        ],
        "symbol-spacing": 400,
        "text-max-angle": 30
      },
      "paint": {
        "text-color": "#4590c1",
        "text-halo-color": "#cbe1f0",
        "text-halo-width": 1.5,
        "text-halo-blur": 1
      }
    },
    {
      "id": "water_labels",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "water",
      "minzoom": 10,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "has",
          "name"
        ],
        [
          ">=",
          [
            "zoom"
          ],
          [
            "get",
            "_reczoom"
          ]
        ]
      ],
      "layout": {
        "text-field": [
          "get",
          "name"
        ],
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-size": 14,
        "text-max-width": 8,
        "text-padding": 5
      },
      "paint": {
        "text-color": "#4590c1",
        "text-halo-color": "#cbe1f0",
        "text-halo-width": 1.5,
        "text-halo-blur": 1
      }
    },
    {
      "id": "road_oneway_arrows",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "highways",
      "minzoom": 15,
      "filter": [
        "all",
        [
          "in",
          [
            "get",
            "highway"
          ],
          [
            "literal",
            [
              "motorway",
              "motorway_link",
              "trunk",
              "trunk_link",
              "primary",
              "primary_link",
              "secondary",
              "secondary_link",
              "tertiary",
              "tertiary_link",
              "residential",
              "unclassified",
              "track",
              "service",
              "pedestrian",
              "living_street"
            ]
          ]
        ],
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "in",
          [
            "get",
            "oneway"
          ],
          [
            "literal",
            [
              "yes",
              "1",
              "-1"
            ]
          ]
        ]
      ],
      "layout": {
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          15,
          100,
          18,
          200
        ],
        "icon-image": [
          "case",
          [
            "in",
            [
              "get",
              "oneway"
            ],
            [
              "literal",
              [
                "yes",
                "1"
              ]
            ]
          ],
          [
            "image",
            "arrow_right"
          ],
          [
            "image",
            "arrow_left"
          ]
        ],
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          15,
          0.2,
          22,
          0.6
        ],
        "icon-rotation-alignment": "map",
        "icon-overlap": "always",
        "icon-padding": 2
      },
      "paint": {
        "icon-color": "#aaaaaa"
      }
    },
    {
      "id": "road_labels",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "highways",
      "minzoom": 13,
      "filter": [
        "all",
        [
          "in",
          [
            "get",
            "highway"
          ],
          [
            "literal",
            [
              "motorway",
              "motorway_link",
              "trunk",
              "trunk_link",
              "primary",
              "primary_link",
              "secondary",
              "secondary_link",
              "tertiary",
              "tertiary_link",
              "residential",
              "unclassified",
              "track",
              "service",
              "pedestrian",
              "living_street"
            ]
          ]
        ],
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "has",
          "name"
        ]
      ],
      "layout": {
        "symbol-placement": "line",
        "text-field": [
          "get",
          "name"
        ],
        "text-font": [
          "Noto Sans Condensed Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          13,
          9,
          18,
          14
        ],
        "text-letter-spacing": 0.05,
        "text-rotation-alignment": "map",
        "symbol-spacing": 300,
        "text-max-angle": 30
      },
      "paint": {
        "text-color": "#666",
        "text-halo-color": "#fff",
        "text-halo-width": 2
      }
    },
    {
      "id": "trail_labels",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "highways",
      "minzoom": 14,
      "filter": [
        "all",
        [
          "any",
          [
            "all",
            [
              "in",
              [
                "get",
                "highway"
              ],
              [
                "literal",
                [
                  "path",
                  "bridleway"
                ]
              ]
            ],
            [
              "!=",
              [
                "get",
                "surface"
              ],
              "paved"
            ]
          ],
          [
            "all",
            [
              "in",
              [
                "get",
                "highway"
              ],
              [
                "literal",
                [
                  "footway",
                  "cycleway"
                ]
              ]
            ],
            [
              "==",
              [
                "get",
                "surface"
              ],
              "unpaved"
            ]
          ],
          [
            "==",
            [
              "get",
              "highway"
            ],
            "via_ferrata"
          ]
        ],
        [
          "any",
          [
            "has",
            "name"
          ],
          [
            "in",
            [
              "get",
              "access"
            ],
            [
              "literal",
              [
                "private",
                "no",
                "discouraged"
              ]
            ]
          ]
        ]
      ],
      "layout": {
        "symbol-placement": "line",
        "text-field": [
          "case",
          [
            "==",
            [
              "get",
              "access"
            ],
            "private"
          ],
          [
            "case",
            [
              "has",
              "name"
            ],
            [
              "concat",
              [
                "get",
                "name"
              ],
              " (private)"
            ],
            "(private)"
          ],
          [
            "in",
            [
              "get",
              "access"
            ],
            [
              "literal",
              [
                "no",
                "discouraged"
              ]
            ]
          ],
          [
            "case",
            [
              "has",
              "name"
            ],
            [
              "concat",
              [
                "get",
                "name"
              ],
              " (no access)"
            ],
            "(no access)"
          ],
          [
            "get",
            "name"
          ]
        ],
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-size": 12,
        "symbol-spacing": 300,
        "text-max-angle": 30
      },
      "paint": {
        "text-color": "#6a605a",
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 1.5,
        "text-halo-blur": 1
      }
    },
    {
      "id": "oneway_arrows",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "highways",
      "minzoom": 14,
      "filter": [
        "all",
        [
          "any",
          [
            "all",
            [
              "in",
              [
                "get",
                "highway"
              ],
              [
                "literal",
                [
                  "path",
                  "bridleway"
                ]
              ]
            ],
            [
              "!=",
              [
                "get",
                "surface"
              ],
              "paved"
            ]
          ],
          [
            "all",
            [
              "in",
              [
                "get",
                "highway"
              ],
              [
                "literal",
                [
                  "footway",
                  "cycleway"
                ]
              ]
            ],
            [
              "==",
              [
                "get",
                "surface"
              ],
              "unpaved"
            ]
          ],
          [
            "==",
            [
              "get",
              "highway"
            ],
            "via_ferrata"
          ]
        ],
        [
          "==",
          [
            "geometry-type"
          ],
          "LineString"
        ],
        [
          "in",
          [
            "get",
            "oneway"
          ],
          [
            "literal",
            [
              "yes",
              "1",
              "-1"
            ]
          ]
        ]
      ],
      "layout": {
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          15,
          100,
          18,
          200
        ],
        "icon-image": [
          "case",
          [
            "in",
            [
              "get",
              "oneway"
            ],
            [
              "literal",
              [
                "yes",
                "1"
              ]
            ]
          ],
          [
            "image",
            "arrow_right"
          ],
          [
            "image",
            "arrow_left"
          ]
        ],
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          15,
          0.3,
          22,
          0.7
        ],
        "icon-rotation-alignment": "map",
        "icon-overlap": "always",
        "icon-padding": 2
      },
      "paint": {
        "icon-color": "#6a605a",
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.5,
        "icon-halo-blur": 1
      }
    },
    {
      "id": "trees",
      "type": "circle",
      "source": "sourdough",
      "source-layer": "natural",
      "minzoom": 16,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "==",
          [
            "get",
            "natural"
          ],
          "tree"
        ]
      ],
      "paint": {
        "circle-radius": [
          "interpolate",
          [
            "exponential",
            2
          ],
          [
            "zoom"
          ],
          16,
          2,
          22,
          128
        ],
        "circle-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          16,
          0.25,
          22,
          0.075
        ],
        "circle-color": "#005908"
      }
    },
    {
      "id": "amenity_pois",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "amenities",
      "metadata": {
        "clickable": true
      },
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "==",
          [
            "get",
            "amenity"
          ],
          "ranger_station"
        ]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          14,
          [
            "get",
            "name"
          ]
        ],
        "text-optional": true,
        "text-size": 11,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "left",
          "right",
          "top",
          "bottom"
        ],
        "text-padding": 5,
        "text-radial-offset": 0.75,
        "text-justify": "auto",
        "icon-image": [
          "image",
          "ranger_station"
        ]
      },
      "paint": {
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.5,
        "icon-halo-blur": 0.4,
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 2,
        "text-halo-blur": 1,
        "icon-color": "#4f2e28"
      }
    },
    {
      "id": "information_pois",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "tourism",
      "metadata": {
        "clickable": true
      },
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "==",
          [
            "get",
            "tourism"
          ],
          "information"
        ],
        [
          "in",
          [
            "get",
            "information"
          ],
          [
            "literal",
            [
              "guidepost",
              "route_marker",
              "board",
              "map"
            ]
          ]
        ]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          15,
          [
            "get",
            "name"
          ]
        ],
        "text-optional": true,
        "text-size": 11,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "left",
          "right",
          "top",
          "bottom"
        ],
        "text-padding": 5,
        "text-radial-offset": 0.75,
        "text-justify": "auto",
        "icon-image": [
          "match",
          [
            "get",
            "information"
          ],
          "board",
          [
            "image",
            "information_board"
          ],
          "guidepost",
          [
            "image",
            "guidepost"
          ],
          "route_marker",
          [
            "image",
            "route_marker"
          ],
          "map",
          [
            "image",
            "information_map"
          ],
          [
            "image",
            "map_pin_with_dot"
          ]
        ],
        "symbol-sort-key": [
          "match",
          [
            "get",
            "information"
          ],
          "guidepost",
          19,
          "route_marker",
          20,
          10
        ]
      },
      "paint": {
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.5,
        "icon-halo-blur": 0.4,
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 2,
        "text-halo-blur": 1,
        "icon-color": "#4f2e28"
      }
    },
    {
      "id": "natural_pois",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "natural",
      "metadata": {
        "clickable": true
      },
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "==",
          [
            "get",
            "natural"
          ],
          "beaver_dam"
        ]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          14,
          [
            "get",
            "name"
          ]
        ],
        "text-optional": true,
        "text-size": 11,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "left",
          "right",
          "top",
          "bottom"
        ],
        "text-padding": 5,
        "text-radial-offset": 0.75,
        "text-justify": "auto",
        "icon-image": [
          "match",
          [
            "get",
            "natural"
          ],
          "beaver_dam",
          [
            "image",
            "beaver_dam"
          ],
          [
            "image",
            "map_pin_with_dot"
          ]
        ]
      },
      "paint": {
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.5,
        "icon-halo-blur": 0.4,
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 2,
        "text-halo-blur": 1,
        "text-color": "#005908",
        "icon-color": "#005908"
      }
    },
    {
      "id": "waterway_pois",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "waterways",
      "metadata": {
        "clickable": true
      },
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "any",
          [
            "in",
            [
              "get",
              "waterway"
            ],
            [
              "literal",
              [
                "dam",
                "weir",
                "waterfall",
                "access_point"
              ]
            ]
          ],
          [
            "==",
            [
              "get",
              "lock"
            ],
            "yes"
          ]
        ]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          14,
          [
            "let",
            "label",
            [
              "case",
              [
                "==",
                [
                  "get",
                  "lock"
                ],
                "yes"
              ],
              [
                "coalesce",
                [
                  "get",
                  "lock_name"
                ],
                [
                  "get",
                  "lock_ref"
                ],
                [
                  "get",
                  "name"
                ],
                ""
              ],
              [
                "coalesce",
                [
                  "get",
                  "name"
                ],
                [
                  "get",
                  "ref"
                ],
                ""
              ]
            ],
            [
              "case",
              [
                "has",
                "height"
              ],
              [
                "format",
                [
                  "var",
                  "label"
                ],
                {},
                [
                  "case",
                  [
                    "!=",
                    [
                      "var",
                      "label"
                    ],
                    ""
                  ],
                  "\n",
                  ""
                ],
                {},
                [
                  "concat",
                  [
                    "round",
                    [
                      "/",
                      [
                        "to-number",
                        [
                          "get",
                          "height"
                        ]
                      ],
                      0.3048
                    ]
                  ],
                  " ft"
                ],
                {
                  "text-font": [
                    "literal",
                    [
                      "Noto Sans Regular"
                    ]
                  ]
                }
              ],
              [
                "var",
                "label"
              ]
            ]
          ]
        ],
        "text-optional": true,
        "text-size": 11,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "left",
          "right",
          "top",
          "bottom"
        ],
        "text-padding": 5,
        "text-radial-offset": 0.75,
        "text-justify": "auto",
        "icon-image": [
          "case",
          [
            "==",
            [
              "get",
              "waterway"
            ],
            "waterfall"
          ],
          [
            "image",
            "waterfall"
          ],
          [
            "in",
            [
              "get",
              "waterway"
            ],
            [
              "literal",
              [
                "dam",
                "weir"
              ]
            ]
          ],
          [
            "image",
            "dam"
          ],
          [
            "==",
            [
              "get",
              "waterway"
            ],
            "access_point"
          ],
          [
            "image",
            "access_point"
          ],
          [
            "==",
            [
              "get",
              "lock"
            ],
            "yes"
          ],
          [
            "image",
            "lock"
          ],
          [
            "image",
            "map_pin_with_dot"
          ]
        ]
      },
      "paint": {
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.5,
        "icon-halo-blur": 0.4,
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 2,
        "text-halo-blur": 1,
        "icon-color": "#003b93",
        "text-color": "#003b93"
      }
    },
    {
      "id": "peak_pois",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "natural",
      "metadata": {
        "clickable": true
      },
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "in",
          [
            "get",
            "natural"
          ],
          [
            "literal",
            [
              "peak",
              "volcano"
            ]
          ]
        ]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.2,
          15,
          0.4
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          13,
          [
            "case",
            [
              "all",
              [
                "has",
                "name"
              ],
              [
                "has",
                "ele"
              ]
            ],
            [
              "format",
              [
                "get",
                "name"
              ],
              {},
              "\n",
              {},
              [
                "concat",
                [
                  "number-format",
                  [
                    "round",
                    [
                      "/",
                      [
                        "get",
                        "ele"
                      ],
                      0.3048
                    ]
                  ],
                  {}
                ],
                " ft"
              ],
              {}
            ],
            [
              "has",
              "name"
            ],
            [
              "coalesce",
              [
                "get",
                "name"
              ],
              ""
            ],
            ""
          ],
          14,
          [
            "case",
            [
              "all",
              [
                "has",
                "name"
              ],
              [
                "has",
                "ele"
              ]
            ],
            [
              "format",
              [
                "get",
                "name"
              ],
              {},
              "\n",
              {},
              [
                "concat",
                [
                  "number-format",
                  [
                    "round",
                    [
                      "/",
                      [
                        "get",
                        "ele"
                      ],
                      0.3048
                    ]
                  ],
                  {}
                ],
                " ft"
              ],
              {}
            ],
            [
              "has",
              "ele"
            ],
            [
              "concat",
              [
                "number-format",
                [
                  "round",
                  [
                    "/",
                    [
                      "get",
                      "ele"
                    ],
                    0.3048
                  ]
                ],
                {}
              ],
              " ft"
            ],
            [
              "coalesce",
              [
                "get",
                "name"
              ],
              ""
            ]
          ]
        ],
        "text-optional": true,
        "text-size": 11,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "left",
          "right",
          "top",
          "bottom"
        ],
        "text-padding": 5,
        "text-radial-offset": 0.75,
        "text-justify": "auto",
        "icon-image": [
          "image",
          "triangle"
        ]
      },
      "paint": {
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": [
          "step",
          [
            "zoom"
          ],
          0.5,
          13,
          1,
          14,
          1.5
        ],
        "icon-halo-blur": 0.4,
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 2,
        "text-halo-blur": 1,
        "text-color": "#005908",
        "icon-color": "#005908"
      }
    },
    {
      "id": "leisure_pois",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "leisure",
      "metadata": {
        "clickable": true
      },
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "==",
          [
            "get",
            "leisure"
          ],
          "slipway"
        ]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          14,
          [
            "coalesce",
            [
              "get",
              "name"
            ],
            [
              "get",
              "ref"
            ]
          ]
        ],
        "text-optional": true,
        "text-size": 11,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "left",
          "right",
          "top",
          "bottom"
        ],
        "text-padding": 5,
        "text-radial-offset": 0.75,
        "text-justify": "auto",
        "icon-image": [
          "case",
          [
            "==",
            [
              "get",
              "trailer"
            ],
            "no"
          ],
          [
            "image",
            "slipway_canoe_rect"
          ],
          [
            "image",
            "slipway_canoe_trailer_rect"
          ]
        ]
      },
      "paint": {
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.5,
        "icon-halo-blur": 0.4,
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 2,
        "text-halo-blur": 1,
        "icon-color": "#003b93"
      }
    },
    {
      "id": "manmade_pois",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "man_made",
      "metadata": {
        "clickable": true
      },
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "in",
          [
            "get",
            "man_made"
          ],
          [
            "literal",
            [
              "cairn",
              "monitoring_station"
            ]
          ]
        ]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          14,
          [
            "get",
            "name"
          ]
        ],
        "text-optional": true,
        "text-size": 11,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "left",
          "right",
          "top",
          "bottom"
        ],
        "text-padding": 5,
        "text-radial-offset": 0.75,
        "text-justify": "auto",
        "icon-image": [
          "match",
          [
            "get",
            "man_made"
          ],
          "cairn",
          [
            "image",
            "cairn"
          ],
          "monitoring_station",
          [
            "image",
            "streamgage"
          ],
          [
            "image",
            "map_pin_with_dot"
          ]
        ],
        "symbol-sort-key": [
          "match",
          [
            "get",
            "man_made"
          ],
          "monitoring_station",
          4,
          "cairn",
          20,
          10
        ]
      },
      "paint": {
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.5,
        "icon-halo-blur": 0.4,
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 2,
        "text-halo-blur": 1,
        "icon-color": "#4f2e28"
      }
    },
    {
      "id": "tourism_pois",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "tourism",
      "metadata": {
        "clickable": true
      },
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "in",
          [
            "get",
            "tourism"
          ],
          [
            "literal",
            [
              "camp_site",
              "caravan_site",
              "camp_pitch",
              "wilderness_hut",
              "viewpoint"
            ]
          ]
        ]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          14,
          [
            "case",
            [
              "==",
              [
                "get",
                "tourism"
              ],
              "camp_pitch"
            ],
            [
              "coalesce",
              [
                "get",
                "name"
              ],
              [
                "get",
                "ref"
              ],
              ""
            ],
            [
              "get",
              "name"
            ]
          ]
        ],
        "text-optional": true,
        "text-size": 11,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "left",
          "right",
          "top",
          "bottom"
        ],
        "text-padding": 5,
        "text-radial-offset": 0.75,
        "text-justify": "auto",
        "icon-image": [
          "match",
          [
            "get",
            "tourism"
          ],
          "camp_site",
          [
            "image",
            "tent_rect"
          ],
          "caravan_site",
          [
            "image",
            "caravan_rect"
          ],
          "camp_pitch",
          [
            "image",
            "tent"
          ],
          "wilderness_hut",
          [
            "image",
            "lean_to"
          ],
          "viewpoint",
          [
            "image",
            "binoculars"
          ],
          [
            "image",
            "map_pin_with_dot"
          ]
        ],
        "symbol-sort-key": [
          "match",
          [
            "get",
            "tourism"
          ],
          "camp_site",
          5,
          "caravan_site",
          5,
          "wilderness_hut",
          8,
          "camp_pitch",
          8,
          "viewpoint",
          18,
          10
        ]
      },
      "paint": {
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.5,
        "icon-halo-blur": 0.4,
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 2,
        "text-halo-blur": 1,
        "icon-color": "#4f2e28",
        "text-color": "#4f2e28"
      }
    },
    {
      "id": "highway_pois",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "highways",
      "metadata": {
        "clickable": true
      },
      "minzoom": 12,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "==",
          [
            "get",
            "highway"
          ],
          "trailhead"
        ]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          14,
          [
            "get",
            "name"
          ]
        ],
        "text-optional": true,
        "text-size": 11,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "left",
          "right",
          "top",
          "bottom"
        ],
        "text-padding": 5,
        "text-radial-offset": 0.75,
        "text-justify": "auto",
        "icon-image": [
          "image",
          "hiker_rect"
        ],
        "symbol-sort-key": 7
      },
      "paint": {
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.5,
        "icon-halo-blur": 0.4,
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 2,
        "text-halo-blur": 1,
        "icon-color": "#4f2e28",
        "text-color": "#4f2e28"
      }
    },
    {
      "id": "parks_labels",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "leisure",
      "metadata": {
        "clickable": true
      },
      "minzoom": 9,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "in",
          [
            "get",
            "leisure"
          ],
          [
            "literal",
            [
              "park",
              "nature_reserve"
            ]
          ]
        ],
        [
          "has",
          "name"
        ],
        [
          ">=",
          [
            "zoom"
          ],
          [
            "+",
            [
              "get",
              "_reczoom"
            ],
            -1
          ]
        ]
      ],
      "layout": {
        "icon-image": [
          "match",
          [
            "get",
            "leisure"
          ],
          "nature_reserve",
          [
            "image",
            "nature_reserve_rect"
          ],
          [
            "image",
            "park_rect"
          ]
        ],
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          8,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "get",
          "name"
        ],
        "text-optional": true,
        "text-size": 11,
        "text-line-height": 1.1,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "top",
          "bottom",
          "left",
          "right"
        ],
        "text-padding": 5,
        "text-offset": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          [
            "literal",
            [
              0.9,
              0.9
            ]
          ],
          22,
          [
            "literal",
            [
              2,
              2
            ]
          ]
        ],
        "text-justify": "auto"
      },
      "paint": {
        "icon-color": "#005908",
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.75,
        "icon-halo-blur": 1,
        "text-color": "#005908",
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 1.5,
        "text-halo-blur": 0.5
      }
    },
    {
      "id": "protected_area_labels",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "boundaries",
      "metadata": {
        "clickable": true
      },
      "minzoom": 6,
      "filter": [
        "all",
        [
          "==",
          [
            "geometry-type"
          ],
          "Point"
        ],
        [
          "in",
          [
            "get",
            "boundary"
          ],
          [
            "literal",
            [
              "national_park",
              "protected_area"
            ]
          ]
        ],
        [
          "has",
          "name"
        ],
        [
          ">=",
          [
            "zoom"
          ],
          [
            "+",
            [
              "get",
              "_reczoom"
            ],
            -1
          ]
        ]
      ],
      "layout": {
        "icon-image": [
          "case",
          [
            "==",
            [
              "get",
              "protected_area"
            ],
            "game_land"
          ],
          [
            "image",
            "game_land_rect"
          ],
          [
            "==",
            [
              "get",
              "protected_area"
            ],
            "forest_reserve"
          ],
          [
            "image",
            "forest_reserve_rect"
          ],
          [
            "==",
            [
              "get",
              "protected_area"
            ],
            "grassland_reserve"
          ],
          [
            "image",
            "grassland_reserve_rect"
          ],
          [
            "==",
            [
              "get",
              "protected_area"
            ],
            "watershed_reserve"
          ],
          [
            "image",
            "watershed_reserve_rect"
          ],
          [
            "==",
            [
              "get",
              "protected_area"
            ],
            "wildlife_refuge"
          ],
          [
            "case",
            [
              "in",
              "bird",
              [
                "split",
                [
                  "coalesce",
                  [
                    "get",
                    "wildlife_refuge:for"
                  ],
                  ""
                ],
                ";"
              ]
            ],
            [
              "image",
              "bird_refuge_rect"
            ],
            [
              "in",
              "bison",
              [
                "split",
                [
                  "coalesce",
                  [
                    "get",
                    "wildlife_refuge:for"
                  ],
                  ""
                ],
                ";"
              ]
            ],
            [
              "image",
              "bison_refuge_rect"
            ],
            [
              "image",
              "wildlife_refuge_rect"
            ]
          ],
          [
            "==",
            [
              "get",
              "protected_area"
            ],
            "wilderness_preserve"
          ],
          [
            "image",
            "wilderness_preserve_rect"
          ],
          [
            "==",
            [
              "get",
              "leisure"
            ],
            "nature_reserve"
          ],
          [
            "image",
            "nature_reserve_rect"
          ],
          [
            "==",
            [
              "get",
              "leisure"
            ],
            "park"
          ],
          [
            "image",
            "park_rect"
          ],
          [
            "image",
            "protected_area_rect"
          ]
        ],
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          8,
          0.3,
          18,
          0.6
        ],
        "text-field": [
          "get",
          "name"
        ],
        "text-optional": true,
        "text-size": 11,
        "text-line-height": 1.1,
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-variable-anchor": [
          "top",
          "bottom",
          "left",
          "right"
        ],
        "text-padding": 5,
        "text-offset": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          [
            "literal",
            [
              0.9,
              0.9
            ]
          ],
          22,
          [
            "literal",
            [
              2,
              2
            ]
          ]
        ],
        "text-justify": "auto"
      },
      "paint": {
        "icon-color": "#005908",
        "icon-halo-color": "hsl(40, 48%, 96%)",
        "icon-halo-width": 1.75,
        "icon-halo-blur": 1,
        "text-color": "#005908",
        "text-halo-color": "hsl(40, 48%, 96%)",
        "text-halo-width": 1.5,
        "text-halo-blur": 0.5
      }
    },
    {
      "id": "places_other",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "places",
      "minzoom": 12,
      "maxzoom": 16,
      "filter": [
        "in",
        [
          "get",
          "place"
        ],
        [
          "literal",
          [
            "hamlet",
            "island",
            "islet",
            "neighbourhood"
          ]
        ]
      ],
      "layout": {
        "text-field": [
          "get",
          "name"
        ],
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-letter-spacing": 0.1,
        "text-max-width": 9,
        "text-size": 10,
        "text-transform": "uppercase"
      },
      "paint": {
        "text-color": "#444",
        "text-halo-color": "rgba(255,255,255,0.8)",
        "text-halo-width": 1.5
      }
    },
    {
      "id": "places_suburbs",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "places",
      "minzoom": 11,
      "filter": [
        "in",
        [
          "get",
          "place"
        ],
        [
          "literal",
          [
            "quarter",
            "suburb"
          ]
        ]
      ],
      "layout": {
        "text-field": [
          "get",
          "name"
        ],
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-letter-spacing": 0.1,
        "text-max-width": 9,
        "text-size": 10,
        "text-transform": "uppercase"
      },
      "paint": {
        "text-color": "#444",
        "text-halo-color": "rgba(255,255,255,0.8)",
        "text-halo-width": 1.5
      }
    },
    {
      "id": "places_villages",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "places",
      "filter": [
        "==",
        [
          "get",
          "place"
        ],
        "village"
      ],
      "layout": {
        "text-field": [
          "get",
          "name"
        ],
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-max-width": 8,
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          10,
          7,
          14,
          15
        ]
      },
      "paint": {
        "text-color": "#333",
        "text-halo-color": "rgba(255,255,255,0.8)",
        "text-halo-width": 1.5
      }
    },
    {
      "id": "places_cities",
      "type": "symbol",
      "source": "sourdough",
      "source-layer": "places",
      "filter": [
        "in",
        [
          "get",
          "place"
        ],
        [
          "literal",
          [
            "city",
            "town"
          ]
        ]
      ],
      "layout": {
        "text-field": [
          "get",
          "name"
        ],
        "text-font": [
          "match",
          [
            "get",
            "place"
          ],
          "city",
          [
            "literal",
            [
              "Noto Sans Bold"
            ]
          ],
          [
            "literal",
            [
              "Noto Sans Regular"
            ]
          ]
        ],
        "text-size": [
          "let",
          "factor",
          [
            "case",
            [
              ">",
              [
                "coalesce",
                [
                  "get",
                  "population"
                ],
                0
              ],
              500000
            ],
            1.6,
            [
              ">",
              [
                "coalesce",
                [
                  "get",
                  "population"
                ],
                0
              ],
              150000
            ],
            1.2,
            1
          ],
          [
            "interpolate",
            [
              "linear"
            ],
            [
              "zoom"
            ],
            2,
            8,
            6,
            [
              "*",
              9,
              [
                "+",
                1,
                [
                  "*",
                  0.5,
                  [
                    "-",
                    [
                      "var",
                      "factor"
                    ],
                    1
                  ]
                ]
              ]
            ],
            14,
            [
              "*",
              16,
              [
                "var",
                "factor"
              ]
            ]
          ]
        ]
      },
      "paint": {
        "text-color": "#333",
        "text-halo-color": "rgba(255,255,255,1.0)",
        "text-halo-width": 1.5,
        "text-halo-blur": 0.5
      }
    }
  ]
}