{
  "version": 8,
  "name": "FMI NLS etela/base",
  "id": "fmi-nls-etela-base",
  "center": [
    25.4,
    65.3
  ],
  "zoom": 4.3,
  "metadata": {
    "description": "Water-coloured background (the sea), land from the Protomaps base map of the www.fmi.fi styles, lakes and rivers from NLS Maastokartta (vektori). After the www.fmi.fi base style.",
    "fmi-nls-tiles": "styles-src/nls/, generated by scripts/build-styles.mjs. Edit the sources, not this."
  },
  "sources": {
    "nls": {
      "type": "vector",
      "url": "https://dzr34plfemya.cloudfront.net/nls-20261106.json",
      "attribution": "© <a href=\"https://www.maanmittauslaitos.fi/avoindata-lisenssi-cc40\">Maanmittauslaitos</a>",
      "maxzoom": 5
    },
    "protomaps": {
      "type": "vector",
      "url": "https://dzr34plfemya.cloudfront.net/20260923-earth-z9.json",
      "attribution": "<a href=\"https://github.com/protomaps/basemaps\">Protomaps</a> © <a href=\"https://osm.org/copyright\">OpenStreetMap</a>",
      "maxzoom": 5
    }
  },
  "glyphs": "https://dzr34plfemya.cloudfront.net/assets/fonts/{fontstack}/{range}.pbf",
  "layers": [
    {
      "id": "tausta",
      "type": "background",
      "paint": {
        "background-color": "#a3a3a3"
      }
    },
    {
      "id": "maailma-maa",
      "type": "fill",
      "source": "protomaps",
      "source-layer": "earth",
      "filter": [
        "==",
        "$type",
        "Polygon"
      ],
      "paint": {
        "fill-color": "#cccccc"
      }
    },
    {
      "id": "vesi",
      "type": "fill",
      "source": "nls",
      "source-layer": "vesi",
      "filter": [
        "!=",
        [
          "get",
          "Kohdeluokk"
        ],
        36211
      ],
      "paint": {
        "fill-color": "#a3a3a3",
        "fill-antialias": true
      }
    },
    {
      "id": "virtavesi",
      "type": "line",
      "source": "nls",
      "source-layer": "virtavesi",
      "layout": {
        "line-join": "round",
        "line-cap": "round"
      },
      "paint": {
        "line-color": "#a3a3a3",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          3,
          [
            "match",
            [
              "get",
              "Kohdeluokk"
            ],
            [
              36324,
              36325
            ],
            0.7,
            36322,
            0.5,
            0.4
          ],
          10,
          [
            "match",
            [
              "get",
              "Kohdeluokk"
            ],
            [
              36324,
              36325
            ],
            2.6,
            36322,
            1.8,
            36321,
            1.3,
            36314,
            0.9,
            0.6
          ]
        ]
      }
    }
  ]
}
