diff --git a/public/mml-basemap.json b/public/mml-basemap.json index afae6b64c1115f1aad2a69858e57c6d133027748..5e77d88f4c693582659e1af23fa906c12bf58883 100644 --- a/public/mml-basemap.json +++ b/public/mml-basemap.json @@ -1,2424 +1,1316 @@ { - "version": 8, - "name": "NLS basemap", - "metadata": {}, - "center": [ - 24.98219, - 60.186086 - ], - "zoom": 16, - "sources": { - "buildings": { - "type": "vector", - "tiles": [ - "https://beta-karttakuva.maanmittauslaitos.fi/vectortiles/wmts/1.0.0/buildings/default/WGS84_Pseudo-Mercator/{z}/{y}/{x}.pbf" - ] - }, - "roads": { - "type": "vector", - "tiles": [ - "https://beta-karttakuva.maanmittauslaitos.fi/vectortiles/wmts/1.0.0/roads/default/WGS84_Pseudo-Mercator/{z}/{y}/{x}.pbf" - ] - }, - "railroads": { - "type": "vector", - "tiles": [ - "https://beta-karttakuva.maanmittauslaitos.fi/vectortiles/wmts/1.0.0/railroads/default/WGS84_Pseudo-Mercator/{z}/{y}/{x}.pbf" - ] - }, - "water": { - "type": "vector", - "tiles": [ - "https://beta-karttakuva.maanmittauslaitos.fi/vectortiles/wmts/1.0.0/water/default/WGS84_Pseudo-Mercator/{z}/{y}/{x}.pbf" - ] - }, - "landuse": { - "type": "vector", - "tiles": [ - "https://beta-karttakuva.maanmittauslaitos.fi/vectortiles/wmts/1.0.0/landuseRecreation/default/WGS84_Pseudo-Mercator/{z}/{y}/{x}.pbf" - ] - }, - "transportation": { - "type": "vector", - "tiles": [ - "https://beta-karttakuva.maanmittauslaitos.fi/vectortiles/wmts/1.0.0/transportation/default/WGS84_Pseudo-Mercator/{z}/{y}/{x}.pbf" - ] - }, - "place": { - "type": "vector", - "tiles": [ - "https://beta-karttakuva.maanmittauslaitos.fi/vectortiles/wmts/1.0.0/placenames/default/WGS84_Pseudo-Mercator/{z}/{y}/{x}.pbf" - ] - }, - "taustakartta": { - "type": "raster", - "tiles": [ - " https://avoin-karttakuva.maanmittauslaitos.fi/avoin/wmts?layer=taustakartta&style=default&tilematrixset=WGS84_Pseudo-Mercator&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fpng&TileMatrix={z}&TileCol={x}&TileRow={y}" - ], - "tileSize": 256 + "version" : 8, + "name" : "NLS Basemap", + "center" : [ 21.645, 63.101 ], + "zoom" : 11.35, + "sources" : { + "taustakartta" : { + "type" : "vector", + "url" : "https://avoin-karttakuva.maanmittauslaitos.fi/vectortiles/tilejson/taustakartta/1.0.0/taustakartta/default/v20/WGS84_Pseudo-Mercator/tilejson.json?api-key=12487138-d251-4f83-ae22-ecb279d02ff9" } }, - "sprite": "https://beta-karttakuva.maanmittauslaitos.fi/vtbasemaps/data/nlsSprite/sprite", - "glyphs": "https://maps.tilehosting.com/fonts/{fontstack}/{range}.pbf?key=lirfd6Fegsjkvs0lshxe", - "light": { - "anchor": "viewport", - "color": "white", - "intensity": 0.4 - }, - "layers": [ - { - "id": "background", - "type": "background", - "minzoom": 10, - "maxzoom": 22, - "paint": { - "background-color": "#ffffff" - } - }, - { - "id": "taustakartta", - "type": "raster", - "minzoom": 1, - "maxzoom": 10, - "source": "taustakartta", - "paint": {} - }, - { - "id": "sea", - "type": "fill", - "minzoom": 10, - "maxzoom": 19, - "source": "water", - "source-layer": "water", - "filter": [ - "==", - "kind", - "sea" - ], - "paint": { - "fill-color": "rgba(202,237,251,1)" - } - }, - { - "id": "swamps", - "type": "fill", - "minzoom": 10, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "==", - "kind", - "swamp" - ], - "paint": { - "fill-pattern": "suo" - } - }, - { - "id": "lake", - "type": "fill", - "minzoom": 10, - "maxzoom": 19, - "source": "water", - "source-layer": "water", - "filter": [ - "==", - "kind", - "lake" - ], - "paint": { - "fill-color": "rgba(202,237,251,1)" - } - }, - { - "id": "ferry", - "type": "line", - "minzoom": 12, - "maxzoom": 19, - "source": "transportation", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "ferry" - ] - ], - "paint": { - "line-width": 2, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 2, - 2 - ] - } - }, - { - "id": "railroads_z11", - "type": "line", - "minzoom": 10, - "maxzoom": 11, - "source": "railroads", - "source-layer": "railroads", - "paint": { - "line-width": 1.5, - "line-color": "rgba(180,180,184,1)" - } - }, - { - "id": "railroads_fill_z11", - "type": "line", - "minzoom": 10, - "maxzoom": 11, - "source": "railroads", - "source-layer": "railroads", - "paint": { - "line-width": 1, - "line-color": "rgba(180,180,184,1)" - } - }, - { - "id": "railroads_dash_z11", - "type": "line", - "minzoom": 10, - "maxzoom": 11, - "source": "railroads", - "source-layer": "railroads", - "paint": { - "line-width": 1.6, - "line-color": "rgba(255,255,255,1)", - "line-dasharray": [ - 4, - 4 - ] - } - }, - { - "id": "railroads_underground", - "type": "line", - "minzoom": 11, - "maxzoom": 19, - "source": "railroads", - "source-layer": "railroads", - "filter": [ - "==", - "elevation", - -11 - ], - "paint": { - "line-width": 3.3, - "line-color": "rgba(180,180,184,1)", - "line-dasharray": [ - 32, - 16 - ] - } - }, - { - "id": "railroads_fill_underground", - "type": "line", - "minzoom": 11, - "maxzoom": 19, - "source": "railroads", - "source-layer": "railroads", - "filter": [ - "==", - "elevation", - -11 - ], - "paint": { - "line-width": 2, - "line-color": "rgba(255, 255, 255, 1)" - } - }, - { - "id": "railroads_dash_underground", - "type": "line", - "minzoom": 11, - "maxzoom": 19, - "source": "railroads", - "source-layer": "railroads", - "filter": [ - "==", - "elevation", - -11 - ], - "paint": { - "line-width": 0.5, - "line-color": "rgba(255, 255, 255, 1)" - } - }, - { - "id": "roads_underground", - "type": "line", - "minzoom": 12, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "!=", - "kind", - "street" - ], - [ - "!=", - "kind", - "path" - ], - [ - "==", - "tasosijainti", - -11 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 3, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 32, - 16 - ] - } - }, - { - "id": "street_underground", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "street" - ], - [ - "==", - "tasosijainti", - -11 - ] - ], - "paint": { - "line-width": 0.75, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 32, - 16 - ] - } - }, - { - "id": "path_underground", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "path" - ], - [ - "==", - "tasosijainti", - -11 - ] - ], - "paint": { - "line-width": 0.5, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "runway_outline", - "type": "fill", - "minzoom": 12, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "runway" - ] - ], - "paint": { - "fill-color": "rgba(180,180,184, 1)" - } - }, - { - "id": "airport_runway", - "type": "fill", - "minzoom": 10, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "runway" - ] - ], - "paint": { - "fill-color": "rgba(253,233,219, 1)" - } - }, - { - "id": "airfield_other_outline", - "type": "fill", - "minzoom": 12, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "airfield_other" - ] - ], - "paint": { - "fill-color": "rgba(180,180,184, 1)" - } - }, - { - "id": "airfield_other", - "type": "fill", - "minzoom": 10, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "airfield_other" - ] - ], - "paint": { - "fill-color": "rgba(255,252,244, 1)" - } - }, - { - "id": "airfield_outline", - "type": "fill", - "minzoom": 12, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "airfield" - ] - ], - "paint": { - "fill-color": "rgba(180,180,184, 1)" - } - }, - { - "id": "airfield", - "type": "fill", - "minzoom": 10, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "airfield" - ] - ], - "paint": { - "fill-color": "rgba(247,247,243, 1)" - } - }, - { - "id": "farmland", - "type": "fill", - "minzoom": 10, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "==", - "kind", - "farmland" - ], - "paint": { - "fill-color": "rgba(255, 252, 214, 1)" - } - }, - { - "id": "garden", - "type": "fill", - "minzoom": 10, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "garden" - ] - ], - "paint": { - "fill-color": "rgba(238,246,224, 1)" - } - }, - { - "id": "park", - "type": "fill", - "minzoom": 15, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "park" - ] - ], - "paint": { - "fill-color": "rgba(238,246,224, 1)" - } - }, - { - "id": "sand", - "type": "fill", - "minzoom": 15, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "sand" - ] - ], - "paint": { - "fill-color": "rgba(255,252,240, 1)" - } - }, - { - "id": "recreational_area", - "type": "fill", - "minzoom": 15, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "recreational_area" - ] - ], - "paint": { - "fill-color": "rgba(238,246,224, 1)" - } - }, - { - "id": "grave_yard", - "type": "fill", - "minzoom": 15, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "==", - "kind", - "grave_yard" - ], - "paint": { - "fill-color": "rgba(238,246,224, 1)" - } - }, - { - "id": "grave_yard_pattern", - "type": "fill", - "minzoom": 15, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "==", - "kind", - "grave_yard" - ], - "paint": { - "fill-pattern": "risti" - } - }, - { - "id": "landfill", - "type": "fill", - "minzoom": 15, - "maxzoom": 19, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "kind", - "landfill" - ] - ], - "paint": { - "fill-color": "rgba(255,252,240, 1)" - } - }, - { - "id": "river", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "water", - "source-layer": "water", - "filter": [ - "==", - "kind", - "river" - ], - "paint": { - "line-width": 1, - "line-color": "rgba(163, 204, 255, 1)" - } - }, - { - "id": "stream", - "type": "fill", - "minzoom": 11, - "maxzoom": 19, - "source": "water", - "source-layer": "water", - "filter": [ - "==", - "kind", - "stream" - ], - "paint": { - "fill-color": "rgba(202,237,251,1)" - } - }, - { - "id": "municipalities", - "type": "fill", - "minzoom": 10, - "maxzoom": 15, - "source": "landuse", - "source-layer": "landuse", - "filter": [ - "==", - "kind", - "municipality_area" - ], - "paint": { - "fill-color": "rgba(236,227,231,1)" - } - }, - { - "id": "street_underpass", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "street" - ], - [ - "==", - "tasosijainti", - -1 - ] - ], - "paint": { - "line-width": 0.75, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 32, - 16 - ] - } - }, - { - "id": "path_underpass", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "path" - ], - [ - "==", - "tasosijainti", - -1 - ] - ], - "paint": { - "line-width": 1, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "railroads", - "type": "line", - "minzoom": 11, - "maxzoom": 19, - "source": "railroads", - "source-layer": "railroads", - "filter": [ - "all", - [ - ">=", - "elevation", - -1 - ], - [ - "<", - "elevation", - 1 - ] - ], - "paint": { - "line-width": 2, - "line-color": "rgba(180,180,184,1)" - } - }, - { - "id": "railroads_dash", - "type": "line", - "minzoom": 11, - "maxzoom": 19, - "source": "railroads", - "source-layer": "railroads", - "filter": [ - "all", - [ - ">=", - "elevation", - -1 - ], - [ - "<", - "elevation", - 1 - ] - ], - "paint": { - "line-width": 1, - "line-color": "rgba(255,255,255,1)", - "line-dasharray": [ - 12, - 12 - ] - } - }, - { - "id": "path", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "path" - ], - [ - "==", - "tasosijainti", - 0 - ] - ], - "paint": { - "line-width": 1, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "street", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "street" - ], - [ - "==", - "tasosijainti", - 0 - ] - ], - "paint": { - "line-width": 1.5, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "highway_border", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ], - [ - ">=", - "tasosijainti", - -1 - ], - [ - "<", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round", - "line-cap": "round" - }, - "paint": { - "line-width": 16, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "major_road_border", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "major_road" - ], - [ - ">=", - "tasosijainti", - -1 - ], - [ - "<", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round", - "line-cap": "round" - }, - "paint": { - "line-width": 12, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "minor_road_border", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "minor_road" - ], - [ - ">=", - "tasosijainti", - -1 - ], - [ - "<", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round", - "line-cap": "round" - }, - "paint": { - "line-width": 10, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "highway_fill", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ], - [ - ">=", - "tasosijainti", - -1 - ], - [ - "<", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round", - "line-cap": "round" - }, - "paint": { - "line-width": 14, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "major_road_fill", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "major_road" - ], - [ - ">=", - "tasosijainti", - -1 - ], - [ - "<", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round", - "line-cap": "round" - }, - "paint": { - "line-width": 10, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "minor_road_fill", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "minor_road" - ], - [ - ">=", - "tasosijainti", - -1 - ], - [ - "<", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round", - "line-cap": "round" - }, - "paint": { - "line-width": 8, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "road_labels", - "type": "symbol", - "source": "roads", - "source-layer": "roads", - "minzoom": 15, - "maxzoom": 19, - "filter": [ - "all", - [ - "<", - "tasosijainti", - 1 - ] - ], - "layout": { - "text-field": "{name_fin} {name_swe}", - "text-font": [ - "Roboto" - ], - "symbol-placement": "line", - "text-size": 9 - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "#fff", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "buildings", - "type": "fill", - "minzoom": 15, - "maxzoom": 19, - "source": "buildings", - "source-layer": "buildings", - "paint": { - "fill-outline-color": "rgba(180, 180, 184, 1)", - "fill-color": "rgba(230,230,230,1)" - } - }, - { - "id": "railroads_overpass", - "type": "line", - "minzoom": 11, - "maxzoom": 19, - "source": "railroads", - "source-layer": "railroads", - "filter": [ - "==", - "elevation", - 1 - ], - "paint": { - "line-width": 2, - "line-color": "rgba(180,180,184,1)" - } - }, - { - "id": "railroads_dash_overpass", - "type": "line", - "minzoom": 11, - "maxzoom": 19, - "source": "railroads", - "source-layer": "railroads", - "filter": [ - "==", - "elevation", - 1 - ], - "paint": { - "line-width": 1, - "line-color": "rgba(255,255,255,1)", - "line-dasharray": [ - 12, - 12 - ] - } - }, - { - "id": "street_overpass", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "street" - ], - [ - "==", - "tasosijainti", - 1 - ] - ], - "paint": { - "line-width": 0.75, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 32, - 16 - ] - } - }, - { - "id": "highway_border_overpass", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ], - [ - "==", - "tasosijainti", - 1 - ] - ], - "paint": { - "line-width": 16, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "major_road_border_overpass", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "major_road" - ], - [ - "==", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 12, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "minor_road_border_overpass1", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "minor_road" - ], - [ - "==", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 10, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "highway_fill_overpass", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ], - [ - "==", - "tasosijainti", - 1 - ] - ], - "paint": { - "line-width": 14, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "major_road_fill_overpass", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "major_road" - ], - [ - "==", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 10, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "minor_road_overpass_fill", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "minor_road" - ], - [ - "==", - "tasosijainti", - 1 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 8, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "path_overpass", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "path" - ], - [ - "==", - "tasosijainti", - 1 - ] - ], - "paint": { - "line-width": 1, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "street_overpass2", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "street" - ], - [ - "==", - "tasosijainti", - 2 - ] - ], - "paint": { - "line-width": 0.75, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 32, - 16 - ] - } - }, - { - "id": "highway_border_overpass2", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ], - [ - "==", - "tasosijainti", - 2 - ] - ], - "paint": { - "line-width": 16, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "major_road_border_overpass2", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "major_road" - ], - [ - "==", - "tasosijainti", - 2 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 12, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "minor_road_border_overpass2", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "minor_road" - ], - [ - "==", - "tasosijainti", - 2 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 10, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "highway_fill_overpass2", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ], - [ - "==", - "tasosijainti", - 2 - ] - ], - "paint": { - "line-width": 14, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "major_road_fill_overpass2", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "major_road" - ], - [ - "==", - "tasosijainti", - 2 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 10, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "minor_road_overpass_fill2", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "minor_road" - ], - [ - "==", - "tasosijainti", - 2 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 8, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "path_overpass2", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "path" - ], - [ - "==", - "tasosijainti", - 2 - ] - ], - "paint": { - "line-width": 1, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "street_overpass3", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "street" - ], - [ - "==", - "tasosijainti", - 3 - ] - ], - "paint": { - "line-width": 0.75, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 32, - 16 - ] - } - }, - { - "id": "highway_border_overpass3", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ], - [ - "==", - "tasosijainti", - 3 - ] - ], - "paint": { - "line-width": 16, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "major_road_border_overpass3", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "major_road" - ], - [ - "==", - "tasosijainti", - 3 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 12, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "minor_road_border_overpass3", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "minor_road" - ], - [ - "==", - "tasosijainti", - 3 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 10, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "highway_fill_overpass3", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ], - [ - "==", - "tasosijainti", - 3 - ] - ], - "paint": { - "line-width": 14, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "major_road_fill_overpass3", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "major_road" - ], - [ - "==", - "tasosijainti", - 3 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 10, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "minor_road_overpass_fill3", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "minor_road" - ], - [ - "==", - "tasosijainti", - 3 - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 8, - "line-color": "rgba(252,252,252,1)" - } - }, - { - "id": "path_overpass3", - "type": "line", - "minzoom": 15, - "maxzoom": 19, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "path" - ], - [ - "==", - "tasosijainti", - 3 - ] - ], - "paint": { - "line-width": 1, - "line-color": "rgba(180, 180, 184, 1)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "minor_road_<15-10", - "type": "line", - "minzoom": 10, - "maxzoom": 15, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "minor_road" - ] - ], - "paint": { - "line-width": 0.5, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "major_road_z15_z10", - "type": "line", - "minzoom": 10, - "maxzoom": 15, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "major_road" - ] - ], - "layout": { - "line-join": "round" - }, - "paint": { - "line-width": 1, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "highway_other_z15_z9", - "type": "line", - "minzoom": 10, - "maxzoom": 15, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ] - ], - "paint": { - "line-width": 2.5, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "highway_z15_z7", - "type": "line", - "minzoom": 10, - "maxzoom": 15, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ], - [ - "==", - "kind_num", - 12111 - ] - ], - "paint": { - "line-width": 2.5, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "highway_z8_z5", - "type": "line", - "minzoom": 10, - "maxzoom": 9, - "source": "roads", - "source-layer": "roads", - "filter": [ - "all", - [ - "==", - "kind", - "highway" - ] - ], - "paint": { - "line-width": 1, - "line-color": "rgba(180, 180, 184, 1)" - } - }, - { - "id": "road_labels_overpass", - "type": "symbol", - "source": "roads", - "source-layer": "roads", - "minzoom": 13, - "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "tasosijainti", - 1 - ] - ], - "layout": { - "text-field": "{name_fin} {name_swe}", - "text-font": [ - "Roboto" - ], - "symbol-placement": "line", - "text-size": 9 - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "#fff", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "place_names_marine_medium", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 14, - "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "textcolor", - 20 - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto Italic" - ], - "text-size": 30 - }, - "paint": { - "text-color": "#6b9bd1", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_land_medium", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 13, - "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48120 - ], - [ - "==", - "language", - "swe" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 20 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_marine_large", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 13, - "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "textcolor", - 20 - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto Italic" - ], - "text-size": 35 - }, - "paint": { - "text-color": "#6b9bd1", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_land_large_swe", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 10, - "maxzoom": 13, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48120 - ], - [ - "==", - "language", - "swe" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 10 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_marine_xlarge", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 12, - "maxzoom": 14, - "filter": [ - "all", - [ - "==", - "textcolor", - 20 - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto Italic" - ], - "text-size": 30 - }, - "paint": { - "text-color": "#6b9bd1", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_small_city_swe", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 10, - "maxzoom": 14, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48112 - ], - [ - "==", - "language", - "swe" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 20 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_city_xlarge_swe", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 10, - "maxzoom": 14, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48111 - ], - [ - "==", - "language", - "swe" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 20 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_land_small_fin", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 16, - "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48120 - ], - [ - "==", - "language", - "fin" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 15 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_land_medium_fin", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 13, - "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48120 - ], - [ - "==", - "language", - "fin" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 20 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_marine_large_fin", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 13, - "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "textcolor", - 20 - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto Italic" - ], - "text-size": 20 - }, - "paint": { - "text-color": "#6b9bd1", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_land_large_fin", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 10, - "maxzoom": 13, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48120 - ], - [ - "==", - "language", - "fin" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 10 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_marine_xlarge_fin", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 12, - "maxzoom": 14, - "filter": [ - "all", - [ - "==", - "textcolor", - 20 - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto Italic" - ], - "text-size": 15 - }, - "paint": { - "text-color": "#6b9bd1", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_small_city_fin", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 10, - "maxzoom": 14, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48112 - ], - [ - "==", - "language", - "fin" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 20 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_city_xlarge_fin", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 10, - "maxzoom": 14, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48111 - ], - [ - "==", - "language", - "fin" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 20 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - }, - { - "id": "place_names_land_small", - "type": "symbol", - "source": "place", - "source-layer": "place", - "minzoom": 16, - "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "textcolor", - 10 - ], - [ - "==", - "kind_num", - 48120 - ], - [ - "==", - "language", - "swe" - ] - ], - "layout": { - "text-field": "{text}", - "text-font": [ - "Roboto" - ], - "text-size": 15 - }, - "paint": { - "text-color": "#707070", - "text-halo-color": "#fff", - "text-halo-width": 1 - } - } - ], - "id": "" + "glyphs" : "https://avoin-karttakuva.maanmittauslaitos.fi/vectortiles/glyphs/{fontstack}/{range}.pbf?api-key=12487138-d251-4f83-ae22-ecb279d02ff9", + "layers" : [ { + "id" : "background", + "type" : "background", + "paint" : { + "background-color" : "#ffffff" + } + }, { + "id" : "maasto_alue", + "type" : "fill", + "source" : "taustakartta", + "source-layer" : "maasto_alue", + "filter" : [ "match", [ "get", "kohdeluokka" ], [ 35411, 35412, 35421, 35422, 34300, 34100, 34700, 38300, 38700, 39110, 39120, 39130, 33000, 38400, 35401, 35402 ], true, false ], + "paint" : { + "fill-color" : [ "match", [ "get", "kohdeluokka" ], [ 35421, 35422, 35401 ], "hsla(200, 80%, 90%, 0.7)", [ 34700, 38600 ], "hsla(208, 11%, 75%, 0.76)", [ 38300, 38700 ], "hsl(207, 100%, 94%)", [ 39120 ], "hsla(44, 100%, 83%, 0.84)", "hsla(360, 100%, 100%, 0)" ] + } + }, { + "id" : "taajamaalue", + "type" : "fill", + "source" : "taustakartta", + "source-layer" : "maankaytto", + "minzoom" : 6, + "maxzoom" : 14, + "filter" : [ "==", "kohdeluokka", 40200 ], + "paint" : { + "fill-color" : "rgba(220,199,199,0.4)" + } + }, { + "id" : "maankaytto", + "type" : "fill", + "source" : "taustakartta", + "source-layer" : "maankaytto", + "filter" : [ "match", [ "get", "kohdeluokka" ], [ 32611, 32200, 32612, 32800, 32900, 33100, 34300 ], true, false ], + "paint" : { + "fill-color" : [ "match", [ "get", "kohdeluokka" ], 32611, "#fffcd6", 32200, "#eef6e0", 32612, "#eef6e0", 32900, "#eef6e0", 33100, "#EEF6E0", 34300, "#fffcf0", 32800, "#fffceb", "hsla(360, 100%, 100%, 0)" ] + } + }, { + "id" : "lentokentta_alue", + "type" : "fill", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "Polygon" ], [ "match", [ "get", "kohdeluokka" ], [ 32411, 32412, 32413, 32414, 32415, 32416, 32417, 32418, 32441, 32442 ], true, false ] ], + "layout" : { }, + "paint" : { + "fill-color" : [ "match", [ "get", "kohdeluokka" ], [ 32411, 23412 ], "#fde9db", [ 32413, 32415, 32416, 32441, 32442 ], "#f7f7f3", [ 32414, 32417, 32418 ], "#fffcf4", "hsl(0,0%,80%)" ], + "fill-outline-color" : [ "match", [ "get", "kohdeluokka" ], [ 32441, 32442 ], "#c8c4c5", "hsla(360, 100%, 100%, 0)" ] + } + }, { + "id" : "lentokentta_viiva", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "any", [ "==", "kohdeluokka", 32431 ], [ "==", "kohdeluokka", 32432 ] ], + "paint" : { + "line-width" : 7, + "line-color" : "#c8c4c5" + } + }, { + "id" : "lentokentta_viiva2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "any", [ "==", "kohdeluokka", 32431 ], [ "==", "kohdeluokka", 32432 ] ], + "paint" : { + "line-width" : 6, + "line-color" : "#fde9db" + } + }, { + "id" : "vesisto_alue_reuna", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "vesisto_alue", + "paint" : { + "line-color" : "#9ec9e8", + "line-width" : 0.5 + } + }, { + "id" : "vesisto_alue", + "type" : "fill", + "source" : "taustakartta", + "source-layer" : "vesisto_alue", + "paint" : { + "fill-color" : "#caedfb" + } + }, { + "id" : "maastoaluereuna", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "maastoaluereuna", + "filter" : [ "all", [ "in", "kartografinenluokka", 32200, 32300, 32411, 32412, 32413, 32414, 32415, 32416, 32417, 32418, 33100 ], [ "==", "kohdeluokka", 30211 ] ], + "paint" : { + "line-color" : "#c8c4c5", + "line-width" : 0.5 + } + }, { + "id" : "keinotekoinen_rantaviiva", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "maastoaluereuna", + "filter" : [ "==", "kohdeluokka", 30100 ], + "paint" : { + "line-color" : "#c8c4c5", + "line-width" : 0.5 + } + }, { + "id" : "vesisto_viiva", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "vesisto_viiva", + "paint" : { + "line-color" : "#caedfb", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.75, 20, 30 ] + } + }, { + "id" : "rakennus", + "type" : "fill", + "source" : "taustakartta", + "source-layer" : "rakennus", + "paint" : { + "fill-color" : "#e6e6e6", + "fill-outline-color" : "#adb0b3" + } + }, { + "id" : "tiet tunnelissa", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12141, 12132, 12131, 12122, 12121, 12112, 12111, 12313, 12314, 12136 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -11 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 32, 16 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "ajotie, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12141 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "ajopolku, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12316 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 12, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "polku, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12313 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 2, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystamaton, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 1 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-dasharray" : [ 3, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystetty, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 2 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "tiet_1a_1b_reuna, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 6, 20, 84 ] + } + }, { + "id" : "tiet_2a_2b_reuna, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 63 ] + } + }, { + "id" : "tiet_3a_3b_reuna, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 3, 20, 30 ] + } + }, { + "id" : "rautatie_reuna, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2, 20, 40 ] + } + }, { + "id" : "tiet_1a_1b_taytto, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#eeeeee", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 80 ] + } + }, { + "id" : "tiet_2a_2b_taytto, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#eeeeee", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2.5, 20, 60 ] + } + }, { + "id" : "tiet_3a_3b_taytto, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#eeeeee", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "rautatie_taytto, pinnan alla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ -1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#eeeeee", + "line-dasharray" : [ 2, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "ajotie, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12141 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "ajopolku, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12316 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 12, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "polku, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12313 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 2, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystamaton, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 1 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-dasharray" : [ 3, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystetty, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 2 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "tiet_1a_1b_reuna, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 6, 20, 84 ] + } + }, { + "id" : "tiet_2a_2b_reuna, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 63 ] + } + }, { + "id" : "tiet_3a_3b_reuna, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 3, 20, 30 ] + } + }, { + "id" : "rautatie_reuna, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2, 20, 40 ] + } + }, { + "id" : "tiet_1a_1b_taytto, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 80 ] + } + }, { + "id" : "tiet_2a_2b_taytto, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2.5, 20, 60 ] + } + }, { + "id" : "tiet_3a_3b_taytto, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "rautatie_taytto, pinnalla", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 0 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-dasharray" : [ 2, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "ajotie, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12141 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "ajopolku, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12316 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 12, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "polku, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12313 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 2, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystamaton, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 1 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-dasharray" : [ 3, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystetty, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 2 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "tiet_1a_1b_reuna, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 6, 20, 84 ] + } + }, { + "id" : "tiet_2a_2b_reuna, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 63 ] + } + }, { + "id" : "tiet_3a_3b_reuna, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 3, 20, 30 ] + } + }, { + "id" : "rautatie_reuna, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2, 20, 40 ] + } + }, { + "id" : "tiet_1a_1b_taytto, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 80 ] + } + }, { + "id" : "tiet_2a_2b_taytto, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2.5, 20, 60 ] + } + }, { + "id" : "tiet_3a_3b_taytto, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#eeeeee", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "rautatie_taytto, sillalla 1", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 1 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-dasharray" : [ 2, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "ajotie, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12141 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "ajopolku, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12316 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 12, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "polku, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12313 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 2, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystamaton, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 1 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-dasharray" : [ 3, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystetty, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 2 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "tiet_1a_1b_reuna, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 6, 20, 84 ] + } + }, { + "id" : "tiet_2a_2b_reuna, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 63 ] + } + }, { + "id" : "tiet_3a_3b_reuna, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 3, 20, 30 ] + } + }, { + "id" : "rautatie_reuna, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2, 20, 40 ] + } + }, { + "id" : "tiet_1a_1b_taytto, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 80 ] + } + }, { + "id" : "tiet_2a_2b_taytto, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2.5, 20, 60 ] + } + }, { + "id" : "tiet_3a_3b_taytto, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "rautatie_taytto, sillalla 2", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 2 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-dasharray" : [ 2, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "ajotie, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12141 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "ajopolku, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12316 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 12, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "polku, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12313 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 2, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystamaton, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 1 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-dasharray" : [ 3, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystetty, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 2 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "tiet_1a_1b_reuna, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 6, 20, 84 ] + } + }, { + "id" : "tiet_2a_2b_reuna, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 63 ] + } + }, { + "id" : "tiet_3a_3b_reuna, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 3, 20, 30 ] + } + }, { + "id" : "rautatie_reuna, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2, 20, 40 ] + } + }, { + "id" : "tiet_1a_1b_taytto, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 80 ] + } + }, { + "id" : "tiet_2a_2b_taytto, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2.5, 20, 60 ] + } + }, { + "id" : "tiet_3a_3b_taytto, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "rautatie_taytto, sillalla 3", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 3 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-dasharray" : [ 2, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "ajotie, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12141 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "ajopolku, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12316 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 12, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "polku, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12313 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 2, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystamaton, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 1 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-dasharray" : [ 3, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystetty, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 2 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "tiet_1a_1b_reuna, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 6, 20, 84 ] + } + }, { + "id" : "tiet_2a_2b_reuna, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 63 ] + } + }, { + "id" : "tiet_3a_3b_reuna, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 3, 20, 30 ] + } + }, { + "id" : "rautatie_reuna, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2, 20, 40 ] + } + }, { + "id" : "tiet_1a_1b_taytto, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 80 ] + } + }, { + "id" : "tiet_2a_2b_taytto, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2.5, 20, 60 ] + } + }, { + "id" : "tiet_3a_3b_taytto, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "rautatie_taytto, sillalla 4", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 4 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-dasharray" : [ 2, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "ajotie, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12141 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "ajopolku, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12316 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 12, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "polku, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12313 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 2, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystamaton, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 1 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-dasharray" : [ 3, 1.5 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "kavely- ja pyoratie, paallystetty, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12314 ], true, false ], [ "match", [ "get", "paallyste" ], [ 2 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#90ca6f", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 0.5, 20, 15 ] + } + }, { + "id" : "tiet_1a_1b_reuna, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 6, 20, 84 ] + } + }, { + "id" : "tiet_2a_2b_reuna, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 63 ] + } + }, { + "id" : "tiet_3a_3b_reuna, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 3, 20, 30 ] + } + }, { + "id" : "rautatie_reuna, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2, 20, 40 ] + } + }, { + "id" : "tiet_1a_1b_taytto, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12111, 12112 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 4, 20, 80 ] + } + }, { + "id" : "tiet_2a_2b_taytto, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12121, 12122 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 2.5, 20, 60 ] + } + }, { + "id" : "tiet_3a_3b_taytto, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12131, 12132 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "rautatie_taytto, sillalla 5", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 14111, 14110, 14112, 14131, 14121 ], true, false ], [ "match", [ "get", "tasosijainti" ], [ 5 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#fcfcfc", + "line-dasharray" : [ 2, 2 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "lautta ja lossi", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 12151, 12152 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 6, 8 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1.5, 20, 30 ] + } + }, { + "id" : "laiva ja venevaylat", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "==", [ "geometry-type" ], "LineString" ], [ "match", [ "get", "kohdeluokka" ], [ 16511, 16512 ], true, false ] ], + "layout" : { }, + "paint" : { + "line-color" : "#ccc", + "line-dasharray" : [ 6, 8 ], + "line-width" : [ "interpolate", [ "exponential", 1.55 ], [ "zoom" ], 6, 1, 20, 20 ] + } + }, { + "id" : "hallintorajat", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "hallintoalue", + "paint" : { + "line-color" : "#8668de", + "line-width" : 1, + "line-opacity" : 0.5 + } + }, { + "id" : "rakennelmat", + "type" : "line", + "source" : "taustakartta", + "source-layer" : "rakennelma", + "filter" : [ "any", [ "==", "kohdeluokka", 45700 ], [ "==", "kohdeluokka", 45111 ], [ "==", "kohdeluokka", 45112 ], [ "==", "kohdeluokka", 44500 ] ], + "paint" : { + "line-color" : "#918a8c", + "line-width" : 0.5 + } + }, { + "id" : "tienimet", + "type" : "symbol", + "source" : "taustakartta", + "source-layer" : "liikenne", + "filter" : [ "all", [ "<", "tasosijainti", 1 ] ], + "layout" : { + "text-field" : "{nimi_suomi} {nimi_ruotsi}", + "text-font" : [ "Liberation Sans NLSFI" ], + "symbol-placement" : "line", + "text-size" : 11 + }, + "paint" : { + "text-color" : "rgba(69, 86, 71, 1)", + "text-halo-color" : "#fff", + "text-halo-width" : 1, + "text-halo-blur" : 1 + } + }, { + "id" : "nimisto-maasto-vedet", + "type" : "symbol", + "source" : "taustakartta", + "source-layer" : "nimisto", + "filter" : [ "match", [ "get", "teema" ], [ "Maasto", "Vedet" ], true, false ], + "layout" : { + "text-field" : [ "coalesce", [ "get", "nimi_fin" ], [ "get", "nimi_swe" ], [ "get", "nimi_sme" ], [ "get", "nimi_sms" ], [ "get", "nimi_smn" ] ], + "text-font" : [ "match", [ "get", "teema" ], "Vedet", [ "literal", [ "Liberation Sans NLSFI Left" ] ], "Maasto", [ "literal", [ "Liberation Sans NLSFI Right" ] ], [ "literal", [ "Liberation Sans NLSFI" ] ] ], + "text-size" : [ "interpolate", [ "linear" ], [ "zoom" ], 1, [ "step", [ "get", "prioriteetti" ], 20, 3, 16 ], 10, [ "step", [ "get", "prioriteetti" ], 20, 4, 14 ], 16, [ "step", [ "get", "prioriteetti" ], 22, 5, 12 ] ], + "visibility" : "visible" + }, + "paint" : { + "text-halo-width" : 2, + "text-halo-color" : "rgba(255, 255, 255, 1)", + "text-color" : [ "match", [ "get", "teema" ], "Vedet", "hsl(251, 71%, 50%)", "hsl(0, 0%, 20%)" ], + "text-halo-blur" : 1 + } + }, { + "id" : "nimisto", + "type" : "symbol", + "source" : "taustakartta", + "source-layer" : "nimisto", + "filter" : [ "all", [ "!", [ "match", [ "get", "teema" ], [ "Maasto", "Vedet" ], true, false ] ], [ "!=", [ "get", "alaryhma" ], "Hallintoalueet" ], [ "match", [ "get", "laji" ], [ "Kansallispuisto", "Luonnonpuisto" ], false, true ] ], + "layout" : { + "text-transform" : [ "match", [ "get", "alaryhma" ], "Rautatieliikennepaikat", "uppercase", "none" ], + "text-field" : [ "coalesce", [ "get", "nimi_fin" ], [ "get", "nimi_swe" ], [ "get", "nimi_sme" ], [ "get", "nimi_sms" ], [ "get", "nimi_smn" ] ], + "icon-ignore-placement" : true, + "icon-allow-overlap" : true, + "text-font" : [ "Liberation Sans NLSFI" ], + "text-size" : [ "interpolate", [ "linear" ], [ "zoom" ], 1, [ "interpolate", [ "linear" ], [ "get", "prioriteetti" ], 1, 20, 3, 16 ], 10, [ "interpolate", [ "linear" ], [ "get", "prioriteetti" ], 5, 16, 7, 13 ], 14, [ "interpolate", [ "linear" ], [ "get", "prioriteetti" ], 5, 22, 10, 12 ] ], + "visibility" : "visible" + }, + "paint" : { + "text-halo-width" : 2, + "text-halo-color" : "rgba(255, 255, 255, 1)", + "text-color" : [ "match", [ "get", "teema" ], "Vedet", "hsl(251, 71%, 50%)", "Suojellut kohteet", "hsl(117, 79%, 31%)", "hsl(0, 0%, 15%)" ], + "text-halo-blur" : 1 + } + }, { + "id" : "nimisto_luonnopuistot", + "type" : "symbol", + "source" : "taustakartta", + "source-layer" : "nimisto", + "filter" : [ "match", [ "get", "laji" ], [ "Kansallispuisto", "Luonnonpuisto" ], true, false ], + "layout" : { + "text-field" : [ "coalesce", [ "get", "nimi_fin" ], [ "get", "nimi_swe" ], [ "get", "nimi_sme" ], [ "get", "nimi_sms" ], [ "get", "nimi_smn" ] ], + "icon-ignore-placement" : true, + "icon-allow-overlap" : false, + "text-font" : [ "Liberation Sans NLSFI" ], + "visibility" : "visible" + }, + "paint" : { + "text-halo-width" : 2, + "text-halo-color" : "rgba(255, 255, 255, 1)", + "text-color" : "hsl(117, 79%, 31%)", + "text-halo-blur" : 1 + } + }, { + "id" : "nimisto_kunnat", + "type" : "symbol", + "source" : "taustakartta", + "source-layer" : "nimisto", + "filter" : [ "all", [ "==", [ "get", "alaryhma" ], "Hallintoalueet" ], [ "==", [ "get", "laji" ], "Kunta" ] ], + "layout" : { + "text-field" : [ "coalesce", [ "get", "nimi_fin" ], [ "get", "nimi_swe" ], [ "get", "nimi_sme" ], [ "get", "nimi_sms" ], [ "get", "nimi_smn" ] ], + "icon-ignore-placement" : false, + "icon-allow-overlap" : false, + "text-size" : [ "interpolate", [ "exponential", 1.35 ], [ "zoom" ], 1, 16, 14, 28 ], + "text-font" : [ "step", [ "zoom" ], [ "literal", [ "Liberation Sans NLSFI" ] ], 6, [ "literal", [ "Liberation Sans NLSFI Bold" ] ] ] + }, + "paint" : { + "text-halo-width" : 2, + "text-halo-color" : "rgb(255, 255, 255)", + "text-color" : "hsl(0, 0%, 25%)", + "text-halo-blur" : 1 + } + } ], + "id" : "NLS-Basemap" }