diff --git a/_posts/2023-10-30-maps-3.md b/_posts/2023-10-30-maps-3.md
new file mode 100644
index 0000000..9ebcca6
--- /dev/null
+++ b/_posts/2023-10-30-maps-3.md
@@ -0,0 +1,81 @@
+---
+title: "Interactive web maps from a static file"
+layout: post
+excerpt: |
+ PMTiles is a cool new technology to serve interactive vector maps from a static file.
+
+image:
+thumbnail:
+head: |
+
+
+
+---
+PMTiles is a new project that lets you serve vector map data from static files through the magic of HTTP range requests.
+
+By following this [blog post][blog] and throwing in a bit of code from [the official examples][official_examples] I've put together this little map below. The vector data is entirely served from a static file on this server. Most interactive web maps work by constantly requesting little map images from an external server at different zoom levels. This approach uses much less data and doesn't require an external server to host all the map data.
+
+[blog]: https://til.simonwillison.net/gis/pmtiles
+[official_examples]: https://github.com/protomaps/PMTiles/blob/main/js/examples/maplibre.html
+
+
+
+
\ No newline at end of file
diff --git a/_sass/main.scss b/_sass/main.scss
index 51fbd25..ca9d684 100644
--- a/_sass/main.scss
+++ b/_sass/main.scss
@@ -123,7 +123,7 @@ figure > img, figure > svg, figure > canvas {
padding-top: 10px;
padding-left: 20px;
padding-right: 20px;
- margin: 0px;
+ margin: auto;
justify-content: flex-start;
}
diff --git a/assets/blog/pmtiles/black.json b/assets/blog/pmtiles/black.json
new file mode 100644
index 0000000..c680cb7
--- /dev/null
+++ b/assets/blog/pmtiles/black.json
@@ -0,0 +1,3215 @@
+[
+ {
+ "id": "background",
+ "type": "background",
+ "paint": {
+ "background-color": "#2b2b2b"
+ }
+ },
+ {
+ "id": "earth",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "earth",
+ "paint": {
+ "fill-color": "#141414"
+ }
+ },
+ {
+ "id": "landuse_park",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "national_park",
+ "park",
+ "cemetery",
+ "protected_area",
+ "nature_reserve",
+ "forest",
+ "golf_course"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#181818",
+ 12,
+ "#181818"
+ ]
+ }
+ },
+ {
+ "id": "landuse_hospital",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "hospital"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#1d1d1d"
+ }
+ },
+ {
+ "id": "landuse_industrial",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "industrial"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#101010"
+ }
+ },
+ {
+ "id": "landuse_school",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "school",
+ "university",
+ "college"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#111111"
+ }
+ },
+ {
+ "id": "landuse_beach",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "beach"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#1f1f1f"
+ }
+ },
+ {
+ "id": "landuse_zoo",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "zoo"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#191919"
+ }
+ },
+ {
+ "id": "landuse_military",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "military",
+ "naval_base",
+ "airfield"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#191919"
+ }
+ },
+ {
+ "id": "natural_wood",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "wood",
+ "nature_reserve",
+ "forest"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#1a1a1a",
+ 12,
+ "#1a1a1a"
+ ]
+ }
+ },
+ {
+ "id": "landuse_pedestrian",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pedestrian"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#191919"
+ }
+ },
+ {
+ "id": "natural_scrub",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "in",
+ "pmap:kind",
+ "scrub",
+ "grassland",
+ "grass"
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#1c1c1c",
+ 12,
+ "#1c1c1c"
+ ]
+ }
+ },
+ {
+ "id": "natural_glacier",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "glacier"
+ ],
+ "paint": {
+ "fill-color": "#191919"
+ }
+ },
+ {
+ "id": "natural_sand",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "sand"
+ ],
+ "paint": {
+ "fill-color": "#161616"
+ }
+ },
+ {
+ "id": "landuse_aerodrome",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "aerodrome"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#191919"
+ }
+ },
+ {
+ "id": "transit_runway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind_detail",
+ "runway"
+ ]
+ ],
+ "paint": {
+ "line-color": "#323232",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 12,
+ 4,
+ 18,
+ 30
+ ]
+ }
+ },
+ {
+ "id": "transit_taxiway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "minzoom": 13,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind_detail",
+ "taxiway"
+ ]
+ ],
+ "paint": {
+ "line-color": "#323232",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 15,
+ 6
+ ]
+ }
+ },
+ {
+ "id": "water",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "water",
+ "paint": {
+ "fill-color": "#333333"
+ }
+ },
+ {
+ "id": "landuse_pier",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#0a0a0a"
+ }
+ },
+ {
+ "id": "roads_tunnels_other_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#101010",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#101010",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#101010",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#101010",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#101010",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#101010",
+ "line-dasharray": [
+ 6,
+ 0.5
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-dasharray": [
+ 4.5,
+ 0.5
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "physical_line_stream",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 14,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "stream"
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-width": 0.5
+ }
+ },
+ {
+ "id": "physical_line_river",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 9,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "river"
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1,
+ 18,
+ 12
+ ]
+ }
+ },
+ {
+ "id": "buildings",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "buildings",
+ "paint": {
+ "fill-color": "#0a0a0a",
+ "fill-opacity": 0.5
+ }
+ },
+ {
+ "id": "transit_pier",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "line-color": "#0a0a0a",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 0.5,
+ 20,
+ 16
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_late",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_late",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-dasharray": [
+ 3,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ "#292929",
+ 16,
+ "#1f1f1f"
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_early",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_early",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "transit_railway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:kind",
+ "rail"
+ ]
+ ],
+ "paint": {
+ "line-dasharray": [
+ 0.3,
+ 0.75
+ ],
+ "line-opacity": 0.5,
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 0.15,
+ 18,
+ 9
+ ]
+ }
+ },
+ {
+ "id": "boundaries_country",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "boundaries",
+ "filter": [
+ "<=",
+ "pmap:min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "#707070",
+ "line-width": 1,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "boundaries",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "boundaries",
+ "filter": [
+ ">",
+ "pmap:min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "#707070",
+ "line-width": 0.5,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 10
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-dasharray": [
+ 2,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "physical_line_waterway_label",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "river",
+ "stream"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12,
+ "text-letter-spacing": 0.3
+ },
+ "paint": {
+ "text-color": "#707070"
+ }
+ },
+ {
+ "id": "physical_point_peak",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "peak"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Italic"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 8,
+ 16,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#707070",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "roads_labels_minor",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 15,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "minor_road",
+ "other",
+ "path"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#525252",
+ "text-halo-color": "#141414",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "physical_point_ocean",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "sea",
+ "ocean",
+ "lake",
+ "water",
+ "bay",
+ "strait",
+ "fjord"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 10,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9,
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#707070"
+ }
+ },
+ {
+ "id": "physical_point_lakes",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "lake",
+ "water"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 12,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#707070"
+ }
+ },
+ {
+ "id": "roads_labels_major",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 11,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "highway",
+ "major_road",
+ "medium_road"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#5c5c5c",
+ "text-halo-color": "#141414",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_subplace",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "neighbourhood"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": "{name}",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-max-width": 7,
+ "text-letter-spacing": 0.1,
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 2,
+ 8,
+ 4,
+ 12,
+ 18,
+ 15,
+ 20
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "exponential",
+ 1.2
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 8,
+ 14,
+ 14,
+ 18,
+ 24
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#5c5c5c",
+ "text-halo-color": "#141414",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "pois_important",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "pois",
+ "filter": [
+ "any",
+ [
+ "<",
+ [
+ "get",
+ "pmap:min_zoom"
+ ],
+ 13
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 11,
+ "text-max-width": 9,
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 14,
+ 2,
+ 16,
+ 20,
+ 17,
+ 2,
+ 22,
+ 2
+ ]
+ },
+ "paint": {
+ "text-color": "#5c5c5c",
+ "text-halo-color": "#141414",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "places_locality_circle",
+ "type": "circle",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "locality"
+ ],
+ "paint": {
+ "circle-radius": 2,
+ "circle-stroke-width": 1.5,
+ "circle-stroke-color": "#666666",
+ "circle-color": "#000000",
+ "circle-translate": [
+ -6,
+ 0
+ ]
+ },
+ "maxzoom": 8
+ },
+ {
+ "id": "places_locality",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "locality"
+ ],
+ "layout": {
+ "text-field": "{name}",
+ "text-font": [
+ "case",
+ [
+ "<=",
+ [
+ "get",
+ "pmap:min_zoom"
+ ],
+ 5
+ ],
+ [
+ "literal",
+ [
+ "Roboto Medium"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Roboto Regular"
+ ]
+ ]
+ ],
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 3,
+ 8,
+ 7,
+ 12,
+ 11
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 13,
+ 0
+ ],
+ 4,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 15,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 12
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 12
+ ],
+ 17,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 11
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 11
+ ],
+ 18,
+ 0
+ ],
+ 10,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 9
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 9
+ ],
+ 20,
+ 0
+ ],
+ 15,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 22,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 8,
+ 4,
+ 10,
+ 8,
+ 12,
+ 6,
+ 22,
+ 2
+ ],
+ "text-anchor": [
+ "step",
+ [
+ "zoom"
+ ],
+ "left",
+ 8,
+ "center"
+ ],
+ "text-radial-offset": 0.2
+ },
+ "paint": {
+ "text-color": "#999999",
+ "text-halo-color": "#141414",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "places_region",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "region"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": [
+ "step",
+ [
+ "zoom"
+ ],
+ [
+ "get",
+ "name:short"
+ ],
+ 5,
+ [
+ "get",
+ "name"
+ ]
+ ],
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 11,
+ 7,
+ 24
+ ],
+ "text-radial-offset": 0.2,
+ "text-anchor": "center",
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#3d3d3d",
+ "text-halo-color": "#141414",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_country",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "country"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": "{name}",
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 10
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 10
+ ],
+ 12,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 18,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 7
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 7
+ ],
+ 20,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 14,
+ 2,
+ 16,
+ 20,
+ 17,
+ 2,
+ 22,
+ 2
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#707070"
+ }
+ }
+]
\ No newline at end of file
diff --git a/assets/blog/pmtiles/dark.json b/assets/blog/pmtiles/dark.json
new file mode 100644
index 0000000..986e483
--- /dev/null
+++ b/assets/blog/pmtiles/dark.json
@@ -0,0 +1,3215 @@
+[
+ {
+ "id": "background",
+ "type": "background",
+ "paint": {
+ "background-color": "#34373d"
+ }
+ },
+ {
+ "id": "earth",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "earth",
+ "paint": {
+ "fill-color": "#1f1f1f"
+ }
+ },
+ {
+ "id": "landuse_park",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "national_park",
+ "park",
+ "cemetery",
+ "protected_area",
+ "nature_reserve",
+ "forest",
+ "golf_course"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#232325",
+ 12,
+ "#232325"
+ ]
+ }
+ },
+ {
+ "id": "landuse_hospital",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "hospital"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#252424"
+ }
+ },
+ {
+ "id": "landuse_industrial",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "industrial"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#222222"
+ }
+ },
+ {
+ "id": "landuse_school",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "school",
+ "university",
+ "college"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#262323"
+ }
+ },
+ {
+ "id": "landuse_beach",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "beach"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#28282a"
+ }
+ },
+ {
+ "id": "landuse_zoo",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "zoo"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#222323"
+ }
+ },
+ {
+ "id": "landuse_military",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "military",
+ "naval_base",
+ "airfield"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#222323"
+ }
+ },
+ {
+ "id": "natural_wood",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "wood",
+ "nature_reserve",
+ "forest"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#202121",
+ 12,
+ "#202121"
+ ]
+ }
+ },
+ {
+ "id": "landuse_pedestrian",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pedestrian"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#1e1e1e"
+ }
+ },
+ {
+ "id": "natural_scrub",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "in",
+ "pmap:kind",
+ "scrub",
+ "grassland",
+ "grass"
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#222323",
+ 12,
+ "#222323"
+ ]
+ }
+ },
+ {
+ "id": "natural_glacier",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "glacier"
+ ],
+ "paint": {
+ "fill-color": "#1c1c1c"
+ }
+ },
+ {
+ "id": "natural_sand",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "sand"
+ ],
+ "paint": {
+ "fill-color": "#212123"
+ }
+ },
+ {
+ "id": "landuse_aerodrome",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "aerodrome"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#1e1e1e"
+ }
+ },
+ {
+ "id": "transit_runway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind_detail",
+ "runway"
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 12,
+ 4,
+ 18,
+ 30
+ ]
+ }
+ },
+ {
+ "id": "transit_taxiway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "minzoom": 13,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind_detail",
+ "taxiway"
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 15,
+ 6
+ ]
+ }
+ },
+ {
+ "id": "water",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "water",
+ "paint": {
+ "fill-color": "#34373d"
+ }
+ },
+ {
+ "id": "landuse_pier",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#222222"
+ }
+ },
+ {
+ "id": "roads_tunnels_other_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#141414",
+ "line-dasharray": [
+ 6,
+ 0.5
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-dasharray": [
+ 4.5,
+ 0.5
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#292929",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "physical_line_stream",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 14,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "stream"
+ ]
+ ],
+ "paint": {
+ "line-color": "#34373d",
+ "line-width": 0.5
+ }
+ },
+ {
+ "id": "physical_line_river",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 9,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "river"
+ ]
+ ],
+ "paint": {
+ "line-color": "#34373d",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1,
+ 18,
+ 12
+ ]
+ }
+ },
+ {
+ "id": "buildings",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "buildings",
+ "paint": {
+ "fill-color": "#111111",
+ "fill-opacity": 0.5
+ }
+ },
+ {
+ "id": "transit_pier",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 0.5,
+ 20,
+ 16
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_late",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_late",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-dasharray": [
+ 3,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#3d3d3d",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ "#3d3d3d",
+ 16,
+ "#333333"
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#3d3d3d",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_early",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#3d3d3d",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_early",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#474747",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "transit_railway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:kind",
+ "rail"
+ ]
+ ],
+ "paint": {
+ "line-dasharray": [
+ 0.3,
+ 0.75
+ ],
+ "line-opacity": 0.5,
+ "line-color": "#000000",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 0.15,
+ 18,
+ 9
+ ]
+ }
+ },
+ {
+ "id": "boundaries_country",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "boundaries",
+ "filter": [
+ "<=",
+ "pmap:min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "#5b6374",
+ "line-width": 1,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "boundaries",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "boundaries",
+ "filter": [
+ ">",
+ "pmap:min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "#5b6374",
+ "line-width": 0.5,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#2b2b2b",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 10
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-dasharray": [
+ 2,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#333333",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#3d3d3d",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#3d3d3d",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#1f1f1f",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#474747",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "physical_line_waterway_label",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "river",
+ "stream"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12,
+ "text-letter-spacing": 0.3
+ },
+ "paint": {
+ "text-color": "#717784"
+ }
+ },
+ {
+ "id": "physical_point_peak",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "peak"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Italic"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 8,
+ 16,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#898080",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "roads_labels_minor",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 15,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "minor_road",
+ "other",
+ "path"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#525252",
+ "text-halo-color": "#1f1f1f",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "physical_point_ocean",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "sea",
+ "ocean",
+ "lake",
+ "water",
+ "bay",
+ "strait",
+ "fjord"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 10,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9,
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#717784"
+ }
+ },
+ {
+ "id": "physical_point_lakes",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "lake",
+ "water"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 12,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#717784"
+ }
+ },
+ {
+ "id": "roads_labels_major",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 11,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "highway",
+ "major_road",
+ "medium_road"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#666666",
+ "text-halo-color": "#1f1f1f",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_subplace",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "neighbourhood"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": "{name}",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-max-width": 7,
+ "text-letter-spacing": 0.1,
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 2,
+ 8,
+ 4,
+ 12,
+ 18,
+ 15,
+ 20
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "exponential",
+ 1.2
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 8,
+ 14,
+ 14,
+ 18,
+ 24
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#525252",
+ "text-halo-color": "#1f1f1f",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "pois_important",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "pois",
+ "filter": [
+ "any",
+ [
+ "<",
+ [
+ "get",
+ "pmap:min_zoom"
+ ],
+ 13
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 11,
+ "text-max-width": 9,
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 14,
+ 2,
+ 16,
+ 20,
+ 17,
+ 2,
+ 22,
+ 2
+ ]
+ },
+ "paint": {
+ "text-color": "#525252",
+ "text-halo-color": "#1f1f1f",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "places_locality_circle",
+ "type": "circle",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "locality"
+ ],
+ "paint": {
+ "circle-radius": 2,
+ "circle-stroke-width": 1.5,
+ "circle-stroke-color": "#7a7a7a",
+ "circle-color": "#000000",
+ "circle-translate": [
+ -6,
+ 0
+ ]
+ },
+ "maxzoom": 8
+ },
+ {
+ "id": "places_locality",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "locality"
+ ],
+ "layout": {
+ "text-field": "{name}",
+ "text-font": [
+ "case",
+ [
+ "<=",
+ [
+ "get",
+ "pmap:min_zoom"
+ ],
+ 5
+ ],
+ [
+ "literal",
+ [
+ "Roboto Medium"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Roboto Regular"
+ ]
+ ]
+ ],
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 3,
+ 8,
+ 7,
+ 12,
+ 11
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 13,
+ 0
+ ],
+ 4,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 15,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 12
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 12
+ ],
+ 17,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 11
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 11
+ ],
+ 18,
+ 0
+ ],
+ 10,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 9
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 9
+ ],
+ 20,
+ 0
+ ],
+ 15,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 22,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 8,
+ 4,
+ 10,
+ 8,
+ 12,
+ 6,
+ 22,
+ 2
+ ],
+ "text-anchor": [
+ "step",
+ [
+ "zoom"
+ ],
+ "left",
+ 8,
+ "center"
+ ],
+ "text-radial-offset": 0.2
+ },
+ "paint": {
+ "text-color": "#7a7a7a",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "places_region",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "region"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": [
+ "step",
+ [
+ "zoom"
+ ],
+ [
+ "get",
+ "name:short"
+ ],
+ 5,
+ [
+ "get",
+ "name"
+ ]
+ ],
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 11,
+ 7,
+ 24
+ ],
+ "text-radial-offset": 0.2,
+ "text-anchor": "center",
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#3d3d3d",
+ "text-halo-color": "#1f1f1f",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_country",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "country"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": "{name}",
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 10
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 10
+ ],
+ 12,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 18,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 7
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 7
+ ],
+ 20,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 14,
+ 2,
+ 16,
+ 20,
+ 17,
+ 2,
+ 22,
+ 2
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#5c5c5c"
+ }
+ }
+]
\ No newline at end of file
diff --git a/assets/blog/pmtiles/hackney.pmtiles b/assets/blog/pmtiles/hackney.pmtiles
new file mode 100644
index 0000000..692caf3
Binary files /dev/null and b/assets/blog/pmtiles/hackney.pmtiles differ
diff --git a/assets/blog/pmtiles/layers.json b/assets/blog/pmtiles/layers.json
new file mode 100644
index 0000000..ed52b11
--- /dev/null
+++ b/assets/blog/pmtiles/layers.json
@@ -0,0 +1,3215 @@
+[
+ {
+ "id": "background",
+ "type": "background",
+ "paint": {
+ "background-color": "#a3a3a3"
+ }
+ },
+ {
+ "id": "earth",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "earth",
+ "paint": {
+ "fill-color": "#cccccc"
+ }
+ },
+ {
+ "id": "landuse_park",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "national_park",
+ "park",
+ "cemetery",
+ "protected_area",
+ "nature_reserve",
+ "forest",
+ "golf_course"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#c2c2c2",
+ 12,
+ "#c2c2c2"
+ ]
+ }
+ },
+ {
+ "id": "landuse_hospital",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "hospital"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#d0d0d0"
+ }
+ },
+ {
+ "id": "landuse_industrial",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "industrial"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#c6c6c6"
+ }
+ },
+ {
+ "id": "landuse_school",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "school",
+ "university",
+ "college"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#d0d0d0"
+ }
+ },
+ {
+ "id": "landuse_beach",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "beach"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#d2d2d2"
+ }
+ },
+ {
+ "id": "landuse_zoo",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "zoo"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#c7c7c7"
+ }
+ },
+ {
+ "id": "landuse_military",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "military",
+ "naval_base",
+ "airfield"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#c7c7c7"
+ }
+ },
+ {
+ "id": "natural_wood",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "wood",
+ "nature_reserve",
+ "forest"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#c2c2c2",
+ 12,
+ "#c2c2c2"
+ ]
+ }
+ },
+ {
+ "id": "landuse_pedestrian",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pedestrian"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#c4c4c4"
+ }
+ },
+ {
+ "id": "natural_scrub",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "in",
+ "pmap:kind",
+ "scrub",
+ "grassland",
+ "grass"
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#c2c2c2",
+ 12,
+ "#c2c2c2"
+ ]
+ }
+ },
+ {
+ "id": "natural_glacier",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "glacier"
+ ],
+ "paint": {
+ "fill-color": "#d2d2d2"
+ }
+ },
+ {
+ "id": "natural_sand",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "sand"
+ ],
+ "paint": {
+ "fill-color": "#d2d2d2"
+ }
+ },
+ {
+ "id": "landuse_aerodrome",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "aerodrome"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#c9c9c9"
+ }
+ },
+ {
+ "id": "transit_runway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind_detail",
+ "runway"
+ ]
+ ],
+ "paint": {
+ "line-color": "#f5f5f5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 12,
+ 4,
+ 18,
+ 30
+ ]
+ }
+ },
+ {
+ "id": "transit_taxiway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "minzoom": 13,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind_detail",
+ "taxiway"
+ ]
+ ],
+ "paint": {
+ "line-color": "#f5f5f5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 15,
+ 6
+ ]
+ }
+ },
+ {
+ "id": "water",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "water",
+ "paint": {
+ "fill-color": "#a3a3a3"
+ }
+ },
+ {
+ "id": "landuse_pier",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#b8b8b8"
+ }
+ },
+ {
+ "id": "roads_tunnels_other_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#b8b8b8",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#b8b8b8",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#b8b8b8",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#b8b8b8",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#b8b8b8",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#b8b8b8",
+ "line-dasharray": [
+ 6,
+ 0.5
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#d6d6d6",
+ "line-dasharray": [
+ 4.5,
+ 0.5
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#d6d6d6",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#d6d6d6",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#d6d6d6",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#d6d6d6",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#d6d6d6",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "physical_line_stream",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 14,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "stream"
+ ]
+ ],
+ "paint": {
+ "line-color": "#a3a3a3",
+ "line-width": 0.5
+ }
+ },
+ {
+ "id": "physical_line_river",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 9,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "river"
+ ]
+ ],
+ "paint": {
+ "line-color": "#a3a3a3",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1,
+ 18,
+ 12
+ ]
+ }
+ },
+ {
+ "id": "buildings",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "buildings",
+ "paint": {
+ "fill-color": "#e0e0e0",
+ "fill-opacity": 0.5
+ }
+ },
+ {
+ "id": "transit_pier",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "line-color": "#b8b8b8",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 0.5,
+ 20,
+ 16
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_late",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_late",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-dasharray": [
+ 3,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ "#ebebeb",
+ 16,
+ "#e0e0e0"
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_early",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_early",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "transit_railway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:kind",
+ "rail"
+ ]
+ ],
+ "paint": {
+ "line-dasharray": [
+ 0.3,
+ 0.75
+ ],
+ "line-opacity": 0.5,
+ "line-color": "#f5f5f5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 0.15,
+ 18,
+ 9
+ ]
+ }
+ },
+ {
+ "id": "boundaries_country",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "boundaries",
+ "filter": [
+ "<=",
+ "pmap:min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "#5c5c5c",
+ "line-width": 1,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "boundaries",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "boundaries",
+ "filter": [
+ ">",
+ "pmap:min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "#5c5c5c",
+ "line-width": 0.5,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 10
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-dasharray": [
+ 2,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#cccccc",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "physical_line_waterway_label",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "river",
+ "stream"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12,
+ "text-letter-spacing": 0.3
+ },
+ "paint": {
+ "text-color": "#7a7a7a"
+ }
+ },
+ {
+ "id": "physical_point_peak",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "peak"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Italic"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 8,
+ 16,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#5c5c5c",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "roads_labels_minor",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 15,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "minor_road",
+ "other",
+ "path"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#999999",
+ "text-halo-color": "#e0e0e0",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "physical_point_ocean",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "sea",
+ "ocean",
+ "lake",
+ "water",
+ "bay",
+ "strait",
+ "fjord"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 10,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9,
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#7a7a7a"
+ }
+ },
+ {
+ "id": "physical_point_lakes",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "lake",
+ "water"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 12,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#7a7a7a"
+ }
+ },
+ {
+ "id": "roads_labels_major",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 11,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "highway",
+ "major_road",
+ "medium_road"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#8f8f8f",
+ "text-halo-color": "#ebebeb",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_subplace",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "neighbourhood"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": "{name}",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-max-width": 7,
+ "text-letter-spacing": 0.1,
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 2,
+ 8,
+ 4,
+ 12,
+ 18,
+ 15,
+ 20
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "exponential",
+ 1.2
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 8,
+ 14,
+ 14,
+ 18,
+ 24
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#7a7a7a",
+ "text-halo-color": "#cccccc",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "pois_important",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "pois",
+ "filter": [
+ "any",
+ [
+ "<",
+ [
+ "get",
+ "pmap:min_zoom"
+ ],
+ 13
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 11,
+ "text-max-width": 9,
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 14,
+ 2,
+ 16,
+ 20,
+ 17,
+ 2,
+ 22,
+ 2
+ ]
+ },
+ "paint": {
+ "text-color": "#7a7a7a",
+ "text-halo-color": "#cccccc",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "places_locality_circle",
+ "type": "circle",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "locality"
+ ],
+ "paint": {
+ "circle-radius": 2,
+ "circle-stroke-width": 1.5,
+ "circle-stroke-color": "#7a7a7a",
+ "circle-color": "#c2c2c2",
+ "circle-translate": [
+ -6,
+ 0
+ ]
+ },
+ "maxzoom": 8
+ },
+ {
+ "id": "places_locality",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "locality"
+ ],
+ "layout": {
+ "text-field": "{name}",
+ "text-font": [
+ "case",
+ [
+ "<=",
+ [
+ "get",
+ "pmap:min_zoom"
+ ],
+ 5
+ ],
+ [
+ "literal",
+ [
+ "Roboto Medium"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Roboto Regular"
+ ]
+ ]
+ ],
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 3,
+ 8,
+ 7,
+ 12,
+ 11
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 13,
+ 0
+ ],
+ 4,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 15,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 12
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 12
+ ],
+ 17,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 11
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 11
+ ],
+ 18,
+ 0
+ ],
+ 10,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 9
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 9
+ ],
+ 20,
+ 0
+ ],
+ 15,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 22,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 8,
+ 4,
+ 10,
+ 8,
+ 12,
+ 6,
+ 22,
+ 2
+ ],
+ "text-anchor": [
+ "step",
+ [
+ "zoom"
+ ],
+ "left",
+ 8,
+ "center"
+ ],
+ "text-radial-offset": 0.2
+ },
+ "paint": {
+ "text-color": "#474747",
+ "text-halo-color": "#cccccc",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "places_region",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "region"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": [
+ "step",
+ [
+ "zoom"
+ ],
+ [
+ "get",
+ "name:short"
+ ],
+ 5,
+ [
+ "get",
+ "name"
+ ]
+ ],
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 11,
+ 7,
+ 24
+ ],
+ "text-radial-offset": 0.2,
+ "text-anchor": "center",
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#999999",
+ "text-halo-color": "#cccccc",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_country",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "country"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": "{name}",
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 10
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 10
+ ],
+ 12,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 18,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 7
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 7
+ ],
+ 20,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 14,
+ 2,
+ 16,
+ 20,
+ 17,
+ 2,
+ 22,
+ 2
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#858585"
+ }
+ }
+]
\ No newline at end of file
diff --git a/assets/blog/pmtiles/light.json b/assets/blog/pmtiles/light.json
new file mode 100644
index 0000000..bd701af
--- /dev/null
+++ b/assets/blog/pmtiles/light.json
@@ -0,0 +1,3215 @@
+[
+ {
+ "id": "background",
+ "type": "background",
+ "paint": {
+ "background-color": "#cccccc"
+ }
+ },
+ {
+ "id": "earth",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "earth",
+ "paint": {
+ "fill-color": "#e0e0e0"
+ }
+ },
+ {
+ "id": "landuse_park",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "national_park",
+ "park",
+ "cemetery",
+ "protected_area",
+ "nature_reserve",
+ "forest",
+ "golf_course"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#cfddd5",
+ 12,
+ "#9cd3b4"
+ ]
+ }
+ },
+ {
+ "id": "landuse_hospital",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "hospital"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#e4dad9"
+ }
+ },
+ {
+ "id": "landuse_industrial",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "industrial"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#d1dde1"
+ }
+ },
+ {
+ "id": "landuse_school",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "school",
+ "university",
+ "college"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#e4ded7"
+ }
+ },
+ {
+ "id": "landuse_beach",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "beach"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#e8e4d0"
+ }
+ },
+ {
+ "id": "landuse_zoo",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "zoo"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#c6dcdc"
+ }
+ },
+ {
+ "id": "landuse_military",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "military",
+ "naval_base",
+ "airfield"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#c6dcdc"
+ }
+ },
+ {
+ "id": "natural_wood",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "wood",
+ "nature_reserve",
+ "forest"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#d0ded0",
+ 12,
+ "#a0d9a0"
+ ]
+ }
+ },
+ {
+ "id": "landuse_pedestrian",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pedestrian"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#e3e0d4"
+ }
+ },
+ {
+ "id": "natural_scrub",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "in",
+ "pmap:kind",
+ "scrub",
+ "grassland",
+ "grass"
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#cedcd7",
+ 12,
+ "#99d2bb"
+ ]
+ }
+ },
+ {
+ "id": "natural_glacier",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "glacier"
+ ],
+ "paint": {
+ "fill-color": "#e7e7e7"
+ }
+ },
+ {
+ "id": "natural_sand",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "natural",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "sand"
+ ],
+ "paint": {
+ "fill-color": "#e2e0d7"
+ }
+ },
+ {
+ "id": "landuse_aerodrome",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "aerodrome"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#dadbdf"
+ }
+ },
+ {
+ "id": "transit_runway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind_detail",
+ "runway"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e9e9ed",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 12,
+ 4,
+ 18,
+ 30
+ ]
+ }
+ },
+ {
+ "id": "transit_taxiway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "minzoom": 13,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind_detail",
+ "taxiway"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e9e9ed",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 15,
+ 6
+ ]
+ }
+ },
+ {
+ "id": "water",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "water",
+ "paint": {
+ "fill-color": "#80deea"
+ }
+ },
+ {
+ "id": "landuse_pier",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#e0e0e0"
+ }
+ },
+ {
+ "id": "roads_tunnels_other_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-dasharray": [
+ 6,
+ 0.5
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#d5d5d5",
+ "line-dasharray": [
+ 4.5,
+ 0.5
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#d5d5d5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#d5d5d5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#d5d5d5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#d5d5d5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#d5d5d5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "physical_line_stream",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 14,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "stream"
+ ]
+ ],
+ "paint": {
+ "line-color": "#80deea",
+ "line-width": 0.5
+ }
+ },
+ {
+ "id": "physical_line_river",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 9,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "river"
+ ]
+ ],
+ "paint": {
+ "line-color": "#80deea",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1,
+ 18,
+ 12
+ ]
+ }
+ },
+ {
+ "id": "buildings",
+ "type": "fill",
+ "source": "static_hackney",
+ "source-layer": "buildings",
+ "paint": {
+ "fill-color": "#cccccc",
+ "fill-opacity": 0.5
+ }
+ },
+ {
+ "id": "transit_pier",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 0.5,
+ 20,
+ 16
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_late",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_late",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-dasharray": [
+ 3,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#ffffff",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "pmap:kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ "#ebebeb",
+ 16,
+ "#ffffff"
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#f5f5f5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_early",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#ffffff",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_early",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#ffffff",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "transit_railway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "transit",
+ "filter": [
+ "all",
+ [
+ "==",
+ "pmap:kind",
+ "rail"
+ ]
+ ],
+ "paint": {
+ "line-dasharray": [
+ 0.3,
+ 0.75
+ ],
+ "line-opacity": 0.5,
+ "line-color": "#a7b1b3",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 0.15,
+ 18,
+ 9
+ ]
+ }
+ },
+ {
+ "id": "boundaries_country",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "boundaries",
+ "filter": [
+ "<=",
+ "pmap:min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "#adadad",
+ "line-width": 1,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "boundaries",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "boundaries",
+ "filter": [
+ ">",
+ "pmap:min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "#adadad",
+ "line-width": 0.5,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 10
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "in",
+ "pmap:kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "#ebebeb",
+ "line-dasharray": [
+ 2,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#ffffff",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#ffffff",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#f0eded",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "#f5f5f5",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway_casing",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#e0e0e0",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway",
+ "type": "line",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ ">",
+ "pmap:level",
+ 0
+ ],
+ [
+ "==",
+ "pmap:kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "pmap:link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "#ffffff",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "physical_line_waterway_label",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_line",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "in",
+ "pmap:kind",
+ "river",
+ "stream"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12,
+ "text-letter-spacing": 0.3
+ },
+ "paint": {
+ "text-color": "#ffffff"
+ }
+ },
+ {
+ "id": "physical_point_peak",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "==",
+ "pmap:kind",
+ "peak"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Italic"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 8,
+ 16,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#7e9aa0",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "roads_labels_minor",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 15,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "minor_road",
+ "other",
+ "path"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#91888b",
+ "text-halo-color": "#ffffff",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "physical_point_ocean",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "sea",
+ "ocean",
+ "lake",
+ "water",
+ "bay",
+ "strait",
+ "fjord"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 10,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9,
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#ffffff"
+ }
+ },
+ {
+ "id": "physical_point_lakes",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "physical_point",
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "lake",
+ "water"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 12,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#ffffff"
+ }
+ },
+ {
+ "id": "roads_labels_major",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "roads",
+ "minzoom": 11,
+ "filter": [
+ "any",
+ [
+ "in",
+ "pmap:kind",
+ "highway",
+ "major_road",
+ "medium_road"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#938a8d",
+ "text-halo-color": "#ffffff",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_subplace",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "neighbourhood"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": "{name}",
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-max-width": 7,
+ "text-letter-spacing": 0.1,
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 2,
+ 8,
+ 4,
+ 12,
+ 18,
+ 15,
+ 20
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "exponential",
+ 1.2
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 8,
+ 14,
+ 14,
+ 18,
+ 24
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#8f8f8f",
+ "text-halo-color": "#e0e0e0",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "pois_important",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "pois",
+ "filter": [
+ "any",
+ [
+ "<",
+ [
+ "get",
+ "pmap:min_zoom"
+ ],
+ 13
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-field": [
+ "get",
+ "name"
+ ],
+ "text-size": 11,
+ "text-max-width": 9,
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 14,
+ 2,
+ 16,
+ 20,
+ 17,
+ 2,
+ 22,
+ 2
+ ]
+ },
+ "paint": {
+ "text-color": "#8f8f8f",
+ "text-halo-color": "#e0e0e0",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "places_locality_circle",
+ "type": "circle",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "locality"
+ ],
+ "paint": {
+ "circle-radius": 2,
+ "circle-stroke-width": 1.5,
+ "circle-stroke-color": "#a3a3a3",
+ "circle-color": "#ffffff",
+ "circle-translate": [
+ -6,
+ 0
+ ]
+ },
+ "maxzoom": 8
+ },
+ {
+ "id": "places_locality",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "locality"
+ ],
+ "layout": {
+ "text-field": "{name}",
+ "text-font": [
+ "case",
+ [
+ "<=",
+ [
+ "get",
+ "pmap:min_zoom"
+ ],
+ 5
+ ],
+ [
+ "literal",
+ [
+ "Roboto Medium"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Roboto Regular"
+ ]
+ ]
+ ],
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 3,
+ 8,
+ 7,
+ 12,
+ 11
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 13,
+ 0
+ ],
+ 4,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 13
+ ],
+ 15,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 12
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 12
+ ],
+ 17,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 11
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 11
+ ],
+ 18,
+ 0
+ ],
+ 10,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 9
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 9
+ ],
+ 20,
+ 0
+ ],
+ 15,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 22,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 8,
+ 4,
+ 10,
+ 8,
+ 12,
+ 6,
+ 22,
+ 2
+ ],
+ "text-anchor": [
+ "step",
+ [
+ "zoom"
+ ],
+ "left",
+ 8,
+ "center"
+ ],
+ "text-radial-offset": 0.2
+ },
+ "paint": {
+ "text-color": "#5c5c5c",
+ "text-halo-color": "#e0e0e0",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "places_region",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "region"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": [
+ "step",
+ [
+ "zoom"
+ ],
+ [
+ "get",
+ "name:short"
+ ],
+ 5,
+ [
+ "get",
+ "name"
+ ]
+ ],
+ "text-font": [
+ "Roboto Regular"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 11,
+ 7,
+ 24
+ ],
+ "text-radial-offset": 0.2,
+ "text-anchor": "center",
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#b3b3b3",
+ "text-halo-color": "#e0e0e0",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_country",
+ "type": "symbol",
+ "source": "static_hackney",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "pmap:kind",
+ "country"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "pmap:min_zoom"
+ ],
+ "text-field": "{name}",
+ "text-font": [
+ "Roboto Medium"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 10
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 10
+ ],
+ 12,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 8
+ ],
+ 18,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 7
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "pmap:population_rank"
+ ],
+ 7
+ ],
+ 20,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 14,
+ 2,
+ 16,
+ 20,
+ 17,
+ 2,
+ 22,
+ 2
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#a3a3a3"
+ }
+ }
+]
\ No newline at end of file