{
  "version": 8,
  "name": "Central Alps: Sentinel-2 Imagery + Terrain",
  "center": [
    12,
    47.5
  ],
  "zoom": 9,
  "glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
  "sprite": "https://demotiles.maplibre.org/styles/osm-bright-gl-style/sprite",
  "sources": {
    "openmaptiles": {
      "type": "vector",
      "url": "https://tiles.openstreetmap.us/vector/openmaptiles.json",
      "attribution": "&copy; <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors | <a href='https://tiles.openstreetmap.us/'>OSM US TileService</a>"
    },
    "terrain": {
      "type": "raster-dem",
      "url": "pmtiles://terrain.pmtiles",
      "tileSize": 512,
      "encoding": "terrarium",
      "maxzoom": 8
    },
    "imagery": {
      "type": "raster",
      "url": "pmtiles://imagery.pmtiles",
      "tileSize": 256,
      "maxzoom": 10,
      "attribution": "<a href='https://s2maps.eu'>Sentinel-2 cloudless 2023</a> by <a href='https://eox.at'>EOX</a> (modified Copernicus Sentinel data 2023; CC BY-NC-SA 4.0)"
    }
  },
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {
        "background-color": "#f8f4f0"
      }
    },
    {
      "id": "imagery-raster",
      "type": "raster",
      "source": "imagery",
      "paint": {
        "raster-opacity": 0.9
      }
    },
    {
      "id": "terrain-hillshade",
      "type": "hillshade",
      "source": "terrain",
      "paint": {
        "hillshade-illumination-direction": 315,
        "hillshade-illumination-anchor": "map",
        "hillshade-exaggeration": 0.75,
        "hillshade-shadow-color": "rgba(34,40,66,0.38)",
        "hillshade-highlight-color": "rgba(255,240,214,0.35)",
        "hillshade-accent-color": "rgba(12,14,30,0.45)"
      }
    },
    {
      "id": "terrain-hillshade-ne",
      "type": "hillshade",
      "source": "terrain",
      "paint": {
        "hillshade-illumination-direction": 45,
        "hillshade-illumination-anchor": "map",
        "hillshade-exaggeration": 0.35,
        "hillshade-shadow-color": "rgba(54,64,96,0.28)",
        "hillshade-highlight-color": "rgba(255,246,234,0.18)",
        "hillshade-accent-color": "rgba(26,26,46,0.25)"
      }
    },
    {
      "id": "boundary-land-level-2",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "boundary",
      "filter": [
        "all",
        [
          "==",
          "admin_level",
          2
        ],
        [
          "!=",
          "maritime",
          1
        ],
        [
          "!=",
          "disputed",
          1
        ]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "hsl(248, 7%, 66%)",
        "line-width": {
          "base": 1,
          "stops": [
            [
              0,
              0.3
            ],
            [
              4,
              0.6
            ],
            [
              5,
              0.9
            ],
            [
              12,
              3
            ]
          ]
        }
      }
    },
    {
      "id": "boundary-land-disputed",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "boundary",
      "filter": [
        "all",
        [
          "!=",
          "maritime",
          1
        ],
        [
          "==",
          "disputed",
          1
        ]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "hsl(248, 7%, 70%)",
        "line-dasharray": [
          1,
          3
        ],
        "line-width": {
          "base": 1,
          "stops": [
            [
              0,
              0.3
            ],
            [
              4,
              0.6
            ],
            [
              5,
              0.9
            ],
            [
              12,
              3
            ]
          ]
        }
      }
    },
    {
      "id": "place-city",
      "type": "symbol",
      "metadata": {
        "mapbox:group": "1444849242106.713"
      },
      "source": "openmaptiles",
      "source-layer": "place",
      "filter": [
        "all",
        [
          "!=",
          "capital",
          2
        ],
        [
          "==",
          "class",
          "city"
        ]
      ],
      "layout": {
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-size": {
          "base": 1.2,
          "stops": [
            [
              7,
              14
            ],
            [
              11,
              24
            ]
          ]
        },
        "text-field": "{name:latin}\n{name:nonlatin}",
        "text-max-width": 8,
        "visibility": "visible"
      },
      "paint": {
        "text-color": "#ffffff",
        "text-halo-width": 1.2,
        "text-halo-color": "rgba(0,0,0,0.75)"
      }
    },
    {
      "id": "place-city-capital",
      "type": "symbol",
      "metadata": {
        "mapbox:group": "1444849242106.713"
      },
      "source": "openmaptiles",
      "source-layer": "place",
      "filter": [
        "all",
        [
          "==",
          "capital",
          2
        ],
        [
          "==",
          "class",
          "city"
        ]
      ],
      "layout": {
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-size": {
          "base": 1.2,
          "stops": [
            [
              7,
              14
            ],
            [
              11,
              24
            ]
          ]
        },
        "text-field": "{name:latin}\n{name:nonlatin}",
        "text-max-width": 8,
        "icon-image": "star_11",
        "text-offset": [
          0.4,
          0
        ],
        "icon-size": 0.8,
        "text-anchor": "left",
        "visibility": "visible"
      },
      "paint": {
        "text-color": "#ffffff",
        "text-halo-width": 1.2,
        "text-halo-color": "rgba(0,0,0,0.75)"
      }
    },
    {
      "id": "mountain-peak",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "mountain_peak",
      "filter": [
        "all",
        [
          "<=",
          "rank",
          2
        ],
        [
          "in",
          "class",
          "peak",
          "volcano"
        ]
      ],
      "layout": {
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-field": "▲\n{name:latin}\n{ele} m",
        "text-size": {
          "base": 1.2,
          "stops": [
            [
              7,
              11
            ],
            [
              13,
              16
            ]
          ]
        },
        "text-max-width": 8,
        "text-line-height": 1.1,
        "visibility": "visible"
      },
      "paint": {
        "text-color": "#fffbf2",
        "text-halo-width": 1.6,
        "text-halo-color": "rgba(68,41,17,0.92)"
      }
    },
    {
      "id": "place-country-other",
      "type": "symbol",
      "metadata": {
        "mapbox:group": "1444849242106.713"
      },
      "source": "openmaptiles",
      "source-layer": "place",
      "filter": [
        "all",
        [
          "==",
          "class",
          "country"
        ],
        [
          ">=",
          "rank",
          3
        ],
        [
          "!has",
          "iso_a2"
        ]
      ],
      "layout": {
        "text-font": [
          "Noto Sans Italic"
        ],
        "text-field": "{name:latin}",
        "text-size": {
          "stops": [
            [
              3,
              11
            ],
            [
              7,
              17
            ]
          ]
        },
        "text-transform": "uppercase",
        "text-max-width": 6.25,
        "visibility": "visible"
      },
      "paint": {
        "text-halo-blur": 1,
        "text-color": "#ffffff",
        "text-halo-width": 2,
        "text-halo-color": "rgba(0,0,0,0.75)"
      }
    },
    {
      "id": "place-country-3",
      "type": "symbol",
      "metadata": {
        "mapbox:group": "1444849242106.713"
      },
      "source": "openmaptiles",
      "source-layer": "place",
      "filter": [
        "all",
        [
          "==",
          "class",
          "country"
        ],
        [
          ">=",
          "rank",
          3
        ],
        [
          "has",
          "iso_a2"
        ]
      ],
      "layout": {
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-field": "{name:latin}",
        "text-size": {
          "stops": [
            [
              3,
              11
            ],
            [
              7,
              17
            ]
          ]
        },
        "text-transform": "uppercase",
        "text-max-width": 6.25,
        "visibility": "visible"
      },
      "paint": {
        "text-halo-blur": 1,
        "text-color": "#ffffff",
        "text-halo-width": 2,
        "text-halo-color": "rgba(0,0,0,0.75)"
      }
    },
    {
      "id": "place-country-2",
      "type": "symbol",
      "metadata": {
        "mapbox:group": "1444849242106.713"
      },
      "source": "openmaptiles",
      "source-layer": "place",
      "filter": [
        "all",
        [
          "==",
          "class",
          "country"
        ],
        [
          "==",
          "rank",
          2
        ],
        [
          "has",
          "iso_a2"
        ]
      ],
      "layout": {
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-field": "{name:latin}",
        "text-size": {
          "stops": [
            [
              2,
              11
            ],
            [
              5,
              17
            ]
          ]
        },
        "text-transform": "uppercase",
        "text-max-width": 6.25,
        "visibility": "visible"
      },
      "paint": {
        "text-halo-blur": 1,
        "text-color": "#ffffff",
        "text-halo-width": 2,
        "text-halo-color": "rgba(0,0,0,0.75)"
      }
    },
    {
      "id": "place-country-1",
      "type": "symbol",
      "metadata": {
        "mapbox:group": "1444849242106.713"
      },
      "source": "openmaptiles",
      "source-layer": "place",
      "filter": [
        "all",
        [
          "==",
          "class",
          "country"
        ],
        [
          "==",
          "rank",
          1
        ],
        [
          "has",
          "iso_a2"
        ]
      ],
      "layout": {
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-field": "{name:latin}",
        "text-size": {
          "stops": [
            [
              1,
              11
            ],
            [
              4,
              17
            ]
          ]
        },
        "text-transform": "uppercase",
        "text-max-width": 6.25,
        "visibility": "visible"
      },
      "paint": {
        "text-halo-blur": 1,
        "text-color": "#ffffff",
        "text-halo-width": 2,
        "text-halo-color": "rgba(0,0,0,0.75)"
      }
    }
  ]
}
