{
  "version": 8,
  "name": "frenmaps-standard",
  "metadata": {
    "frenmaps:note": "Derived by web/frenmaps/tools/derive-style.mjs from app/assets/map_styles/fren_maplibre_day.json (night: fren_maplibre_night.json). Do not edit by hand. The archive and label-language placeholders are filled at runtime by js/styles.js."
  },
  "glyphs": "glyphs/{fontstack}/{range}.pbf",
  "sources": {
    "protomaps": {
      "type": "vector",
      "tiles": [
        "https://tiles.frenyap.com/tiles/__ARCHIVE__/{z}/{x}/{y}.mvt"
      ],
      "minzoom": 0,
      "maxzoom": 14,
      "attribution": "(c) OpenStreetMap contributors"
    }
  },
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {
        "background-color": "#f5f5f5"
      }
    },
    {
      "id": "landcover",
      "type": "fill",
      "source": "protomaps",
      "source-layer": "landcover",
      "paint": {
        "fill-color": "#e3ead9",
        "fill-opacity": 0.6
      }
    },
    {
      "id": "landuse",
      "type": "fill",
      "source": "protomaps",
      "source-layer": "landuse",
      "paint": {
        "fill-color": "#e9ece4",
        "fill-opacity": 0.6
      }
    },
    {
      "id": "park",
      "type": "fill",
      "source": "protomaps",
      "source-layer": "park",
      "paint": {
        "fill-color": "#d7e8c8",
        "fill-opacity": 0.5
      }
    },
    {
      "id": "water",
      "type": "fill",
      "source": "protomaps",
      "source-layer": "water",
      "paint": {
        "fill-color": "#b3d1ff"
      }
    },
    {
      "id": "roads-casing",
      "type": "line",
      "source": "protomaps",
      "source-layer": "transportation",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "motorway",
          "trunk",
          "primary",
          "secondary",
          "tertiary",
          "minor",
          "service"
        ],
        true,
        false
      ],
      "paint": {
        "line-color": [
          "match",
          [
            "get",
            "class"
          ],
          [
            "motorway",
            "trunk"
          ],
          "#ffb300",
          "#cccccc"
        ],
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          8,
          [
            "match",
            [
              "get",
              "class"
            ],
            [
              "motorway",
              "trunk"
            ],
            2.2,
            "primary",
            1.6,
            "secondary",
            1.2,
            "tertiary",
            1,
            0.8
          ],
          13,
          [
            "match",
            [
              "get",
              "class"
            ],
            [
              "motorway",
              "trunk"
            ],
            5,
            "primary",
            4,
            "secondary",
            3,
            "tertiary",
            2.4,
            1.8
          ],
          16,
          [
            "match",
            [
              "get",
              "class"
            ],
            [
              "motorway",
              "trunk"
            ],
            16,
            "primary",
            13,
            "secondary",
            10,
            "tertiary",
            8,
            6.5
          ]
        ]
      }
    },
    {
      "id": "roads",
      "type": "line",
      "source": "protomaps",
      "source-layer": "transportation",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "motorway",
          "trunk",
          "primary",
          "secondary",
          "tertiary",
          "minor",
          "service"
        ],
        true,
        false
      ],
      "paint": {
        "line-color": [
          "match",
          [
            "get",
            "class"
          ],
          [
            "motorway",
            "trunk"
          ],
          "#ffe082",
          "#ffffff"
        ],
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          8,
          [
            "match",
            [
              "get",
              "class"
            ],
            [
              "motorway",
              "trunk"
            ],
            1.4,
            "primary",
            1,
            "secondary",
            0.7,
            "tertiary",
            0.55,
            0.45
          ],
          13,
          [
            "match",
            [
              "get",
              "class"
            ],
            [
              "motorway",
              "trunk"
            ],
            3.5,
            "primary",
            2.8,
            "secondary",
            2,
            "tertiary",
            1.5,
            1.1
          ],
          16,
          [
            "match",
            [
              "get",
              "class"
            ],
            [
              "motorway",
              "trunk"
            ],
            13,
            "primary",
            10.5,
            "secondary",
            8,
            "tertiary",
            6.2,
            5
          ]
        ]
      }
    },
    {
      "id": "buildings-outline",
      "type": "line",
      "source": "protomaps",
      "source-layer": "building",
      "minzoom": 14,
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "line-color": "#b8b4a8",
        "line-opacity": 0.7,
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          14,
          0.6,
          18,
          1.4
        ]
      }
    },
    {
      "id": "water-labels",
      "type": "symbol",
      "source": "protomaps",
      "source-layer": "water_name",
      "minzoom": 8,
      "filter": [
        "has",
        "name"
      ],
      "layout": {
        "text-field": [
          "coalesce",
          [
            "get",
            "__LABEL_LANG__"
          ],
          [
            "get",
            "name"
          ],
          [
            "get",
            "name:latin"
          ]
        ],
        "text-font": [
          "NotoSansRegular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          8,
          11,
          14,
          15
        ]
      },
      "paint": {
        "text-color": "#3f6da8",
        "text-halo-color": "#ffffff",
        "text-halo-width": 1.2
      }
    },
    {
      "id": "roads-labels",
      "type": "symbol",
      "source": "protomaps",
      "source-layer": "transportation_name",
      "minzoom": 11,
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "motorway",
          "trunk",
          "primary",
          "secondary",
          "tertiary",
          "minor"
        ],
        true,
        false
      ],
      "layout": {
        "symbol-placement": "line",
        "text-field": [
          "coalesce",
          [
            "get",
            "__LABEL_LANG__"
          ],
          [
            "get",
            "name"
          ],
          [
            "get",
            "name:latin"
          ]
        ],
        "text-font": [
          "NotoSansRegular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          10,
          16,
          13
        ],
        "symbol-spacing": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          13,
          180,
          16,
          300,
          19,
          540
        ],
        "text-max-angle": 30,
        "text-padding": 2
      },
      "paint": {
        "text-color": "#3a3a3a",
        "text-halo-color": "#ffffff",
        "text-halo-width": 1.4
      }
    },
    {
      "id": "places",
      "type": "symbol",
      "source": "protomaps",
      "source-layer": "place",
      "minzoom": 6,
      "layout": {
        "text-field": [
          "coalesce",
          [
            "get",
            "__LABEL_LANG__"
          ],
          [
            "get",
            "name"
          ],
          [
            "get",
            "name:latin"
          ]
        ],
        "text-font": [
          "NotoSansRegular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          6,
          11,
          14,
          16
        ]
      },
      "paint": {
        "text-color": "#424242",
        "text-halo-color": "#ffffff",
        "text-halo-width": 1.2
      }
    }
  ]
}
