{
  "version": 8,
  "name": "Trajetoo jour",
  "sources": {
    "omt": {
      "type": "vector",
      "url": "https://tiles.openfreemap.org/planet",
      "attribution": "© OpenMapTiles © contributeurs OpenStreetMap"
    }
  },
  "glyphs": "https://tiles.openfreemap.org/fonts/{fontstack}/{range}.pbf",
  "layers": [
    {
      "id": "fond",
      "type": "background",
      "paint": {
        "background-color": "#EEF2EF"
      }
    },
    {
      "id": "residentiel",
      "type": "fill",
      "source": "omt",
      "source-layer": "landuse",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "residential",
          "suburb",
          "neighbourhood"
        ],
        true,
        false
      ],
      "paint": {
        "fill-color": "#E9EEEA"
      }
    },
    {
      "id": "parcs",
      "type": "fill",
      "source": "omt",
      "source-layer": "park",
      "paint": {
        "fill-color": "#CFEBC5"
      }
    },
    {
      "id": "verdure",
      "type": "fill",
      "source": "omt",
      "source-layer": "landcover",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "grass",
          "wood",
          "farmland",
          "scrub"
        ],
        true,
        false
      ],
      "paint": {
        "fill-color": [
          "match",
          [
            "get",
            "class"
          ],
          "wood",
          "#C3E4B8",
          "#CFEBC5"
        ],
        "fill-opacity": 0.8
      }
    },
    {
      "id": "eau",
      "type": "fill",
      "source": "omt",
      "source-layer": "water",
      "paint": {
        "fill-color": "#A9DAF2"
      }
    },
    {
      "id": "rivieres",
      "type": "line",
      "source": "omt",
      "source-layer": "waterway",
      "paint": {
        "line-color": "#8CCBE8",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          8,
          1,
          16,
          5
        ]
      }
    },
    {
      "id": "batiments-plats",
      "type": "fill",
      "source": "omt",
      "source-layer": "building",
      "minzoom": 14,
      "paint": {
        "fill-color": "#DDE4E1"
      }
    },
    {
      "id": "batiments-3d",
      "type": "fill-extrusion",
      "source": "omt",
      "source-layer": "building",
      "minzoom": 15,
      "paint": {
        "fill-extrusion-color": "#E6ECE9",
        "fill-extrusion-height": [
          "coalesce",
          [
            "get",
            "render_height"
          ],
          8
        ],
        "fill-extrusion-base": [
          "coalesce",
          [
            "get",
            "render_min_height"
          ],
          0
        ],
        "fill-extrusion-opacity": 0.85
      }
    },
    {
      "id": "chemins",
      "type": "line",
      "source": "omt",
      "source-layer": "transportation",
      "minzoom": 15,
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "path",
          "track"
        ],
        true,
        false
      ],
      "paint": {
        "line-color": "#D6DEDA",
        "line-width": 1.5,
        "line-dasharray": [
          2,
          2
        ]
      }
    },
    {
      "id": "rues-bord",
      "type": "line",
      "source": "omt",
      "source-layer": "transportation",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "minor",
          "service",
          "tertiary"
        ],
        true,
        false
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#D3DCD8",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          12,
          1,
          18,
          22
        ]
      }
    },
    {
      "id": "grandes-bord",
      "type": "line",
      "source": "omt",
      "source-layer": "transportation",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "primary",
          "secondary",
          "trunk"
        ],
        true,
        false
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#C3CFCB",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          8,
          1.5,
          18,
          30
        ]
      }
    },
    {
      "id": "autoroutes-bord",
      "type": "line",
      "source": "omt",
      "source-layer": "transportation",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "motorway"
        ],
        true,
        false
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#E3B24A",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          6,
          1.5,
          18,
          34
        ]
      }
    },
    {
      "id": "rues",
      "type": "line",
      "source": "omt",
      "source-layer": "transportation",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "minor",
          "service",
          "tertiary"
        ],
        true,
        false
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#FFFFFF",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          12,
          0.5,
          18,
          18
        ]
      }
    },
    {
      "id": "grandes-routes",
      "type": "line",
      "source": "omt",
      "source-layer": "transportation",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "primary",
          "secondary",
          "trunk"
        ],
        true,
        false
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#FFFFFF",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          8,
          1,
          18,
          25
        ]
      }
    },
    {
      "id": "autoroutes",
      "type": "line",
      "source": "omt",
      "source-layer": "transportation",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "motorway"
        ],
        true,
        false
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#FFD86B",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          6,
          1,
          18,
          28
        ]
      }
    },
    {
      "id": "trains",
      "type": "line",
      "source": "omt",
      "source-layer": "transportation",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "rail",
          "transit"
        ],
        true,
        false
      ],
      "paint": {
        "line-color": "#B7C2BE",
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          10,
          1,
          18,
          4
        ],
        "line-dasharray": [
          3,
          3
        ]
      }
    },
    {
      "id": "frontieres-regions",
      "type": "line",
      "source": "omt",
      "source-layer": "boundary",
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "admin_level"
          ],
          4
        ],
        [
          "!=",
          [
            "get",
            "maritime"
          ],
          1
        ]
      ],
      "minzoom": 5,
      "paint": {
        "line-color": "#B9C7C3",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          0.8,
          10,
          1.5
        ],
        "line-dasharray": [
          1,
          3
        ]
      }
    },
    {
      "id": "frontieres-pays",
      "type": "line",
      "source": "omt",
      "source-layer": "boundary",
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "admin_level"
          ],
          2
        ],
        [
          "!=",
          [
            "get",
            "maritime"
          ],
          1
        ]
      ],
      "paint": {
        "line-color": "#7E8F8B",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          3,
          1,
          10,
          2.5
        ],
        "line-dasharray": [
          4,
          2
        ]
      }
    },
    {
      "id": "noms-rues",
      "type": "symbol",
      "source": "omt",
      "source-layer": "transportation_name",
      "minzoom": 14,
      "layout": {
        "symbol-placement": "line",
        "text-field": [
          "coalesce",
          [
            "get",
            "name:fr"
          ],
          [
            "get",
            "name"
          ]
        ],
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "exponential",
            1.2
          ],
          [
            "zoom"
          ],
          14,
          11,
          18,
          15
        ],
        "text-letter-spacing": 0.02
      },
      "paint": {
        "text-color": "#5B6A66",
        "text-halo-color": "#FFFFFF",
        "text-halo-width": 2
      }
    },
    {
      "id": "quartiers",
      "type": "symbol",
      "source": "omt",
      "source-layer": "place",
      "minzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "suburb",
          "quarter",
          "neighbourhood"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "upcase",
          [
            "coalesce",
            [
              "get",
              "name:fr"
            ],
            [
              "get",
              "name"
            ]
          ]
        ],
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-size": 11,
        "text-letter-spacing": 0.12,
        "text-max-width": 8
      },
      "paint": {
        "text-color": "#5B6A66",
        "text-halo-color": "#FFFFFF",
        "text-halo-width": 2,
        "text-opacity": 0.85
      }
    },
    {
      "id": "villes",
      "type": "symbol",
      "source": "omt",
      "source-layer": "place",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "city",
          "town",
          "village"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "coalesce",
          [
            "get",
            "name:fr"
          ],
          [
            "get",
            "name"
          ]
        ],
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-size": [
          "interpolate",
          [
            "exponential",
            1.2
          ],
          [
            "zoom"
          ],
          8,
          12,
          14,
          20
        ]
      },
      "paint": {
        "text-color": "#1F2E2B",
        "text-halo-color": "#FFFFFF",
        "text-halo-width": 2.5
      }
    },
    {
      "id": "mers",
      "type": "symbol",
      "source": "omt",
      "source-layer": "water_name",
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "ocean",
          "sea",
          "bay"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "coalesce",
          [
            "get",
            "name:fr"
          ],
          [
            "get",
            "name"
          ]
        ],
        "text-font": [
          "Noto Sans Italic"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          4,
          12,
          9,
          16
        ],
        "text-letter-spacing": 0.1,
        "text-max-width": 6
      },
      "paint": {
        "text-color": "#3E6E7D",
        "text-halo-color": "#A9DAF2",
        "text-halo-width": 1.5
      }
    },
    {
      "id": "regions",
      "type": "symbol",
      "source": "omt",
      "source-layer": "place",
      "minzoom": 5,
      "maxzoom": 10,
      "filter": [
        "match",
        [
          "get",
          "class"
        ],
        [
          "state",
          "province"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "upcase",
          [
            "coalesce",
            [
              "get",
              "name:fr"
            ],
            [
              "get",
              "name"
            ]
          ]
        ],
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          10,
          9,
          13
        ],
        "text-letter-spacing": 0.14,
        "text-max-width": 8
      },
      "paint": {
        "text-color": "#5B6A66",
        "text-halo-color": "#EEF2EF",
        "text-halo-width": 2,
        "text-opacity": 0.8
      }
    },
    {
      "id": "pays",
      "type": "symbol",
      "source": "omt",
      "source-layer": "place",
      "maxzoom": 9,
      "filter": [
        "==",
        [
          "get",
          "class"
        ],
        "country"
      ],
      "layout": {
        "text-field": [
          "upcase",
          [
            "coalesce",
            [
              "get",
              "name:fr"
            ],
            [
              "get",
              "name"
            ]
          ]
        ],
        "text-font": [
          "Noto Sans Bold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          3,
          12,
          8,
          22
        ],
        "text-letter-spacing": 0.2,
        "text-max-width": 8
      },
      "paint": {
        "text-color": "#33413E",
        "text-halo-color": "#EEF2EF",
        "text-halo-width": 2,
        "text-opacity": 0.6
      }
    }
  ]
}