{
  "layers": [
    {
      "id": "Ferry labels",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation_name",
      "minzoom": 14,
      "layout": {
        "symbol-placement": "line",
        "text-anchor": "center",
        "text-field": [
          "coalesce",
          [
            "get",
            "name:en"
          ],
          [
            "get",
            "name"
          ]
        ],
        "text-font": [
          "Open Sans Regular",
          "Noto Sans Regular"
        ],
        "text-offset": [
          0,
          0
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          14,
          10,
          18,
          12
        ]
      },
      "paint": {
        "text-color": "hsl(240, 100%, 70%)",
        "text-halo-blur": 0,
        "text-halo-color": "hsl(195, 45%, 77%)",
        "text-halo-width": 2
      },
      "metadata": {},
      "filter": [
        "all",
        [
          "==",
          "class",
          "ferry"
        ]
      ],
      "order": 226
    },
    {
      "id": "Road labels",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation_name",
      "minzoom": 11,
      "maxzoom": 22,
      "layout": {
        "symbol-placement": "line",
        "symbol-spacing": [
          "step",
          [
            "zoom"
          ],
          250,
          17,
          400,
          20,
          800,
          21,
          1100
        ],
        "text-anchor": "center",
        "text-field": [
          "coalesce",
          [
            "get",
            "name:en"
          ],
          [
            "get",
            "name"
          ]
        ],
        "text-font": [
          "Open Sans Regular",
          "Noto Sans Regular"
        ],
        "text-offset": [
          0,
          0
        ],
        "text-size": {
          "base": 1,
          "stops": [
            [
              14,
              9
            ],
            [
              18,
              13
            ]
          ]
        }
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)",
        "text-halo-color": "hsla(0, 0%, 100%, 0.97)",
        "text-halo-width": 1
      },
      "metadata": {},
      "filter": [
        "all",
        [
          "!=",
          "class",
          "ferry"
        ]
      ],
      "order": 227
    },
    {
      "id": "Tertiary road shield",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation_name",
      "minzoom": 9,
      "layout": {
        "icon-anchor": "center",
        "icon-image": "road_tertiary",
        "icon-padding": 2,
        "icon-rotation-alignment": "viewport",
        "icon-size": 1,
        "icon-text-fit": "both",
        "icon-text-fit-padding": [
          3,
          4,
          3,
          4
        ],
        "symbol-avoid-edges": true,
        "symbol-placement": {
          "base": 1,
          "stops": [
            [
              10,
              "point"
            ],
            [
              11,
              "line"
            ]
          ]
        },
        "symbol-spacing": 560,
        "text-field": "{ref}",
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-rotation-alignment": "viewport",
        "text-size": {
          "stops": [
            [
              9,
              10
            ],
            [
              15,
              11
            ],
            [
              17,
              12
            ]
          ]
        },
        "visibility": "visible"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 23%)"
      },
      "filter": [
        "all",
        [
          "==",
          "$type",
          "LineString"
        ],
        [
          "==",
          "class",
          "tertiary"
        ],
        [
          "has",
          "ref"
        ]
      ],
      "order": 228
    },
    {
      "id": "Secondary road shield",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation_name",
      "minzoom": 9,
      "layout": {
        "icon-anchor": "center",
        "icon-image": "road_secondary",
        "icon-padding": 2,
        "icon-rotation-alignment": "viewport",
        "icon-size": 1,
        "icon-text-fit": "both",
        "icon-text-fit-padding": [
          3,
          4,
          3,
          4
        ],
        "symbol-avoid-edges": true,
        "symbol-placement": {
          "base": 1,
          "stops": [
            [
              10,
              "point"
            ],
            [
              11,
              "line"
            ]
          ]
        },
        "symbol-spacing": 560,
        "text-field": "{ref}",
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-rotation-alignment": "viewport",
        "text-size": {
          "stops": [
            [
              9,
              10
            ],
            [
              15,
              11
            ],
            [
              17,
              12
            ]
          ]
        },
        "visibility": "visible"
      },
      "paint": {
        "text-color": "hsl(69, 100%, 12%)"
      },
      "filter": [
        "all",
        [
          "==",
          "$type",
          "LineString"
        ],
        [
          "==",
          "class",
          "secondary"
        ],
        [
          "has",
          "ref"
        ]
      ],
      "order": 229
    },
    {
      "id": "Primary road shield",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation_name",
      "minzoom": 9,
      "layout": {
        "icon-anchor": "center",
        "icon-image": "road_primary",
        "icon-padding": 2,
        "icon-rotation-alignment": "viewport",
        "icon-size": 1,
        "icon-text-fit": "both",
        "icon-text-fit-padding": [
          3,
          4,
          3,
          4
        ],
        "symbol-avoid-edges": true,
        "symbol-placement": {
          "base": 1,
          "stops": [
            [
              10,
              "point"
            ],
            [
              11,
              "line"
            ]
          ]
        },
        "symbol-spacing": 560,
        "text-field": "{ref}",
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-rotation-alignment": "viewport",
        "text-size": {
          "stops": [
            [
              9,
              10
            ],
            [
              15,
              11
            ],
            [
              17,
              12
            ]
          ]
        },
        "visibility": "visible"
      },
      "paint": {
        "text-color": "hsl(36, 100%, 15%)"
      },
      "filter": [
        "all",
        [
          "==",
          "$type",
          "LineString"
        ],
        [
          "==",
          "class",
          "primary"
        ],
        [
          "has",
          "ref"
        ]
      ],
      "order": 230
    },
    {
      "id": "Trunk road shield",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation_name",
      "minzoom": 9,
      "layout": {
        "icon-anchor": "center",
        "icon-image": "road_trunk",
        "icon-padding": 2,
        "icon-rotation-alignment": "viewport",
        "icon-size": 1,
        "icon-text-fit": "both",
        "icon-text-fit-padding": [
          3,
          4,
          3,
          4
        ],
        "symbol-avoid-edges": true,
        "symbol-placement": {
          "base": 1,
          "stops": [
            [
              10,
              "point"
            ],
            [
              11,
              "line"
            ]
          ]
        },
        "symbol-spacing": 560,
        "text-field": "{ref}",
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-rotation-alignment": "viewport",
        "text-size": {
          "stops": [
            [
              9,
              10
            ],
            [
              15,
              11
            ],
            [
              17,
              12
            ]
          ]
        },
        "visibility": "visible"
      },
      "paint": {
        "text-color": "hsl(12, 77.6%, 21.0%)"
      },
      "filter": [
        "all",
        [
          "==",
          "$type",
          "LineString"
        ],
        [
          "==",
          "class",
          "trunk"
        ],
        [
          "has",
          "ref"
        ]
      ],
      "order": 231
    },
    {
      "id": "Highway shield",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation_name",
      "minzoom": 9,
      "layout": {
        "icon-anchor": "center",
        "icon-image": "road_motorway",
        "icon-padding": 2,
        "icon-rotation-alignment": "viewport",
        "icon-size": 1,
        "icon-text-fit": "both",
        "icon-text-fit-padding": [
          3,
          4,
          3,
          4
        ],
        "symbol-avoid-edges": true,
        "symbol-placement": {
          "base": 1,
          "stops": [
            [
              10,
              "point"
            ],
            [
              11,
              "line"
            ]
          ]
        },
        "symbol-spacing": 760,
        "text-field": "{ref}",
        "text-font": [
          "Noto Sans Regular"
        ],
        "text-keep-upright": true,
        "text-max-width": 10,
        "text-optional": false,
        "text-rotation-alignment": "viewport",
        "text-size": {
          "stops": [
            [
              9,
              10
            ],
            [
              15,
              11
            ],
            [
              17,
              12
            ]
          ]
        },
        "visibility": "visible"
      },
      "paint": {
        "text-color": "hsl(338, 87%, 21%)"
      },
      "filter": [
        "all",
        [
          "==",
          "$type",
          "LineString"
        ],
        [
          "==",
          "class",
          "motorway"
        ],
        [
          "has",
          "ref"
        ]
      ],
      "order": 232
    }
  ]
}
