{
    "version": 8,
    "name": "name",
    "glyphs": "/glyphs/{fontstack}/{range}.pbf",
	"sprite": "/sprites/official/sprite",
    "sources": {
        "vector-source": {
            "type": "vector",
            "tiles": ["https://api.dataforsyningen.dk/rest/skaermkort_vector_tiles/v1.0/EPSG:25832/EPSG:25832:{z}/{y}/{x}?f=application/vnd.mapbox-vector-tile"],
            "maxZoom": 16,
            "minZoom": 0
        }
    },
    "layers": [
        {
            "id": "vand_hav",
            "source-layer": "vand",
            "type": "fill",
            "filter": ["all", ["==", "type", "hav"]],
            "paint": {
                "fill-color": "#D4E6F0"
            },
            "source": "vector-source"
        },
        {
            "id": "linje_færgerute",
            "source-layer": "tekst_linje",
			"minzoom": 1,
            "type": "line",
            "filter": ["all", ["==", "type", "færgerute"]],
            "paint": {
                "line-color": "#808080",
                "line-dasharray": [2, 4]
            },
            "source": "vector-source"
        },
        {
            "id": "natur_udland",
            "source-layer": "natur",
            "type": "fill",
            "filter": ["all", ["==", "type", "udland"]],
            "paint": {
                "fill-color": "#ffffff"
            },
            "source": "vector-source"
        },
        {
            "id": "natur_land",
            "source-layer": "natur",
            "type": "fill",
            "filter": ["all", ["==", "type", "land"]],
            "paint": {
                "fill-color": "#ffffff"
            },
            "source": "vector-source"
        },
        {
            "id": "bebygget_by",
            "source-layer": "bebygget",
            "minzoom": 2,
            "maxzoom": 9,
            "type": "fill",
            "filter": ["all", ["==", "type", "by"]],
            "layout": {"visibility": "visible"},
            "paint": {
                "fill-color": "#EBEDE6"
            },
            "source": "vector-source"
        },
        {
            "id": "bebygget_bykerne",
            "source-layer": "bebygget",
            "minzoom": 9,
            "type": "fill",
            "filter": ["all", ["==", "type", "bykerne"]],
            "paint": {
                "fill-color": "#EBEDE6"
            },
            "source": "vector-source"
        },
        {
            "id": "bebygget_højbebyggelse",
            "source-layer": "bebygget",
            "minzoom": 9,
            "type": "fill",
            "filter": ["all", ["==", "type", "højbebyggelse"]],
            "paint": {
                "fill-color": "#EBEDE6"
            },
            "source": "vector-source"
        },
        {
            "id": "bebygget_lavbebyggelse",
            "source-layer": "bebygget",
            "minzoom": 9,
            "type": "fill",
            "filter": ["all", ["==", "type", "lavbebyggelse"]],
            "paint": {
                "fill-color": "#EBEDE6"
            },
            "source": "vector-source"
        },
        {
            "id": "natur_skov",
            "source-layer": "natur",
			"minzoom": 2,
            "type": "fill",
            "filter": ["all", ["==", "type", "skov"]],
            "paint": {
                 "fill-color": "#EAFAE1"
            },
            "source": "vector-source"
        },
        {
            "id": "infrastruktur_startbane",
            "source-layer": "infrastruktur",
			"minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "lufthavn"]],
            "paint": {
                "line-color": "#dadada",
                "line-width": 1
            },
            "source": "vector-source"
        },
        {
            "id": "graenser_havn",
            "source-layer": "graenser",
            "type": "line",
            "filter": ["all", ["==", "type", "havn"]],
            "paint": {
                "line-blur": 2,
                "line-color": "#D2D2D2"
            },
            "source": "vector-source"
        },
        {
            "id": "graenser_kyst",
            "source-layer": "graenser",
            "type": "line",
            "filter": ["all", ["==", "type", "kyst"]],
            "paint": {
                "line-blur": 2,
                "line-color": "#D2D2D2"
            },
            "source": "vector-source"
        },
        {
            "id": "vandloeb",
            "source-layer": "vandloeb",
			"minzoom": 7,
			"maxzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "subtype", "almindelig"]],
            "paint": {
                "line-color": "#BFE8F0",
                "line-width": 0.8
            },
            "source": "vector-source"
        },
		{
            "id": "vandloeb_f",
            "source-layer": "vandloeb",
			"minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "subtype", "almindelig"]],
            "paint": {
                "line-color": "#BFE8F0",
                "line-width": 1
            },
            "source": "vector-source"
        },
        {
            "id": "vandloeb_o12",
            "source-layer": "vandloeb",
			"minzoom": 4,
            "type": "line",
            "filter": ["all", ["==", "type", "12-"]],
            "paint": {
                "line-color": "#BFE8F0",
                "line-width": 2
            },
            "source": "vector-source"
        },
        {
            "id": "vandloeb_rørlagt",
            "source-layer": "vandloeb",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "subtype", "rørlagt"]],
            "paint": {
                "line-color": "#BFE8F0",
                "line-width": 2,
                "line-dasharray": [4, 4]
            },
            "source": "vector-source"
        },
		{
            "id": "vand_vandløbsflade",
            "source-layer": "vand",
            "minzoom": 9,
            "type": "fill",
            "filter": ["all", ["==", "type", "vandløbsflade"]],
            "paint": {
                "fill-color": "#D4E6F0"
            },
            "source": "vector-source"
        },
        {
            "id": "vand_vandløbsflade_outline",
            "source-layer": "vand",
            "minzoom": 9,
            "type": "line",
             "filter": ["all", ["==", "type", "vandløbsflade"]],
            "paint": {
                "line-color": "#BEE8FF",
                "line-width": 0.8
            },
            "source": "vector-source"
        },
        {
            "id": "vand_sø",
            "source-layer": "vand",
            "minzoom": 9,
            "type": "fill",
             "filter": ["all", ["==", "type", "sø"]],
            "paint": {
                "fill-color": "#D4E6F0"
            },
            "source": "vector-source"
        },
        {
            "id": "vand_sø_outline",
            "source-layer": "vand",
            "minzoom": 9,
            "type": "line",
             "filter": ["all", ["==", "type", "sø"]],
            "paint": {
                "line-color": "#BEE8FF",
                "line-width": 0.8
            },
            "source": "vector-source"
        },
        {
            "id": "vand_sø_>50000",
            "source-layer": "vand",
            "minzoom": 4,
            "maxzoom": 9,
            "type": "fill",
             "filter": ["all", ["==", "type", "sø"]],
            "paint": {
                "fill-color": "#D4E6F0"
            },
            "source": "vector-source"
        },
        {
            "id": "bebygget_bygning",
            "source-layer": "bebygget",
            "minzoom": 11,
            "type": "fill",
            "filter": ["all", ["==", "type", "bygning"]],
            "paint": {
                "fill-color": "#CCCCCC"
            },
            "source": "vector-source"
        },
        {
            "id": "veje_motortrafikvej_outline",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "motortrafikvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#CCCCCC",
                "line-width": {"stops": [[9, 5.5], [10, 5.5], [11, 8.5], [12, 10.5], [13, 12.5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_motorvej_outline",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "motorvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#B2B2B2",
                "line-width": {"stops": [[9, 6], [10, 7.5], [11, 9.5], [12, 11.5], [13, 13.5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_primær_outline",
            "source-layer": "veje",
            "minzoom" : 9,
            "type": "line",
            "filter": ["all", ["==", "type", "primærvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#B2B2B2",
                "line-width": {"stops": [[9, 4.5], [10, 5.5], [11, 7.5], [12, 9.5], [13, 11.5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_sekundær_outline",
            "source-layer": "veje",
            "minzoom" : 9,
            "type": "line",
            "filter": ["all", ["==", "type", "sekundærvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#CCCCCC",
                "line-width": {"stops": [[9, 4], [10, 4.5], [11, 6.5], [12, 8.5], [13, 10.5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_tertiær_outline",
            "source-layer": "veje",
            "minzoom" : 9,
            "type": "line",
            "filter": ["all", ["==", "type", "tertiærvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#CCCCCC",
                "line-width": {"stops": [[9, 2.8], [10, 4], [11, 5], [12, 7.5], [13, 9.5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_anden_outline",
            "source-layer": "veje",
            "minzoom" : 9,
            "type": "line",
            "filter": ["all", ["==", "type", "anden vej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#B2B2B2",
                "line-width": {"stops": [[9, 2.8], [10, 4], [11, 5], [12, 7.5], [13, 9.5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_sti",
            "source-layer": "veje",
            "minzoom" : 11,
            "type": "line",
            "filter": ["all", ["==", "type", "sti"]],
            "paint": {
                "line-color": "#B2B2B2",
                "line-width": 1
            },
            "source": "vector-source"
        },
		{
            "id": "veje_tilfrakørselvej_zoom9",
            "source-layer": "veje",
            "minzoom": 6,
            "type": "line",
            "filter": ["all", ["==", "subtype", "til og frakørsel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#FFFFFF",
                "line-width": 1
            },
            "source": "vector-source"
        },
        {
            "id": "veje_tilfrakørsel_outline",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "subtype", "til og frakørsel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#CCCCCC",
                "line-width": {"stops": [[9, 4.5], [10, 6.5], [11, 7.5], [12, 8.5], [13, 9.5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_tilfrakørselvej",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "subtype", "til og frakørsel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#FFFFFF",
                "line-width": {"stops": [[9, 3], [10, 5], [11, 6], [12, 7], [13, 8]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_anden_vej",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "anden vej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#FFFFFF",
                "line-width": {"stops": [[9, 1.5], [10, 2.5], [11, 3.5], [12, 6], [13, 8]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_tertiær",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "tertiærvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#FFFFFF",
                "line-width": {"stops": [[9, 1.5], [10, 2.5], [11, 3.5], [12, 6], [13, 8]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_tertiær_<zoom9",
            "source-layer": "veje",
            "maxzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "tertiærvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#DCDCDC",
                "line-width": 1
            },
            "source": "vector-source"
        },
        {
            "id": "veje_sekundær",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "sekundærvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#FFFFFF",
                "line-width": {"stops": [[9, 2.5], [10, 3], [11, 5], [12, 7], [18, 9]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_sekundær_<zoom9",
            "source-layer": "veje",
			"minzoom" : 5,
            "maxzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "sekundærvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#DCDCDC",
                "line-width": {"stops": [[6, 1], [8, 2], [9, 3]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_primær",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "primærvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#FFFFFF",
                "line-width": {"stops": [[9, 3], [10, 4], [11, 6], [12, 8], [13, 10]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_primær_<zoom9",
            "source-layer": "veje",
			"minzoom" : 4,
            "maxzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "primærvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#DCDCDC",
                "line-width": {"stops": [[4, 1],[4.5, 1],[6, 1],[8, 2.5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_motortrafikvej",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "motortrafikvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#FFFFFF",
                "line-width": {"stops": [[9, 4], [10, 5], [11, 7], [12, 9], [13, 11]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_motortrafikvej_<zoom9",
            "source-layer": "veje",
			"minzoom" : 4,
            "maxzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "motortrafikvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#DCDCDC",
                "line-width": {"stops": [[2, 2], [6, 2.5], [7, 3], [8, 3.5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_motorvej",
            "source-layer": "veje",
            "minzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "motorvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#FFFFFF",
                "line-width": {"stops": [[9, 4.5], [10, 6], [11, 8], [12, 10], [13, 12]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_motorvej_<zoom9",
            "source-layer": "veje",
			"minzoom" : 2,
            "maxzoom": 9,
            "type": "line",
            "filter": ["all", ["==", "type", "motorvej"],["!=", "subtype", "til og frakørsel"],["!=", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#DADBDC",
                "line-width": {"stops": [[5, 3], [6, 3], [7, 4], [8, 5]]}
            },
            "source": "vector-source"
        },
        {
            "id": "veje_tunnel",
            "source-layer": "veje",
			"minzoom" : 3,
            "type": "line",
            "filter": ["all", ["==", "niveau", "tunnel"]],
            "layout": {"line-cap": "butt", "visibility": "visible"},
            "paint": {
                "line-color": "#828282",
                "line-width": 1,
                "line-dasharray": [4, 4]
            },
            "source": "vector-source"
        },
        {
            "id": "jernbane",
            "source-layer": "jernbane",
            "minzoom": 2,
            "type": "line",
            "filter": [
                "all",
                ["!=", "niveau", "tunnel"],
                ["!=", "subtype", "sidespor"]
            ],
            "paint": {
                "line-color": "#CCCCCC",
                "line-width": {"stops": [[2, 1], [9, 3]]}
            },
            "source": "vector-source"
        },
        {
            "id": "jernbane_inline",
            "source-layer": "jernbane",
            "type": "line",
            "minzoom": 9,
            "filter": [
                "all",
                ["!=", "niveau", "tunnel"],
                ["!=", "subtype", "sidespor"]
            ],
            "paint": {
                "line-color": "#ffffff",
                "line-width": 1.5,
                "line-dasharray": [5, 5]
            },
            "source": "vector-source"
        },
        {
            "id": "jernbane_tunnel",
            "source-layer": "jernbane",
			"minzoom": 4,
            "type": "line",
            "filter": [
                "all",
                ["==", "niveau", "tunnel"],
                ["!=", "subtype", "sidespor"]
            ],
            "paint": {
                "line-color": "#9C9C9C",
                "line-width": 1,
                "line-dasharray": [2, 3]
            },
            "source": "vector-source"
        },
		{
            "id": "punkter_togstation",
            "source-layer": "punkter",
            "minzoom": 11,
            "type": "symbol",
            "filter": ["all", ["==", "type", "togstation"]],
            "layout": {
				"icon-image": "Cirkel_graa",
				"icon-size": 0.3,
                "icon-allow-overlap": true
				},
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_bebyggelse<1000000",
            "source-layer": "tekst_punkt",
            "minzoom": 9,
            "maxzoom": 11,
            "type": "symbol",
            "filter": ["all", ["==", "type", "bebyggelse"], ["!=", "subtype", "by"], ["!=", "subtype", "kolonihave"], ["<=", "subsubtype", 1000000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[9, 12], [10, 13], [11, 14]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 5,
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
             },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_bebyggelse<2500000",
            "source-layer": "tekst_punkt",
            "minzoom": 9,
            "maxzoom": 11,
            "type": "symbol",
            "filter": ["all", ["==", "type", "bebyggelse"], ["!=", "subtype", "by"], ["!=", "subtype", "kolonihave"], [">=", "subsubtype", 1000000], ["<=", "subsubtype", 2500000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[9, 15], [10, 16], [11, 17]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 5,
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
             },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_bebyggelse<5000000",
            "source-layer": "tekst_punkt",
            "minzoom": 7,
            "maxzoom": 11,
            "type": "symbol",
            "filter": ["all", ["==", "type", "bebyggelse"], ["!=", "subtype", "by"], ["!=", "subtype", "kolonihave"], [">=", "subsubtype", 2500000], ["<=", "subsubtype", 5000000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                 "text-size": {"stops": [[7, 13], [8, 15], [9, 17], [10, 18]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 5,
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_bebyggelse>5000000",
            "source-layer": "tekst_punkt",
            "minzoom": 7,
            "maxzoom": 11,
            "type": "symbol",
            "filter": ["all", ["==", "type", "bebyggelse"], ["!=", "subtype", "by"], ["!=", "subtype", "kolonihave"], [">=", "subsubtype", 5000000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[7, 15], [8, 17], [9, 19], [10, 21]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 5,
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "vejnavne",
            "source-layer": "veje",
            "minzoom": 10,
            "type": "symbol",
            "filter": ["all", ["!=", "type", "sti"], ["!=", "subtype", "til og frakørsel"], ["!=", "subtype", "rundkørsel"]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": 13,
				"text-font": ["Open Sans Regular"],
                "text-padding": 10,
                "text-allow-overlap": false,
                "text-ignore-placement": false,
                "symbol-placement": "line",
                "symbol-spacing": 5000,
                "symbol-avoid-edges": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_by<100",
            "source-layer": "tekst_punkt",
            "minzoom": 6,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], ["<=", "subsubtype", 100]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[7, 11], [8, 12], [9, 13], [10, 14]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 5,
				"text-offset": [2, -1],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_by<500",
            "source-layer": "tekst_punkt",
            "minzoom": 6,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 100], ["<=", "subsubtype", 500]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[6, 11], [7, 12], [8, 13], [9, 14], [10, 15]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 5,
				"text-offset": [2, -1],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_by<1000",
            "source-layer": "tekst_punkt",
            "minzoom": 5,
            "maxzoom": 10,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 500], ["<=", "subsubtype", 1000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[5, 11], [6, 12], [7, 13], [8, 14], [9, 15], [10, 16]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 5,
				"text-offset": [2, -1],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_by<5000",
            "source-layer": "tekst_punkt",
            "minzoom": 2,
            "maxzoom": 10,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 1000], ["<=", "subsubtype", 5000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[3, 11], [5, 11], [6, 11], [7, 12], [8, 13], [9, 14], [10, 15], [11, 16], [12, 17]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 1,
				"text-offset": [2, -1],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_by<10000",
            "source-layer": "tekst_punkt",
            "minzoom": 2,
            "maxzoom": 10,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 5000], ["<=", "subsubtype", 10000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[3, 11], [4, 12], [5, 12], [6, 14], [7, 14], [8, 15], [9, 16], [10, 17]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 5,
				"text-offset": [1, 1],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
		{
            "id": "tekst_punkt_by<25000_B",
            "source-layer": "tekst_punkt",
            "minzoom": 4,
			"maxzoom": 10,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 10000], ["<=", "subsubtype", 25000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "bottom",
                "text-size": {"stops": [[5, 12], [6, 14], [7, 15], [8, 16], [9, 17], [10, 18]]},
                "text-font": ["Open Sans Bold"],
                "text-padding": 5,
				"text-offset": [1, 1],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
			},
			"source": "vector-source"
		},
        {
            "id": "tekst_punkt_by<25000",
            "source-layer": "tekst_punkt",
       		"minzoom": 2,
            "maxzoom": 4,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 10000], ["<=", "subsubtype", 25000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "bottom",
                "text-size": {"stops": [[3, 12], [4, 13], [5, 13]]},
                "text-font": ["Open Sans Regular"],
                "text-padding": 5,
				"text-offset": [1.5, 1.5],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_by<50000",
            "source-layer": "tekst_punkt",
            "minzoom": 2,
            "maxzoom": 10,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 25000], ["<=", "subsubtype", 50000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "top",
                "text-size": {"stops": [[3, 11], [4, 13], [5, 15], [6, 15], [7, 16], [8, 17], [9, 18], [10, 19]]},
                "text-font": ["Open Sans Bold"],
                "text-padding": 5,
				"text-offset": [2, 0],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_by<100000",
            "source-layer": "tekst_punkt",
            "minzoom": 2,
            "maxzoom": 10,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 50000], ["<=", "subsubtype", 100000]],
            "layout": {
                "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[3, 12], [4, 15], [5, 16], [6, 16], [7, 18], [8, 19], [9, 20], [10, 21]]},
                "text-font": ["Open Sans Bold"],
                "text-padding": 1,
				"text-offset": [2, 0],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
             },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_by<300000",
            "source-layer": "tekst_punkt",
            "minzoom": 2,
            "maxzoom": 9,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 105000], ["<=", "subsubtype", 300000]],
            "layout": {
                 "text-field": "{navn}",
                "text-anchor": "center",
                "text-size": {"stops": [[3, 15], [4, 18], [5, 22], [6, 26], [7, 30], [8, 32], [9, 34]]},
                "text-font": ["Open Sans Bold"],
                "text-padding": 1,
				"text-offset": [3, 0],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_by>300000",
            "source-layer": "tekst_punkt",
            "minzoom": 2,
            "maxzoom": 9,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "by"], [">=", "subsubtype", 300000]],
            "layout": {
                 "text-field": "{navn}",
                "text-anchor": "left",
                "text-size": {"stops": [[3, 20], [4, 24], [5, 30], [6, 34], [7, 40], [8, 44]]},
                "text-font": ["Open Sans Bold"],
                "text-padding": 1,
				"text-offset": [1, 1],
                "text-allow-overlap": false,
                "text-ignore-placement": false
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        },
        {
            "id": "tekst_punkt_stationsnavn",
            "source-layer": "tekst_punkt",
            "minzoom": 11,
            "type": "symbol",
            "filter": ["all", ["==", "subtype", "tog"]],
            "layout": {
                "text-field": "{navn}",
                "text-offset": [1.5, 3],
                "text-transform": "uppercase",
                "text-size": 11,
                "text-font": ["Open Sans Regular"],
                "text-padding": 5
            },
            "paint": {
                "text-color": "#828282"
            },
            "source": "vector-source"
        }
    ],
    "metadata": {
        "maputnik:renderer": "ol"
    }
}
