{
  "version": 8,
  "name": "Speakbar",
  "glyphs": "__THEME__/assets/map/glyphs/{fontstack}/{range}.pbf",
  "sources": {
    "openmaptiles": {
      "type": "vector",
      "url": "pmtiles://__TILES__",
      "attribution": "© <a href=\"https://openmaptiles.org/\" target=\"_blank\" rel=\"noopener\">OpenMapTiles</a> © <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\" rel=\"noopener\">OpenStreetMap</a>-Mitwirkende"
    }
  },
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {
        "background-color": "#0d1f1f"
      }
    },
    {
      "id": "landuse-residential",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "filter": [
        "in",
        "class",
        "residential",
        "suburb",
        "neighbourhood"
      ],
      "paint": {
        "fill-color": "#122727"
      }
    },
    {
      "id": "landcover",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": [
        "in",
        "class",
        "grass",
        "wood",
        "farmland"
      ],
      "paint": {
        "fill-color": "#153030",
        "fill-opacity": 0.7
      }
    },
    {
      "id": "park",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "park",
      "paint": {
        "fill-color": "#173632"
      }
    },
    {
      "id": "water",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "water",
      "paint": {
        "fill-color": "#061616"
      }
    },
    {
      "id": "waterway",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "waterway",
      "paint": {
        "line-color": "#061616",
        "line-width": {
          "base": 1.4,
          "stops": [
            [
              8,
              0.5
            ],
            [
              14,
              2.5
            ]
          ]
        }
      }
    },
    {
      "id": "aeroway",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "aeroway",
      "minzoom": 10,
      "paint": {
        "line-color": "#1c3535",
        "line-width": {
          "base": 1.5,
          "stops": [
            [
              10,
              1
            ],
            [
              14,
              4
            ]
          ]
        }
      }
    },
    {
      "id": "rail",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "==",
        "class",
        "rail"
      ],
      "minzoom": 9,
      "paint": {
        "line-color": "#2b4646",
        "line-dasharray": [
          3,
          3
        ],
        "line-width": {
          "base": 1.4,
          "stops": [
            [
              9,
              0.5
            ],
            [
              14,
              1.5
            ]
          ]
        },
        "line-opacity": [
          "case",
          [
            "==",
            [
              "get",
              "brunnel"
            ],
            "tunnel"
          ],
          0.35,
          1
        ]
      }
    },
    {
      "id": "road-minor-casing",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "in",
        "class",
        "minor",
        "service",
        "track"
      ],
      "minzoom": 12,
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#0d1f1f",
        "line-width": {
          "base": 1.55,
          "stops": [
            [
              12,
              1.4
            ],
            [
              14,
              3.4
            ],
            [
              18,
              14
            ]
          ]
        }
      }
    },
    {
      "id": "road-minor",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "in",
        "class",
        "minor",
        "service",
        "track"
      ],
      "minzoom": 12,
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#264242",
        "line-width": {
          "base": 1.55,
          "stops": [
            [
              12,
              0.8
            ],
            [
              14,
              2.4
            ],
            [
              18,
              12
            ]
          ]
        }
      }
    },
    {
      "id": "road-secondary-casing",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "in",
        "class",
        "secondary",
        "tertiary"
      ],
      "minzoom": 9,
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#0d1f1f",
        "line-width": {
          "base": 1.55,
          "stops": [
            [
              9,
              1.2
            ],
            [
              14,
              5
            ],
            [
              18,
              22
            ]
          ]
        }
      }
    },
    {
      "id": "road-secondary",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "in",
        "class",
        "secondary",
        "tertiary"
      ],
      "minzoom": 9,
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#325353",
        "line-width": {
          "base": 1.55,
          "stops": [
            [
              9,
              0.7
            ],
            [
              14,
              3.6
            ],
            [
              18,
              18
            ]
          ]
        }
      }
    },
    {
      "id": "road-primary-casing",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "in",
        "class",
        "primary",
        "trunk",
        "motorway"
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#0d1f1f",
        "line-width": {
          "base": 1.55,
          "stops": [
            [
              7,
              1.4
            ],
            [
              14,
              7
            ],
            [
              18,
              30
            ]
          ]
        }
      }
    },
    {
      "id": "road-primary",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "in",
        "class",
        "primary",
        "trunk",
        "motorway"
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "#3f6666",
        "line-width": {
          "base": 1.55,
          "stops": [
            [
              7,
              0.9
            ],
            [
              14,
              5
            ],
            [
              18,
              25
            ]
          ]
        }
      }
    },
    {
      "id": "transit-line",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "==",
        "class",
        "transit"
      ],
      "minzoom": 11,
      "paint": {
        "line-color": "#2f4c4c",
        "line-width": {
          "base": 1.4,
          "stops": [
            [
              11,
              1
            ],
            [
              14,
              2
            ],
            [
              17,
              3.2
            ]
          ]
        },
        "line-opacity": [
          "case",
          [
            "==",
            [
              "get",
              "brunnel"
            ],
            "tunnel"
          ],
          0.35,
          1
        ]
      }
    },
    {
      "id": "building",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "building",
      "minzoom": 15,
      "paint": {
        "fill-color": "#1a3232",
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          15,
          0,
          15.8,
          1
        ]
      }
    },
    {
      "id": "transit-stop-label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "poi",
      "filter": [
        "all",
        [
          "==",
          "class",
          "railway"
        ],
        [
          "in",
          "subclass",
          "station",
          "halt",
          "tram_stop",
          "subway"
        ]
      ],
      "minzoom": 14,
      "layout": {
        "text-field": "{name}",
        "text-font": [
          "PT Sans Narrow Regular"
        ],
        "text-size": {
          "stops": [
            [
              14,
              10
            ],
            [
              17,
              13
            ]
          ]
        },
        "text-offset": [
          0,
          1.2
        ],
        "text-anchor": "top"
      },
      "paint": {
        "text-color": "#CBBFAA",
        "text-halo-color": "#0d1f1f",
        "text-halo-width": 1.4
      }
    },
    {
      "id": "bus-stop-label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "poi",
      "filter": [
        "all",
        [
          "==",
          "class",
          "bus"
        ],
        [
          "in",
          "subclass",
          "bus_stop",
          "bus_station"
        ]
      ],
      "minzoom": 16,
      "layout": {
        "text-field": "{name}",
        "text-font": [
          "PT Sans Narrow Regular"
        ],
        "text-size": {
          "stops": [
            [
              16,
              10
            ],
            [
              18,
              12
            ]
          ]
        },
        "text-offset": [
          0,
          1.1
        ],
        "text-anchor": "top"
      },
      "paint": {
        "text-color": "#8fa4a4",
        "text-halo-color": "#0d1f1f",
        "text-halo-width": 1.4
      }
    },
    {
      "id": "road-label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation_name",
      "minzoom": 13,
      "layout": {
        "symbol-placement": "line",
        "text-field": "{name}",
        "text-font": [
          "PT Sans Narrow Regular"
        ],
        "text-size": {
          "stops": [
            [
              13,
              11
            ],
            [
              17,
              14
            ]
          ]
        }
      },
      "paint": {
        "text-color": "#8fa4a4",
        "text-halo-color": "#0d1f1f",
        "text-halo-width": 1.4
      }
    },
    {
      "id": "transit-stop-badge",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "poi",
      "filter": [
        "all",
        [
          "==",
          "class",
          "railway"
        ],
        [
          "in",
          "subclass",
          "station",
          "halt",
          "tram_stop",
          "subway"
        ]
      ],
      "minzoom": 13,
      "layout": {
        "icon-image": "stop-badge-rail",
        "icon-size": {
          "stops": [
            [
              13,
              0.6
            ],
            [
              16,
              1
            ]
          ]
        },
        "text-field": "H",
        "text-font": [
          "PT Sans Narrow Bold"
        ],
        "text-size": {
          "stops": [
            [
              13,
              8
            ],
            [
              16,
              12
            ]
          ]
        }
      },
      "paint": {
        "text-color": "#CBBFAA"
      }
    },
    {
      "id": "bus-stop-badge",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "poi",
      "filter": [
        "all",
        [
          "==",
          "class",
          "bus"
        ],
        [
          "in",
          "subclass",
          "bus_stop",
          "bus_station"
        ]
      ],
      "minzoom": 16,
      "layout": {
        "icon-image": "stop-badge-bus",
        "icon-size": {
          "stops": [
            [
              16,
              1
            ],
            [
              18,
              1.2
            ]
          ]
        },
        "text-field": "H",
        "text-font": [
          "PT Sans Narrow Bold"
        ],
        "text-size": {
          "stops": [
            [
              16,
              9
            ],
            [
              18,
              11
            ]
          ]
        }
      },
      "paint": {
        "text-color": "#8fa4a4"
      }
    },
    {
      "id": "place-village",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "place",
      "filter": [
        "in",
        "class",
        "village",
        "suburb",
        "neighbourhood",
        "quarter",
        "hamlet"
      ],
      "minzoom": 10,
      "layout": {
        "text-field": "{name}",
        "text-font": [
          "PT Sans Narrow Regular"
        ],
        "text-size": {
          "stops": [
            [
              10,
              11
            ],
            [
              14,
              14
            ]
          ]
        }
      },
      "paint": {
        "text-color": "#b7c3c3",
        "text-halo-color": "#0d1f1f",
        "text-halo-width": 1.6
      }
    },
    {
      "id": "place-town",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "place",
      "filter": [
        "==",
        "class",
        "town"
      ],
      "layout": {
        "text-field": "{name}",
        "text-font": [
          "PT Sans Narrow Regular"
        ],
        "text-size": {
          "stops": [
            [
              8,
              12
            ],
            [
              14,
              17
            ]
          ]
        }
      },
      "paint": {
        "text-color": "#E1E6E6",
        "text-halo-color": "#0d1f1f",
        "text-halo-width": 1.6
      }
    },
    {
      "id": "place-city",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "place",
      "filter": [
        "==",
        "class",
        "city"
      ],
      "layout": {
        "text-field": "{name}",
        "text-font": [
          "PT Sans Narrow Bold"
        ],
        "text-size": {
          "stops": [
            [
              7,
              14
            ],
            [
              14,
              21
            ]
          ]
        }
      },
      "paint": {
        "text-color": "#E1E6E6",
        "text-halo-color": "#0d1f1f",
        "text-halo-width": 1.8
      }
    }
  ]
}
