Created
December 2, 2025 23:29
-
-
Save blacha/abf1b312c4f272cdd0b6f9a98dee298e to your computer and use it in GitHub Desktop.
topographic-v2-opacity.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": "st_topolite-v2", | |
| "version": 8, | |
| "name": "topolite-v2", | |
| "metadata": { | |
| "maputnik:renderer": "mbgljs" | |
| }, | |
| "sprite": "https://basemaps.linz.govt.nz/v1/sprites/topographic", | |
| "glyphs": "https://basemaps.linz.govt.nz/v1/fonts/{fontstack}/{range}.pbf", | |
| "sources": { | |
| "LINZ Basemaps": { | |
| "attribution": "© 2022 Toitū Te Whenua - CC BY 4.0", | |
| "type": "vector", | |
| "url": "https://basemaps.linz.govt.nz/v1/tiles/topographic-v2/WebMercatorQuad/tile.json?api=d01g12h7xnfe9zyf1peg4rksv70" | |
| }, | |
| "LINZ-Elevation-Hillshade": { | |
| "maxzoom": 18, | |
| "minzoom": 0, | |
| "tileSize": 256, | |
| "tiles": [ | |
| "https://basemaps.linz.govt.nz/v1/tiles/elevation/WebMercatorQuad/{z}/{x}/{y}.png?pipeline=terrain-rgb&api=d01g12h7xnfe9zyf1peg4rksv70" | |
| ], | |
| "type": "raster-dem" | |
| }, | |
| "LINZ-Terrain": { | |
| "type": "raster-dem", | |
| "tileSize": 256, | |
| "maxzoom": 18, | |
| "tiles": [ | |
| "https://basemaps.linz.govt.nz/v1/tiles/elevation/WebMercatorQuad/{z}/{x}/{y}.png?api=d01g12h7xnfe9zyf1peg4rksv70&pipeline=terrain-rgb" | |
| ] | |
| }, | |
| "LINZ-Terrain-DSM": { | |
| "type": "raster-dem", | |
| "tileSize": 256, | |
| "maxzoom": 18, | |
| "tiles": [ | |
| "https://basemaps.linz.govt.nz/v1/tiles/elevation-dsm/WebMercatorQuad/{z}/{x}/{y}.png?api=d01g12h7xnfe9zyf1peg4rksv70&pipeline=terrain-rgb" | |
| ] | |
| }, | |
| "rasterHillshadeIgor": { | |
| "type": "raster", | |
| "tiles": [ | |
| "https://basemaps.linz.govt.nz/v1/tiles/hillshade-igor/WebMercatorQuad/{z}/{x}/{y}.png?&api=d01g12h7xnfe9zyf1peg4rksv70" | |
| ], | |
| "tileSize": 256 | |
| }, | |
| "elevationDem": { | |
| "type": "raster-dem", | |
| "tiles": [ | |
| "https://basemaps.linz.govt.nz/v1/tiles/elevation/WebMercatorQuad/{z}/{x}/{y}.png?pipeline=terrain-rgb&api=d01g12h7xnfe9zyf1peg4rksv70" | |
| ], | |
| "tileSize": 256, | |
| "maxzoom": 20 | |
| }, | |
| "elevationDsm": { | |
| "type": "raster-dem", | |
| "tiles": [ | |
| "https://basemaps.linz.govt.nz/v1/tiles/elevation-dsm/WebMercatorQuad/{z}/{x}/{y}.png?pipeline=terrain-rgb&api=d01g12h7xnfe9zyf1peg4rksv70" | |
| ], | |
| "tileSize": 256, | |
| "maxzoom": 20 | |
| }, | |
| "elevationDemTerrain": { | |
| "type": "raster-dem", | |
| "tiles": [ | |
| "https://basemaps.linz.govt.nz/v1/tiles/elevation/WebMercatorQuad/{z}/{x}/{y}.png?pipeline=terrain-rgb&api=d01g12h7xnfe9zyf1peg4rksv70" | |
| ], | |
| "tileSize": 256, | |
| "maxzoom": 20 | |
| }, | |
| "hillshadeOld": { | |
| "type": "raster", | |
| "tiles": [ | |
| "https://dev.basemaps.linz.govt.nz/v1/tiles/geographx-nz-dem-2012-8m/WebMercatorQuad/{z}/{x}/{y}.webp?api=d01g12h7xnfe9zyf1peg4rksv70" | |
| ], | |
| "tileSize": 256, | |
| "maxzoom": 22 | |
| }, | |
| "hillshade": { | |
| "type": "raster", | |
| "tiles": [ | |
| "https://basemaps.linz.govt.nz/v1/tiles/hillshade-igor/WebMercatorQuad/{z}/{x}/{y}.webp?api=d01g12h7xnfe9zyf1peg4rksv70&config=s3://linz-basemaps-staging/config/config-H9tz1kmLKYAwHbXkRXJUG5mNqpydHm8ozum14ioZcVVX.json.gz&pipeline=color-ramp-opacity" | |
| ], | |
| "tileSize": 192, | |
| "maxzoom": 22 | |
| } | |
| }, | |
| "layers": [ | |
| { | |
| "id": "Background", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 0, | |
| "paint": { | |
| "background-color": "rgba(184, 220, 242, 1)" | |
| }, | |
| "type": "background" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "sand" | |
| ] | |
| ], | |
| "id": "Landcover-Sand", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 8, | |
| "paint": { | |
| "fill-color": "rgba(220, 205, 177, 0.3)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "mangrove" | |
| ] | |
| ], | |
| "id": "Landuse-Mangrove", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 12, | |
| "paint": { | |
| "fill-color": "rgba(184, 199, 155, 0.3)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all" | |
| ], | |
| "id": "Coastline2", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 0, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": { | |
| "stops": [ | |
| [ | |
| 1, | |
| "rgba(234, 233, 229, 1)" | |
| ], | |
| [ | |
| 10, | |
| "#FCFBF7" | |
| ] | |
| ] | |
| }, | |
| "fill-translate-anchor": "map" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "boundaries", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "scrub" | |
| ], | |
| [ | |
| "==", | |
| "distribution", | |
| "scattered" | |
| ] | |
| ], | |
| "id": "Vegetation-Scatteredscrub", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-antialias": false, | |
| "fill-color": "rgba(204, 222, 195, 0.4)", | |
| "fill-outline-color": "rgba(210, 210, 210, 0.1)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "scrub" | |
| ], | |
| [ | |
| "!has", | |
| "distribution" | |
| ] | |
| ], | |
| "id": "Vegetation-Scrub", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "rgba(199, 228, 183, 0.4)", | |
| "fill-outline-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(255, 255, 255, 0.1)" | |
| ], | |
| [ | |
| 10, | |
| "rgba(255, 255, 255, 0.1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(255, 255, 255, 0.1)" | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "tree", | |
| "exotic" | |
| ], | |
| [ | |
| "==", | |
| "landuse", | |
| "wood" | |
| ] | |
| ], | |
| "id": "Vegetation-Exotic", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 0, | |
| "paint": { | |
| "fill-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(157, 201, 139, 0.4)" | |
| ], | |
| [ | |
| 11, | |
| "rgba(194, 222, 171, 0.4)" | |
| ] | |
| ] | |
| }, | |
| "fill-outline-color": "rgba(210, 210, 210, 0)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "tree", | |
| "native" | |
| ] | |
| ], | |
| "id": "Vegetation-Native", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 0, | |
| "paint": { | |
| "fill-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(153, 191, 140, 0.4)" | |
| ], | |
| [ | |
| 9, | |
| "rgba(150, 185, 136, 0.4)" | |
| ], | |
| [ | |
| 11, | |
| "rgba(144, 183, 125, 0.4)" | |
| ], | |
| [ | |
| 14, | |
| "rgba(154, 191, 133, 0.4)" | |
| ] | |
| ] | |
| }, | |
| "fill-outline-color": "rgba(210, 210, 210, 0)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "ice" | |
| ] | |
| ], | |
| "id": "Landcover-Ice", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 0, | |
| "paint": { | |
| "fill-color": "rgba(255, 255, 255, 0.44)", | |
| "fill-outline-color": { | |
| "stops": [ | |
| [ | |
| 8, | |
| "rgba(255, 255, 255, 0.01)" | |
| ], | |
| [ | |
| 10, | |
| "rgba(211, 249, 249, 0.5)" | |
| ], | |
| [ | |
| 11, | |
| "rgba(57, 158, 158, 0.5)" | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "orchard" | |
| ] | |
| ], | |
| "id": "Landcover-Orchard", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "fill-color": "rgba(27, 127, 36, 0.1)", | |
| "fill-outline-color": "rgba(255, 255, 255, 1)", | |
| "fill-translate-anchor": "viewport" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "vineyard" | |
| ] | |
| ], | |
| "id": "Landcover-Vineyard", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "fill-antialias": false, | |
| "fill-color": "rgba(27, 127, 36, 0.2)", | |
| "fill-outline-color": "rgba(255, 255, 255, 1)", | |
| "fill-translate-anchor": "viewport" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "swamp" | |
| ] | |
| ], | |
| "id": "Landcover-Swamp-Fill", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(205, 232, 230, 1)" | |
| ], | |
| [ | |
| 14, | |
| "rgba(224, 236, 238, 1)" | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "any", | |
| [ | |
| "==", | |
| "kind", | |
| "mine" | |
| ], | |
| [ | |
| "==", | |
| "kind", | |
| "quarry" | |
| ] | |
| ], | |
| "id": "Poi-Mine-Quarry-Poly", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 12, | |
| "paint": { | |
| "fill-color": "rgba(205, 205, 205, 1)", | |
| "fill-opacity": 0.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "swamp" | |
| ] | |
| ], | |
| "id": "Landcover-Swamp-Ln", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 10, | |
| "rgba(0, 140, 204, 0.1)" | |
| ], | |
| [ | |
| 11, | |
| "rgba(0, 140, 204, 0.8)" | |
| ] | |
| ] | |
| }, | |
| "line-dasharray": [ | |
| 6, | |
| 6, | |
| 4, | |
| 4 | |
| ], | |
| "line-width": 0.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "!has", | |
| "designated" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "index" | |
| ], | |
| [ | |
| "!has", | |
| "nat_form" | |
| ] | |
| ], | |
| "id": "Contours-All", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 16, | |
| "minzoom": 9, | |
| "paint": { | |
| "line-color": "rgba(232, 184, 77, 0.75)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 0.3 | |
| ], | |
| [ | |
| 16, | |
| 0.2 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "contours", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "has", | |
| "designated" | |
| ] | |
| ], | |
| "id": "Contours-Designated", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 16, | |
| "minzoom": 9, | |
| "paint": { | |
| "line-color": "rgba(232, 184, 77, 0.75)", | |
| "line-dasharray": [ | |
| 30, | |
| 30 | |
| ], | |
| "line-width": 0.4 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "contours", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "type", | |
| "index" | |
| ] | |
| ], | |
| "id": "Contours-Index", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 16, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 10, | |
| "rgba(232, 184, 77, 0.5)" | |
| ], | |
| [ | |
| 15, | |
| "rgba(232, 184, 77, 0.5)" | |
| ] | |
| ] | |
| }, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.5 | |
| ], | |
| [ | |
| 15, | |
| 1.2 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "contours", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "has", | |
| "nat_form" | |
| ] | |
| ], | |
| "id": "Contours-Natural", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 16, | |
| "minzoom": 9, | |
| "paint": { | |
| "line-color": "rgba(232, 184, 77, 0.5)", | |
| "line-dasharray": [ | |
| 30, | |
| 10, | |
| 10, | |
| 10 | |
| ], | |
| "line-width": 0.6 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "contours", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "aerodrome" | |
| ] | |
| ], | |
| "id": "Aeroway-Airport", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "fill-color": "rgba(224, 224, 224, 0.7)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "street_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "runway" | |
| ], | |
| [ | |
| "==", | |
| "surface", | |
| "sealed" | |
| ] | |
| ], | |
| "id": "Aeroway-Airstrip-Sealed", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "fill-antialias": false, | |
| "fill-color": "rgba(209, 209, 209, 0.5)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "street_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "runway" | |
| ], | |
| [ | |
| "==", | |
| "surface", | |
| "sealed" | |
| ] | |
| ], | |
| "id": "Aeroway-Runway-Ln", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": "rgba(125, 125, 125, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 2, | |
| 1 | |
| ], | |
| [ | |
| 10, | |
| 0.7 | |
| ], | |
| [ | |
| 19, | |
| 0.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "street_polygons", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "runway" | |
| ], | |
| [ | |
| "!has", | |
| "surface" | |
| ] | |
| ], | |
| "id": "Aeroway-Airstrip-Ln", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": "rgba(125, 125, 125, 1)", | |
| "line-dasharray": [ | |
| 5, | |
| 5 | |
| ] | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "street_polygons", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "any", | |
| [ | |
| "==", | |
| "water", | |
| "lake" | |
| ], | |
| [ | |
| "==", | |
| "kind", | |
| "river" | |
| ], | |
| [ | |
| "==", | |
| "kind", | |
| "canal" | |
| ], | |
| [ | |
| "==", | |
| "water", | |
| "lagoon" | |
| ] | |
| ], | |
| "id": "Water-Polys-Outline", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(184, 220, 242, 1)" | |
| ], | |
| [ | |
| 13, | |
| "rgba(0, 140, 204, 0.3)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(0, 140, 204, 1)" | |
| ] | |
| ] | |
| }, | |
| "line-offset": 0, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 9, | |
| 1 | |
| ], | |
| [ | |
| 15, | |
| 2.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "canal" | |
| ], | |
| [ | |
| "has", | |
| "name" | |
| ] | |
| ], | |
| "id": "Water-Canal-Poly-Named", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 13, | |
| "minzoom": 9, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": "rgba(204, 232, 245, 1)", | |
| "fill-opacity": 1, | |
| "fill-outline-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(184, 220, 242, 1)" | |
| ], | |
| [ | |
| 13, | |
| "rgba(0, 140, 204, 0.3)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(0, 140, 204, 1)" | |
| ] | |
| ] | |
| }, | |
| "fill-translate-anchor": "map" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "water", | |
| "lagoon" | |
| ] | |
| ], | |
| "id": "Water-Lagoon", | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": "rgba(184, 220, 242, 1)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "water", | |
| "lake" | |
| ] | |
| ], | |
| "id": "Water-Lake", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 0, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": "rgba(184, 220, 242, 1)", | |
| "fill-opacity": 1, | |
| "fill-translate-anchor": "map" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "water", | |
| "lake" | |
| ], | |
| [ | |
| "has", | |
| "name" | |
| ] | |
| ], | |
| "id": "Water-Lake-Named", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 13, | |
| "minzoom": 8, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": "rgba(184, 220, 242, 1)", | |
| "fill-opacity": 1, | |
| "fill-translate-anchor": "map" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "river" | |
| ], | |
| [ | |
| "has", | |
| "name" | |
| ] | |
| ], | |
| "id": "Water-River-Poly-Named", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 13, | |
| "minzoom": 8, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": "rgba(184, 220, 242, 1)", | |
| "fill-opacity": 1, | |
| "fill-translate-anchor": "map" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "any", | |
| [ | |
| "==", | |
| "kind", | |
| "canal" | |
| ] | |
| ], | |
| "id": "Water-Canal-Poly", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 21, | |
| "minzoom": 13, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": "rgba(184, 220, 242, 1)", | |
| "fill-opacity": 1, | |
| "fill-translate-anchor": "map" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "any", | |
| [ | |
| "==", | |
| "kind", | |
| "river" | |
| ] | |
| ], | |
| "id": "Water-River-Poly", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 21, | |
| "minzoom": 13, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": "rgba(184, 220, 242, 1)", | |
| "fill-opacity": 1, | |
| "fill-translate-anchor": "map" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "reef" | |
| ] | |
| ], | |
| "id": "Water-Reef", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "line-color": "rgba(0, 140, 204, 1)", | |
| "line-dasharray": [ | |
| 12, | |
| 2 | |
| ], | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 2, | |
| 0.5 | |
| ], | |
| [ | |
| 10, | |
| 1 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "canal" | |
| ] | |
| ], | |
| "id": "Waterway-Canal-Ln", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 21, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 11, | |
| "rgba(167, 209, 232, 0.75)" | |
| ], | |
| [ | |
| 13, | |
| "rgba(76, 147, 226, 0.75)" | |
| ], | |
| [ | |
| 20, | |
| "rgba(0, 140, 204, 0.75)" | |
| ] | |
| ] | |
| }, | |
| "line-opacity": 1, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 1 | |
| ], | |
| [ | |
| 13, | |
| 0.75 | |
| ], | |
| [ | |
| 18, | |
| 0.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_lines", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "drain" | |
| ] | |
| ], | |
| "id": "Waterway-Drain-Ln", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 21, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 11, | |
| "rgba(167, 209, 232, 0.75)" | |
| ], | |
| [ | |
| 13, | |
| "rgba(76, 147, 226, 0.75)" | |
| ], | |
| [ | |
| 20, | |
| "rgba(0, 140, 204, 0.75)" | |
| ] | |
| ] | |
| }, | |
| "line-opacity": 1, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 1 | |
| ], | |
| [ | |
| 13, | |
| 0.75 | |
| ], | |
| [ | |
| 18, | |
| 0.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_lines", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "dry_dock" | |
| ] | |
| ], | |
| "id": "Water-Dry-Dock-ln", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 12, | |
| "paint": { | |
| "line-color": "rgba(73, 73, 73, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.75 | |
| ], | |
| [ | |
| 14, | |
| 1.5 | |
| ], | |
| [ | |
| 18, | |
| 2 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "river" | |
| ] | |
| ], | |
| "id": "Water-River-Ln", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 21, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 13, | |
| "rgba(76, 147, 226, 0.75)" | |
| ], | |
| [ | |
| 20, | |
| "rgba(0, 140, 204, 0.75)" | |
| ] | |
| ] | |
| }, | |
| "line-opacity": 1, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 13, | |
| 1 | |
| ], | |
| [ | |
| 18, | |
| 0.75 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_lines", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "river" | |
| ], | |
| [ | |
| "has", | |
| "name" | |
| ] | |
| ], | |
| "id": "Water-River-Ln-Named", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 13, | |
| "minzoom": 8, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 9, | |
| "rgba(125, 198, 215, 0.01)" | |
| ], | |
| [ | |
| 10, | |
| "rgba(125, 198, 215, 0.75)" | |
| ], | |
| [ | |
| 11, | |
| "rgba(167, 209, 232, 0.75)" | |
| ], | |
| [ | |
| 12, | |
| "rgba(167, 209, 232, 0.75)" | |
| ], | |
| [ | |
| 13, | |
| "rgba(76, 147, 226, 0.75)" | |
| ] | |
| ] | |
| }, | |
| "line-opacity": 1, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 1.5 | |
| ], | |
| [ | |
| 13, | |
| 1 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_lines", | |
| "type": "line" | |
| }, | |
| { | |
| "id": "hillshade", | |
| "source": "hillshade", | |
| "type": "raster", | |
| "paint": { | |
| "raster-opacity": { | |
| "stops": [ | |
| [ | |
| 0, | |
| 0.97 | |
| ], | |
| [ | |
| 8, | |
| 0.77 | |
| ], | |
| [ | |
| 12, | |
| 0.27 | |
| ], | |
| [ | |
| 32, | |
| 0.37 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "water_race" | |
| ] | |
| ], | |
| "id": "Waterway-WaterRace", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 13, | |
| "rgba(0, 140, 204, 0.3)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(0, 140, 204, 1)" | |
| ] | |
| ] | |
| }, | |
| "line-width": 0.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_lines", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "landfill" | |
| ] | |
| ], | |
| "id": "Landuse-Landfill", | |
| "minzoom": 12, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": "rgba(143, 104, 55, 0.45)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "pond" | |
| ] | |
| ], | |
| "id": "Landuse-Pond", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "fill-color": "rgba(184, 220, 242, 1)", | |
| "fill-outline-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(184, 220, 242, 1)" | |
| ], | |
| [ | |
| 13, | |
| "rgba(0, 140, 204, 0.3)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(0, 140, 204, 1)" | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "reservoir" | |
| ], | |
| [ | |
| "==", | |
| "lid_type", | |
| "covered" | |
| ] | |
| ], | |
| "id": "Landuse-Reservoir-Covered", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "fill-color": "rgba(148, 148, 148, 1)", | |
| "fill-outline-color": "rgba(18, 18, 18, 1)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "reservoir" | |
| ], | |
| [ | |
| "!=", | |
| "lid_type", | |
| "covered" | |
| ] | |
| ], | |
| "id": "Landuse-Reservoir-Empty", | |
| "minzoom": 10, | |
| "paint": { | |
| "fill-color": "rgba(184, 220, 242, 1)", | |
| "fill-outline-color": "rgba(18, 18, 18, 1)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "residential" | |
| ] | |
| ], | |
| "id": "Landuse-Residential", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 8, | |
| "paint": { | |
| "fill-color": { | |
| "stops": [ | |
| [ | |
| 1, | |
| "rgba(204, 204, 204, 1)" | |
| ], | |
| [ | |
| 10, | |
| "rgba(204, 204, 204, 0.95)" | |
| ], | |
| [ | |
| 13, | |
| "rgba(204, 204, 204, 0.6)" | |
| ], | |
| [ | |
| 15, | |
| "rgba(232, 232, 232, 0.4)" | |
| ], | |
| [ | |
| 22, | |
| "rgba(232, 232, 232, 0.1)" | |
| ] | |
| ] | |
| }, | |
| "fill-outline-color": "rgba(164, 164, 164, 0.01)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "golf_course" | |
| ] | |
| ], | |
| "id": "Landcover-GolfCourse", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "rgba(121, 195, 128, 0.2)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "id": "Coastline-Ln-2", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 0, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 1, | |
| "rgba(9, 132, 186, 0.5)" | |
| ], | |
| [ | |
| 6, | |
| "rgba(9, 132, 186, 0.5)" | |
| ], | |
| [ | |
| 10, | |
| "rgba(27, 152, 193, 0.5)" | |
| ], | |
| [ | |
| 16, | |
| "rgba(34, 164, 212, 0.5)" | |
| ] | |
| ] | |
| }, | |
| "line-translate-anchor": "map", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 6, | |
| 0.5 | |
| ], | |
| [ | |
| 10, | |
| 0.55 | |
| ], | |
| [ | |
| 15, | |
| 1.25 | |
| ], | |
| [ | |
| 20, | |
| 3.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "boundaries", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "fish_farm" | |
| ] | |
| ], | |
| "id": "Poi-FishFarm", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "rgb(112,172,242)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "sites", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "sports_field" | |
| ] | |
| ], | |
| "id": "Poi-SportsField", | |
| "paint": { | |
| "fill-color": "rgba(121, 195, 128, 0.2)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "sites", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "building", | |
| "storage_tank" | |
| ], | |
| [ | |
| "!has", | |
| "store_item" | |
| ] | |
| ], | |
| "id": "Poi-Storage-Tank-Empty", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 0, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(240, 240, 240, 0.85)" | |
| ], | |
| [ | |
| 10, | |
| "rgba(240, 240, 240, 0.85)" | |
| ] | |
| ] | |
| }, | |
| "fill-opacity": { | |
| "stops": [ | |
| [ | |
| 14, | |
| 1 | |
| ], | |
| [ | |
| 20, | |
| 0.2 | |
| ] | |
| ] | |
| }, | |
| "fill-outline-color": "rgba(67, 67, 67, 1)" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "buildings", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "siphon" | |
| ] | |
| ], | |
| "id": "Poi-Siphon", | |
| "minzoom": 12, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "building", | |
| "storage_tank" | |
| ], | |
| [ | |
| "!has", | |
| "store_item" | |
| ] | |
| ], | |
| "id": "Poi-Tank-Pt-Fill-Empty", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "circle-color": "rgba(255, 255, 255, 1)", | |
| "circle-opacity": { | |
| "stops": [ | |
| [ | |
| 14, | |
| 1 | |
| ], | |
| [ | |
| 20, | |
| 0.2 | |
| ] | |
| ] | |
| }, | |
| "circle-pitch-alignment": "map", | |
| "circle-radius": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 1.5 | |
| ], | |
| [ | |
| 15, | |
| 3.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "pois", | |
| "type": "circle" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "dredge_tailing" | |
| ] | |
| ], | |
| "id": "Poi-Dredge-Tailing", | |
| "minzoom": 12, | |
| "paint": { | |
| "line-color": "rgba(55, 55, 55, 1)", | |
| "line-opacity": 0.9, | |
| "line-pattern": "dredge_tailing_pnt", | |
| "line-width": 10 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "slipway" | |
| ] | |
| ], | |
| "id": "Poi-Slipway-Symbol-Dash", | |
| "paint": { | |
| "line-color": "rgba(64, 64, 64, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 1 | |
| ], | |
| [ | |
| 16, | |
| 4 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "slipway" | |
| ] | |
| ], | |
| "id": "Poi-Slipway-Symbol-Line", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "line-color": "rgba(64, 64, 64, 1)", | |
| "line-dasharray": [ | |
| 0.15, | |
| 0.4 | |
| ], | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 4 | |
| ], | |
| [ | |
| 16, | |
| 18 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "land", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "none", | |
| [ | |
| "==", | |
| "parcel_intent", | |
| "Road" | |
| ], | |
| [ | |
| "==", | |
| "parcel_intent", | |
| "Hydro" | |
| ] | |
| ], | |
| "id": "Parcels-Ln", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 15, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 8, | |
| "rgba(203, 203, 203, 1)" | |
| ], | |
| [ | |
| 16, | |
| "rgba(204, 204, 204, 1)" | |
| ], | |
| [ | |
| 24, | |
| "rgba(170, 170, 170, 1)" | |
| ] | |
| ] | |
| }, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 0.2 | |
| ], | |
| [ | |
| 16, | |
| 0.75 | |
| ], | |
| [ | |
| 24, | |
| 1.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "parcel_boundaries", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "building" | |
| ] | |
| ], | |
| "id": "Buildings", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 16, | |
| "paint": { | |
| "fill-antialias": true, | |
| "fill-color": { | |
| "stops": [ | |
| [ | |
| 15, | |
| "#DBDBD9" | |
| ], | |
| [ | |
| 17, | |
| "#DBDBD9" | |
| ], | |
| [ | |
| 18, | |
| "#DBDBD9" | |
| ], | |
| [ | |
| 19, | |
| "#DBDBD9" | |
| ] | |
| ] | |
| }, | |
| "fill-opacity": 1 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "buildings", | |
| "type": "fill" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "building" | |
| ] | |
| ], | |
| "id": "Buildings-Outline", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 16, | |
| "paint": { | |
| "line-color": "rgba(152, 145, 145,0.6)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 17, | |
| 0.5 | |
| ], | |
| [ | |
| 24, | |
| 1 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "buildings", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "bridge", | |
| true | |
| ], | |
| [ | |
| "==", | |
| "use_1", | |
| "foot traffic" | |
| ] | |
| ], | |
| "id": "Transport-Bridge-Foot", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": "rgba(78, 78, 78, 0.3)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.5 | |
| ], | |
| [ | |
| 15, | |
| 4 | |
| ], | |
| [ | |
| 19, | |
| 6 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "track" | |
| ], | |
| [ | |
| "==", | |
| "track_use", | |
| "foot" | |
| ] | |
| ], | |
| "id": "Transport-FootTracks-Shadow", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": "rgba(231, 231, 231, 0.4)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 13, | |
| 1.5 | |
| ], | |
| [ | |
| 15, | |
| 2.5 | |
| ], | |
| [ | |
| 19, | |
| 5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "track" | |
| ], | |
| [ | |
| "==", | |
| "track_use", | |
| "vehicle" | |
| ] | |
| ], | |
| "id": "Transport-VehicleTracks-Shadow", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-blur": 0.75, | |
| "line-color": "rgba(231, 231, 231, 0.4)", | |
| "line-dasharray": [ | |
| 8 | |
| ], | |
| "line-width": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13, | |
| 2 | |
| ], | |
| [ | |
| 15, | |
| 3 | |
| ], | |
| [ | |
| 19, | |
| 5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "lane_count", | |
| 1 | |
| ], | |
| [ | |
| "!=", | |
| "kind", | |
| "motorway" | |
| ] | |
| ], | |
| "id": "Transport-1Casing", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 18, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 10, | |
| "rgba(78, 78, 78, .1)" | |
| ], | |
| [ | |
| 17, | |
| "rgba(78, 78, 78, .1)" | |
| ], | |
| [ | |
| 18, | |
| "rgba(96, 96, 96, .1)" | |
| ] | |
| ] | |
| }, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 1.5 | |
| ], | |
| [ | |
| 12, | |
| 3 | |
| ], | |
| [ | |
| 13, | |
| 4.5 | |
| ], | |
| [ | |
| 15, | |
| 5.5 | |
| ], | |
| [ | |
| 18, | |
| 11 | |
| ], | |
| [ | |
| 19, | |
| 40 | |
| ], | |
| [ | |
| 22, | |
| 200 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "lane_count", | |
| 2, | |
| 3, | |
| 4, | |
| 5, | |
| 6, | |
| 7, | |
| 8 | |
| ], | |
| [ | |
| "!=", | |
| "kind", | |
| "motorway" | |
| ] | |
| ], | |
| "id": "Transport-2Casing", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 18, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 10, | |
| "rgba(78, 78, 78, 0.1)" | |
| ], | |
| [ | |
| 17, | |
| "rgba(78, 78, 78, 0.1)" | |
| ], | |
| [ | |
| 18, | |
| "rgba(96, 96, 96, 0.1)" | |
| ] | |
| ] | |
| }, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 11, | |
| 3.5 | |
| ], | |
| [ | |
| 12, | |
| 3.9 | |
| ], | |
| [ | |
| 13, | |
| 8 | |
| ], | |
| [ | |
| 15, | |
| 10 | |
| ], | |
| [ | |
| 18, | |
| 16 | |
| ], | |
| [ | |
| 19, | |
| 50 | |
| ], | |
| [ | |
| 22, | |
| 200 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "surface", | |
| "unmetalled" | |
| ], | |
| [ | |
| "==", | |
| "lane_count", | |
| 1 | |
| ] | |
| ], | |
| "id": "Transport-1UnMetalled", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": "rgba(255, 254, 252, 1)", | |
| "line-gap-width": 0, | |
| "line-translate-anchor": "map", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.5 | |
| ], | |
| [ | |
| 12, | |
| 1 | |
| ], | |
| [ | |
| 13, | |
| 2 | |
| ], | |
| [ | |
| 15, | |
| 3 | |
| ], | |
| [ | |
| 18, | |
| 8 | |
| ], | |
| [ | |
| 19, | |
| 35 | |
| ], | |
| [ | |
| 22, | |
| 180 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "surface", | |
| "metalled" | |
| ], | |
| [ | |
| "==", | |
| "lane_count", | |
| 1 | |
| ] | |
| ], | |
| "id": "Transport-1Metalled-White", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "line-color": "rgba(255, 254, 252, 1)", | |
| "line-gap-width": 0, | |
| "line-translate-anchor": "map", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.5 | |
| ], | |
| [ | |
| 11, | |
| 1 | |
| ], | |
| [ | |
| 13, | |
| 2 | |
| ], | |
| [ | |
| 15, | |
| 3 | |
| ], | |
| [ | |
| 18, | |
| 8 | |
| ], | |
| [ | |
| 19, | |
| 35 | |
| ], | |
| [ | |
| 22, | |
| 180 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "lane_count", | |
| 1 | |
| ], | |
| [ | |
| "!=", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "==", | |
| "status", | |
| "under construction" | |
| ] | |
| ], | |
| "id": "Transport-1-UnderCons", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "line-color": "rgba(96, 96, 96, 0.1)", | |
| "line-dasharray": [ | |
| 1, | |
| 5 | |
| ], | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.5 | |
| ], | |
| [ | |
| 11, | |
| 1 | |
| ], | |
| [ | |
| 13, | |
| 2 | |
| ], | |
| [ | |
| 15, | |
| 3 | |
| ], | |
| [ | |
| 18, | |
| 8 | |
| ], | |
| [ | |
| 19, | |
| 35 | |
| ], | |
| [ | |
| 22, | |
| 180 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "surface", | |
| "sealed" | |
| ], | |
| [ | |
| "==", | |
| "lane_count", | |
| 1 | |
| ], | |
| [ | |
| "!=", | |
| "kind", | |
| "motorway" | |
| ] | |
| ], | |
| "id": "Transport-1Sealed", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 10, | |
| "#fff" | |
| ], | |
| [ | |
| 17, | |
| "#fff" | |
| ], | |
| [ | |
| 19, | |
| "#fff" | |
| ] | |
| ] | |
| }, | |
| "line-gap-width": 0, | |
| "line-translate-anchor": "map", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.5 | |
| ], | |
| [ | |
| 11, | |
| 1 | |
| ], | |
| [ | |
| 13, | |
| 2 | |
| ], | |
| [ | |
| 15, | |
| 3 | |
| ], | |
| [ | |
| 18, | |
| 8 | |
| ], | |
| [ | |
| 19, | |
| 35 | |
| ], | |
| [ | |
| 22, | |
| 180 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "surface", | |
| "unmetalled" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 2, | |
| 3, | |
| 4, | |
| 5, | |
| 6, | |
| 7 | |
| ], | |
| [ | |
| "!=", | |
| "staus", | |
| "under construction" | |
| ] | |
| ], | |
| "id": "Transport-2UnMetalled", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "line-color": "rgba(255, 255, 255, 1)", | |
| "line-gap-width": 0, | |
| "line-translate-anchor": "map", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 1.35 | |
| ], | |
| [ | |
| 11, | |
| 1.75 | |
| ], | |
| [ | |
| 13, | |
| 4 | |
| ], | |
| [ | |
| 16, | |
| 7.5 | |
| ], | |
| [ | |
| 18, | |
| 14 | |
| ], | |
| [ | |
| 19, | |
| 55 | |
| ], | |
| [ | |
| 22, | |
| 380 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "surface", | |
| "metalled" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 2, | |
| 3, | |
| 4, | |
| 5, | |
| 6, | |
| 7 | |
| ] | |
| ], | |
| "id": "Transport-2Metalled-White", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "line-color": "rgba(255, 255, 255, 1)", | |
| "line-gap-width": 0, | |
| "line-translate-anchor": "map", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 1.35 | |
| ], | |
| [ | |
| 11, | |
| 1.75 | |
| ], | |
| [ | |
| 13, | |
| 4 | |
| ], | |
| [ | |
| 15, | |
| 7.5 | |
| ], | |
| [ | |
| 18, | |
| 14 | |
| ], | |
| [ | |
| 19, | |
| 55 | |
| ], | |
| [ | |
| 22, | |
| 380 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "status", | |
| "under construction" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 2, | |
| 3, | |
| 4, | |
| 5, | |
| 6, | |
| 7 | |
| ] | |
| ], | |
| "id": "Transport-2UnderContruction", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "line-color": "rgba(96, 96, 96, 0.1)", | |
| "line-dasharray": [ | |
| 1, | |
| 5 | |
| ], | |
| "line-gap-width": 0, | |
| "line-translate-anchor": "map", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 1.35 | |
| ], | |
| [ | |
| 11, | |
| 1.75 | |
| ], | |
| [ | |
| 13, | |
| 4 | |
| ], | |
| [ | |
| 16, | |
| 7.5 | |
| ], | |
| [ | |
| 18, | |
| 14 | |
| ], | |
| [ | |
| 19, | |
| 55 | |
| ], | |
| [ | |
| 22, | |
| 380 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "surface", | |
| "sealed" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 2, | |
| 3, | |
| 4, | |
| 5, | |
| 6, | |
| 7 | |
| ], | |
| [ | |
| "!=", | |
| "kind", | |
| "motorway" | |
| ] | |
| ], | |
| "id": "Transport-2+Sealed", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "line-color": "rgba(255, 255, 255, 1)", | |
| "line-gap-width": 0, | |
| "line-translate-anchor": "map", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 1 | |
| ], | |
| [ | |
| 11, | |
| 1 | |
| ], | |
| [ | |
| 12, | |
| 1.75 | |
| ], | |
| [ | |
| 13, | |
| 4 | |
| ], | |
| [ | |
| 15, | |
| 7.5 | |
| ], | |
| [ | |
| 18, | |
| 14 | |
| ], | |
| [ | |
| 19, | |
| 55 | |
| ], | |
| [ | |
| 22, | |
| 380 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "rail" | |
| ], | |
| [ | |
| "has", | |
| "rway_use" | |
| ] | |
| ], | |
| "id": "Transport-Railway-Siding", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": "rgba(67, 61, 61, 0.65)", | |
| "line-width": 1 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "rail" | |
| ], | |
| [ | |
| "==", | |
| "track_type", | |
| "single" | |
| ], | |
| [ | |
| "!has", | |
| "rway_use" | |
| ] | |
| ], | |
| "id": "Transport-Railway-Single", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": "rgba(67, 61, 61, 0.65)", | |
| "line-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "rail" | |
| ], | |
| [ | |
| "==", | |
| "track_type", | |
| "multiple" | |
| ] | |
| ], | |
| "id": "Transport-Railway-Multiple", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": "rgba(67, 61, 61, 0.65)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 11, | |
| 2.5 | |
| ], | |
| [ | |
| 19, | |
| 4 | |
| ], | |
| [ | |
| 20, | |
| 4 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "rail" | |
| ] | |
| ], | |
| "id": "Transport-Railway-High", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 11, | |
| "minzoom": 8, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 8, | |
| "rgba(158, 153, 153, 1)" | |
| ], | |
| [ | |
| 10, | |
| "rgba(96, 90, 90, 0.95)" | |
| ] | |
| ] | |
| }, | |
| "line-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ] | |
| ], | |
| "id": "Transport-Roads-9-Casing", | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 9, | |
| "minzoom": 0, | |
| "paint": { | |
| "line-color": "rgba(120, 120, 120, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 1, | |
| 0 | |
| ], | |
| [ | |
| 6, | |
| 0.5 | |
| ], | |
| [ | |
| 7, | |
| 1 | |
| ], | |
| [ | |
| 8, | |
| 3.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ] | |
| ], | |
| "id": "Transport-Roads-9", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 9, | |
| "minzoom": 0, | |
| "paint": { | |
| "line-color": "rgba(210, 162, 84, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 1, | |
| 0.1 | |
| ], | |
| [ | |
| 5, | |
| 0.4 | |
| ], | |
| [ | |
| 7, | |
| 1.4 | |
| ], | |
| [ | |
| 8, | |
| 2.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 1 | |
| ] | |
| ], | |
| "id": "Transport-1HWY-Casing", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "round", | |
| "visibility": "none" | |
| }, | |
| "maxzoom": 13, | |
| "minzoom": 8, | |
| "paint": { | |
| "line-color": "rgba(120, 120, 120, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 1.5 | |
| ], | |
| [ | |
| 10, | |
| 1.75 | |
| ], | |
| [ | |
| 12, | |
| 3.25 | |
| ], | |
| [ | |
| 13, | |
| 5 | |
| ], | |
| [ | |
| 15, | |
| 7 | |
| ], | |
| [ | |
| 18, | |
| 13 | |
| ], | |
| [ | |
| 19, | |
| 50 | |
| ], | |
| [ | |
| 22, | |
| 220 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 2, | |
| 3 | |
| ] | |
| ], | |
| "id": "Transport-2HWY-Casing", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "round", | |
| "visibility": "none" | |
| }, | |
| "maxzoom": 13, | |
| "minzoom": 8, | |
| "paint": { | |
| "line-color": "rgba(120, 120, 120, 0.8)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 3.25 | |
| ], | |
| [ | |
| 10, | |
| 4.5 | |
| ], | |
| [ | |
| 12, | |
| 6.5 | |
| ], | |
| [ | |
| 13, | |
| 8.5 | |
| ], | |
| [ | |
| 15, | |
| 12 | |
| ], | |
| [ | |
| 18, | |
| 19 | |
| ], | |
| [ | |
| 19, | |
| 70 | |
| ], | |
| [ | |
| 22, | |
| 450 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 4, | |
| 5, | |
| 6, | |
| 7 | |
| ] | |
| ], | |
| "id": "Transport-HWY-Casing", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "round", | |
| "visibility": "none" | |
| }, | |
| "maxzoom": 13, | |
| "minzoom": 8, | |
| "paint": { | |
| "line-color": "rgba(120, 120, 120, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 3.5 | |
| ], | |
| [ | |
| 10, | |
| 5 | |
| ], | |
| [ | |
| 12, | |
| 7.5 | |
| ], | |
| [ | |
| 13, | |
| 9 | |
| ], | |
| [ | |
| 15, | |
| 13 | |
| ], | |
| [ | |
| 18, | |
| 21 | |
| ], | |
| [ | |
| 19, | |
| 80 | |
| ], | |
| [ | |
| 22, | |
| 470 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 2, | |
| 3 | |
| ] | |
| ], | |
| "id": "Transport-2HWY-Casing-14", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": "rgba(120, 120, 120, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 3.25 | |
| ], | |
| [ | |
| 10, | |
| 4.5 | |
| ], | |
| [ | |
| 12, | |
| 6.5 | |
| ], | |
| [ | |
| 13, | |
| 8.5 | |
| ], | |
| [ | |
| 15, | |
| 12 | |
| ], | |
| [ | |
| 18, | |
| 19 | |
| ], | |
| [ | |
| 19, | |
| 70 | |
| ], | |
| [ | |
| 22, | |
| 450 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 1 | |
| ] | |
| ], | |
| "id": "Transport-1HWY-Casing-14", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": "rgba(120, 120, 120, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 1.5 | |
| ], | |
| [ | |
| 10, | |
| 1.75 | |
| ], | |
| [ | |
| 12, | |
| 3.25 | |
| ], | |
| [ | |
| 13, | |
| 5 | |
| ], | |
| [ | |
| 15, | |
| 7 | |
| ], | |
| [ | |
| 18, | |
| 13 | |
| ], | |
| [ | |
| 19, | |
| 50 | |
| ], | |
| [ | |
| 22, | |
| 220 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 4, | |
| 5, | |
| 6, | |
| 7 | |
| ] | |
| ], | |
| "id": "Transport-HWY-Casing-14", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "line-color": "rgba(120, 120, 120, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 3.5 | |
| ], | |
| [ | |
| 10, | |
| 5 | |
| ], | |
| [ | |
| 12, | |
| 7.5 | |
| ], | |
| [ | |
| 13, | |
| 9 | |
| ], | |
| [ | |
| 15, | |
| 13 | |
| ], | |
| [ | |
| 18, | |
| 21 | |
| ], | |
| [ | |
| 19, | |
| 80 | |
| ], | |
| [ | |
| 22, | |
| 470 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 2, | |
| 3 | |
| ] | |
| ], | |
| "id": "Transport-2HWY", | |
| "layout": { | |
| "line-cap": "round", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 8, | |
| "paint": { | |
| "line-blur": 0, | |
| "line-color": "rgba(240, 164, 82, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 1.35 | |
| ], | |
| [ | |
| 10, | |
| 1.75 | |
| ], | |
| [ | |
| 11, | |
| 2.25 | |
| ], | |
| [ | |
| 13, | |
| 5.25 | |
| ], | |
| [ | |
| 15, | |
| 8.5 | |
| ], | |
| [ | |
| 18, | |
| 15 | |
| ], | |
| [ | |
| 19, | |
| 60 | |
| ], | |
| [ | |
| 22, | |
| 420 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "==", | |
| "lane_count", | |
| 1 | |
| ] | |
| ], | |
| "id": "Transport-1HWY", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 8, | |
| "paint": { | |
| "line-color": "rgba(240, 164, 82, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 0.75 | |
| ], | |
| [ | |
| 10, | |
| 1 | |
| ], | |
| [ | |
| 11, | |
| 1.25 | |
| ], | |
| [ | |
| 13, | |
| 2.5 | |
| ], | |
| [ | |
| 15, | |
| 4 | |
| ], | |
| [ | |
| 18, | |
| 9 | |
| ], | |
| [ | |
| 19, | |
| 40 | |
| ], | |
| [ | |
| 22, | |
| 200 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "motorway" | |
| ], | |
| [ | |
| "in", | |
| "lane_count", | |
| 4, | |
| 5, | |
| 6, | |
| 7 | |
| ] | |
| ], | |
| "id": "Transport-HWY", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "round", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 8, | |
| "paint": { | |
| "line-color": "rgba(240, 164, 82, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 1.5 | |
| ], | |
| [ | |
| 10, | |
| 2 | |
| ], | |
| [ | |
| 11, | |
| 3 | |
| ], | |
| [ | |
| 13, | |
| 5.75 | |
| ], | |
| [ | |
| 15, | |
| 9 | |
| ], | |
| [ | |
| 18, | |
| 16.5 | |
| ], | |
| [ | |
| 19, | |
| 70 | |
| ], | |
| [ | |
| 22, | |
| 440 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "bridge", | |
| true | |
| ], | |
| [ | |
| "in", | |
| "use_1", | |
| "train", | |
| "vehicle" | |
| ] | |
| ], | |
| "id": "Transport-Bridge-VT-Casing", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": "rgba(168, 168, 168, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 6 | |
| ], | |
| [ | |
| 15, | |
| 8 | |
| ], | |
| [ | |
| 18, | |
| 18 | |
| ], | |
| [ | |
| 19, | |
| 75 | |
| ], | |
| [ | |
| 22, | |
| 450 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "bridge", | |
| true | |
| ], | |
| [ | |
| "in", | |
| "use_1", | |
| "train", | |
| "vehicle" | |
| ] | |
| ], | |
| "id": "Transport-Bridge-VT", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "line-color": "rgba(220, 220, 220, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 5 | |
| ], | |
| [ | |
| 15, | |
| 5 | |
| ], | |
| [ | |
| 18, | |
| 13 | |
| ], | |
| [ | |
| 19, | |
| 66 | |
| ], | |
| [ | |
| 22, | |
| 400 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "boom" | |
| ] | |
| ], | |
| "id": "Landuse-Boom", | |
| "minzoom": 12, | |
| "paint": { | |
| "line-color": "rgba(73, 73, 73, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 1.5 | |
| ], | |
| [ | |
| 13, | |
| 2 | |
| ], | |
| [ | |
| 15, | |
| 4 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_lines", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "dam" | |
| ] | |
| ], | |
| "id": "Landuse-Dam", | |
| "paint": { | |
| "line-color": "rgba(211, 211, 211, 1)", | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 4 | |
| ], | |
| [ | |
| 15, | |
| 8.5 | |
| ], | |
| [ | |
| 19, | |
| 14.5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "dam_lines", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "water_lines", | |
| "marine_farm" | |
| ] | |
| ], | |
| "id": "Landuse-MarineFarm-Ln", | |
| "paint": { | |
| "line-color": "rgba(25, 114, 242, 0.45)", | |
| "line-width": 3 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "landuse", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "tunnel", | |
| true | |
| ] | |
| ], | |
| "id": "Transport-Tunnel-VT", | |
| "layout": { | |
| "line-cap": "butt", | |
| "line-join": "bevel", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "line-blur": 0, | |
| "line-color": "rgba(90, 89, 86, 0.6)", | |
| "line-dasharray": [ | |
| 4, | |
| 2.5 | |
| ], | |
| "line-gap-width": 8, | |
| "line-opacity": 1, | |
| "line-width": { | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.5 | |
| ], | |
| [ | |
| 15, | |
| 1 | |
| ], | |
| [ | |
| 19, | |
| 4 | |
| ] | |
| ] | |
| } | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "line" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "gravel_pit" | |
| ] | |
| ], | |
| "id": "Landuse-GravelPit-Label", | |
| "layout": { | |
| "icon-size": 0.8, | |
| "text-field": "", | |
| "text-font": [ | |
| "Open Sans Regular" | |
| ], | |
| "text-size": { | |
| "stops": [ | |
| [ | |
| 12, | |
| 6 | |
| ], | |
| [ | |
| 15, | |
| 10 | |
| ] | |
| ] | |
| } | |
| }, | |
| "minzoom": 12, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "sites", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "marine_farm" | |
| ] | |
| ], | |
| "id": "Landuse-MarineFarm-Label", | |
| "layout": { | |
| "text-field": "{species}", | |
| "text-font": [ | |
| "Roboto Bold Italic" | |
| ] | |
| }, | |
| "minzoom": 15, | |
| "paint": { | |
| "text-color": "rgba(232, 232, 232, 1)", | |
| "text-halo-color": "rgba(25, 114, 242, 0.45)", | |
| "text-halo-width": 1.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "stream" | |
| ], | |
| [ | |
| "has", | |
| "name" | |
| ] | |
| ], | |
| "id": "Waterway-Rapid-Names", | |
| "layout": { | |
| "icon-anchor": "center", | |
| "symbol-placement": "line", | |
| "symbol-spacing": 750, | |
| "text-anchor": "bottom", | |
| "text-field": "{name}", | |
| "text-font": [ | |
| "Open Sans Italic" | |
| ], | |
| "text-size": 12, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-blur": 1, | |
| "text-halo-color": "rgba(239, 239, 239, 0.80)", | |
| "text-halo-width": 1.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_lines", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "has", | |
| "hway_num" | |
| ], | |
| [ | |
| "!in", | |
| "hway_num", | |
| "6,94", | |
| "2,50", | |
| "1,3", | |
| "12,15", | |
| "14,15", | |
| "6,96", | |
| "25A", | |
| "20A", | |
| "20B", | |
| "29A", | |
| "30A", | |
| "74A", | |
| "67A" | |
| ], | |
| [ | |
| "!=", | |
| "lane_count", | |
| 1 | |
| ] | |
| ], | |
| "id": "All-Highway-Labels-standard", | |
| "layout": { | |
| "icon-anchor": "center", | |
| "icon-image": "highway_pnt_standard", | |
| "icon-keep-upright": false, | |
| "icon-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "icon-padding": 2, | |
| "icon-pitch-alignment": "viewport", | |
| "icon-rotate": 0, | |
| "icon-rotation-alignment": "viewport", | |
| "icon-size": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 1.2 | |
| ], | |
| [ | |
| 12, | |
| 1.5 | |
| ], | |
| [ | |
| 15, | |
| 1.7 | |
| ] | |
| ] | |
| }, | |
| "icon-text-fit": "none", | |
| "icon-text-fit-padding": [ | |
| 1, | |
| 4, | |
| 3, | |
| 3 | |
| ], | |
| "symbol-placement": "line", | |
| "symbol-spacing": { | |
| "stops": [ | |
| [ | |
| 6, | |
| 500 | |
| ], | |
| [ | |
| 13, | |
| 400 | |
| ] | |
| ] | |
| }, | |
| "text-field": "{hway_num}", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-justify": "center", | |
| "text-keep-upright": true, | |
| "text-pitch-alignment": "viewport", | |
| "text-rotation-alignment": "viewport", | |
| "text-size": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 9 | |
| ], | |
| [ | |
| 11, | |
| 10 | |
| ], | |
| [ | |
| 15, | |
| 14 | |
| ] | |
| ] | |
| }, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 8, | |
| "paint": { | |
| "icon-opacity": { | |
| "stops": [ | |
| [ | |
| 6, | |
| 0.9 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "icon-translate-anchor": "map", | |
| "text-color": "rgba(255, 255, 255, 1)", | |
| "text-translate-anchor": "map" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "hway_num", | |
| "25A", | |
| "20A", | |
| "20B", | |
| "29A", | |
| "30A", | |
| "74A", | |
| "67A" | |
| ] | |
| ], | |
| "id": "All-Highway-Labels-three", | |
| "layout": { | |
| "icon-anchor": "center", | |
| "icon-image": "highway_pnt_wide", | |
| "icon-keep-upright": false, | |
| "icon-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "icon-padding": 2, | |
| "icon-pitch-alignment": "viewport", | |
| "icon-rotate": 0, | |
| "icon-rotation-alignment": "viewport", | |
| "icon-size": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 1.2 | |
| ], | |
| [ | |
| 12, | |
| 1.5 | |
| ], | |
| [ | |
| 15, | |
| 1.7 | |
| ] | |
| ] | |
| }, | |
| "icon-text-fit": "none", | |
| "icon-text-fit-padding": [ | |
| 1, | |
| 4, | |
| 3, | |
| 3 | |
| ], | |
| "symbol-placement": "line", | |
| "symbol-spacing": { | |
| "stops": [ | |
| [ | |
| 6, | |
| 500 | |
| ], | |
| [ | |
| 13, | |
| 400 | |
| ] | |
| ] | |
| }, | |
| "text-field": "{hway_num}", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-justify": "center", | |
| "text-keep-upright": true, | |
| "text-pitch-alignment": "viewport", | |
| "text-rotation-alignment": "viewport", | |
| "text-size": { | |
| "stops": [ | |
| [ | |
| 8, | |
| 9 | |
| ], | |
| [ | |
| 11, | |
| 10 | |
| ], | |
| [ | |
| 15, | |
| 14 | |
| ] | |
| ] | |
| }, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 8, | |
| "paint": { | |
| "icon-opacity": { | |
| "stops": [ | |
| [ | |
| 6, | |
| 0.9 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "icon-translate-anchor": "map", | |
| "text-color": "rgba(255, 255, 255, 1)", | |
| "text-translate-anchor": "map" | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "has", | |
| "name" | |
| ], | |
| [ | |
| "!=", | |
| "kind", | |
| "aerodrome" | |
| ], | |
| [ | |
| "!=", | |
| "kind", | |
| "raceway" | |
| ] | |
| ], | |
| "id": "All-Road-Labels", | |
| "layout": { | |
| "icon-ignore-placement": false, | |
| "icon-pitch-alignment": "auto", | |
| "icon-text-fit": "both", | |
| "symbol-placement": "line", | |
| "symbol-spacing": 250, | |
| "text-anchor": "center", | |
| "text-field": "{name}", | |
| "text-font": [ | |
| "Open Sans Regular" | |
| ], | |
| "text-justify": "center", | |
| "text-size": { | |
| "stops": [ | |
| [ | |
| 13, | |
| 8 | |
| ], | |
| [ | |
| 15, | |
| 8 | |
| ], | |
| [ | |
| 18, | |
| 10 | |
| ], | |
| [ | |
| 19, | |
| 10 | |
| ], | |
| [ | |
| 22, | |
| 60 | |
| ] | |
| ] | |
| }, | |
| "text-transform": "none", | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "text-color": "rgba(51, 51, 51, 1)", | |
| "text-halo-color": "rgba(243, 243, 242, 0.9)", | |
| "text-halo-width": 2.5, | |
| "text-opacity": 0.9 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "tunnel", | |
| true | |
| ] | |
| ], | |
| "id": "Transport-Tunnel-Label", | |
| "layout": { | |
| "symbol-placement": "line", | |
| "symbol-spacing": 180, | |
| "text-field": "tunnel", | |
| "text-font": [ | |
| "Roboto Black" | |
| ], | |
| "text-offset": { | |
| "stops": [ | |
| [ | |
| 15, | |
| [ | |
| 0, | |
| -1.25 | |
| ] | |
| ], | |
| [ | |
| 17, | |
| [ | |
| 0, | |
| -1.75 | |
| ] | |
| ], | |
| [ | |
| 19, | |
| [ | |
| 0, | |
| -6 | |
| ] | |
| ], | |
| [ | |
| 20, | |
| [ | |
| 0, | |
| -9 | |
| ] | |
| ], | |
| [ | |
| 22, | |
| [ | |
| 0, | |
| -16 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "text-size": 10, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 15, | |
| "paint": { | |
| "text-color": "rgba(80, 75, 75, 1)", | |
| "text-halo-color": "rgba(230, 230, 230, 0.5)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "streets", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "aerodrome" | |
| ] | |
| ], | |
| "id": "Airport-Label", | |
| "layout": { | |
| "icon-anchor": "bottom", | |
| "icon-ignore-placement": false, | |
| "icon-image": "airport_airport_pnt_fill", | |
| "icon-offset": [ | |
| 0, | |
| 0 | |
| ], | |
| "icon-pitch-alignment": "viewport", | |
| "icon-rotation-alignment": "viewport", | |
| "icon-size": 1.2, | |
| "icon-text-fit": "none", | |
| "symbol-spacing": 250, | |
| "text-allow-overlap": false, | |
| "text-anchor": "top", | |
| "text-field": "{name}", | |
| "text-font": [ | |
| "Open Sans Bold Italic" | |
| ], | |
| "text-justify": "center", | |
| "text-max-width": 5, | |
| "text-padding": 2, | |
| "text-pitch-alignment": "auto", | |
| "text-rotation-alignment": "auto", | |
| "text-size": 10, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 12, | |
| "paint": { | |
| "icon-opacity": 0.8, | |
| "text-color": "rgba(129, 123, 123, 1)", | |
| "text-halo-blur": 0.5, | |
| "text-halo-color": "rgba(255, 255, 255, 1)", | |
| "text-halo-width": 1 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "public_transport", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "runway" | |
| ], | |
| [ | |
| "!has", | |
| "surface" | |
| ] | |
| ], | |
| "id": "Aeroway-Airstrip-Label", | |
| "layout": { | |
| "text-anchor": "left", | |
| "text-field": "airstrip", | |
| "text-font": [ | |
| "Roboto Light" | |
| ], | |
| "text-justify": "left", | |
| "text-size": 10, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 15, | |
| "paint": { | |
| "text-halo-blur": 0.5, | |
| "text-halo-color": "rgba(246, 246, 246, 1)", | |
| "text-halo-width": 1.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "street_polygons", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "reef" | |
| ], | |
| [ | |
| "has", | |
| "name" | |
| ] | |
| ], | |
| "id": "All-Reef-Names", | |
| "layout": { | |
| "text-anchor": "center", | |
| "text-field": "{name}", | |
| "text-font": [ | |
| "Open Sans Italic" | |
| ], | |
| "text-max-width": 4, | |
| "text-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "text-size": 12, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 13, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-color": "rgba(239, 239, 239, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "water", | |
| "lake" | |
| ], | |
| [ | |
| "has", | |
| "name" | |
| ] | |
| ], | |
| "id": "All-Lake-Names", | |
| "layout": { | |
| "text-field": "{name}", | |
| "text-font": [ | |
| "Open Sans Italic" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 12, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-color": "rgba(239, 239, 239, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "river" | |
| ], | |
| [ | |
| "has", | |
| "name" | |
| ] | |
| ], | |
| "id": "All-River-Names", | |
| "layout": { | |
| "icon-allow-overlap": false, | |
| "icon-anchor": "center", | |
| "icon-ignore-placement": false, | |
| "symbol-placement": "line", | |
| "symbol-spacing": 1000, | |
| "text-allow-overlap": true, | |
| "text-anchor": "bottom", | |
| "text-field": "{name}", | |
| "text-font": [ | |
| "Open Sans Italic" | |
| ], | |
| "text-ignore-placement": true, | |
| "text-justify": "center", | |
| "text-size": 12, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 12, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-blur": 1, | |
| "text-halo-color": "rgba(239, 239, 239, 0.80)", | |
| "text-halo-width": 1.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_polygons", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "kind", | |
| "river" | |
| ], | |
| [ | |
| "has", | |
| "name" | |
| ] | |
| ], | |
| "id": "All-Waterway-River-Names", | |
| "layout": { | |
| "symbol-placement": "line", | |
| "symbol-spacing": 1000, | |
| "text-allow-overlap": true, | |
| "text-anchor": "bottom", | |
| "text-field": "{name}", | |
| "text-font": [ | |
| "Open Sans Italic" | |
| ], | |
| "text-ignore-placement": true, | |
| "text-size": 12 | |
| }, | |
| "minzoom": 12, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-blur": 1, | |
| "text-halo-color": "rgba(239, 239, 239, 0.80)", | |
| "text-halo-width": 1.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "water_lines", | |
| "type": "symbol" | |
| }, | |
| { | |
| "id": "Housenumber", | |
| "layout": { | |
| "text-allow-overlap": false, | |
| "text-anchor": "bottom", | |
| "text-field": "{housenumber}", | |
| "text-font": [ | |
| "Open Sans Regular" | |
| ], | |
| "text-size": { | |
| "stops": [ | |
| [ | |
| 17, | |
| 9 | |
| ], | |
| [ | |
| 19, | |
| 10 | |
| ] | |
| ] | |
| } | |
| }, | |
| "minzoom": 17, | |
| "paint": { | |
| "icon-color": "rgba(0, 0, 0, 0.6)", | |
| "text-color": "rgba(85, 85, 85, 1)", | |
| "text-halo-blur": 20, | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 0.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "addresses", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "any", | |
| [ | |
| "==", | |
| "place", | |
| "lake" | |
| ] | |
| ], | |
| "id": "Place-Label-Lake", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold Italic" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 10, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 11, | |
| "minzoom": 7, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 1 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "any", | |
| [ | |
| "in", | |
| "natural", | |
| "bay" | |
| ], | |
| [ | |
| "in", | |
| "water", | |
| "bay", | |
| "lagoon" | |
| ] | |
| ], | |
| "id": "Place-Label-Bay", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Medium" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 10, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 10, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 1 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "natural", | |
| "peak", | |
| "cape", | |
| "peninsula" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 6, | |
| 7, | |
| 8, | |
| 9, | |
| 10, | |
| 11, | |
| 12 | |
| ] | |
| ], | |
| "id": "Place-Symbol-Peak-12", | |
| "layout": { | |
| "icon-image": "triangle_pnt_fill", | |
| "icon-size": 0.35, | |
| "text-anchor": "left", | |
| "text-field": "", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-justify": "left", | |
| "text-max-width": 4, | |
| "text-offset": [ | |
| 0.5, | |
| 0 | |
| ], | |
| "text-size": 10, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 12, | |
| "minzoom": 10, | |
| "paint": { | |
| "icon-color": "rgba(61, 162, 86, 1)", | |
| "text-color": "rgba(41, 90, 55, 1)", | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 1 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "natural", | |
| "peak", | |
| "cape", | |
| "peninsula" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 6, | |
| 7, | |
| 8, | |
| 9, | |
| 10, | |
| 11, | |
| 12 | |
| ] | |
| ], | |
| "id": "Place-Label-Peak-16", | |
| "layout": { | |
| "icon-image": "triangle_pnt_fill", | |
| "icon-size": 0.5, | |
| "text-allow-overlap": false, | |
| "text-anchor": "left", | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Medium" | |
| ], | |
| "text-justify": "left", | |
| "text-max-width": 4, | |
| "text-offset": [ | |
| 0.5, | |
| 0 | |
| ], | |
| "text-optional": true, | |
| "text-size": 11, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 16, | |
| "minzoom": 12, | |
| "paint": { | |
| "icon-color": "rgba(61, 162, 86, 1)", | |
| "text-color": "rgba(41, 90, 55, 1)", | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 1 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "place", | |
| "suburb" | |
| ] | |
| ], | |
| "id": "Place-Label-Suburb", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Regular" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 10, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 11, | |
| "paint": { | |
| "text-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(35, 34, 34, 1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(111, 111, 111, 1)" | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "place", | |
| "locality" | |
| ] | |
| ], | |
| "id": "Place-Label-Locality", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Medium" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 11, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 15, | |
| "minzoom": 9, | |
| "paint": { | |
| "text-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(35, 34, 34, 1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(111, 111, 111, 1)" | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "place", | |
| "town" | |
| ] | |
| ], | |
| "id": "Place-Label-Town", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Medium" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 12, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 15, | |
| "minzoom": 8, | |
| "paint": { | |
| "text-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(35, 34, 34, 1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(111, 111, 111, 1)" | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 1.5 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "place", | |
| "city" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 6, | |
| 7, | |
| 8 | |
| ] | |
| ], | |
| "id": "Place-Label-City-14", | |
| "layout": { | |
| "symbol-z-order": "viewport-y", | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 15, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 14, | |
| "minzoom": 7, | |
| "paint": { | |
| "text-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(35, 34, 34, 1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(111, 111, 111, 1)" | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "place", | |
| "island" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 4, | |
| 5, | |
| 6, | |
| 7 | |
| ] | |
| ], | |
| "id": "Place-Label-Island-12", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 12, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 12, | |
| "minzoom": 8, | |
| "paint": { | |
| "text-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(35, 34, 34, 1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(111, 111, 111, 1)" | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "any", | |
| [ | |
| "in", | |
| "water", | |
| "sea" | |
| ] | |
| ], | |
| "id": "Place-Label-Sea-5", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold Italic" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 12, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 6, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 0.8 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "any", | |
| [ | |
| "in", | |
| "water", | |
| "seamount", | |
| "searidge", | |
| "seachannel", | |
| "seacanyon" | |
| ] | |
| ], | |
| "id": "Place-Label-Sea", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold Italic" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 12, | |
| "visibility": "visible" | |
| }, | |
| "minzoom": 5, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 0.8 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "place", | |
| "lake" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 3, | |
| 4 | |
| ] | |
| ], | |
| "id": "Place-Label-Lake-7", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold Italic" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 10, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 7, | |
| "minzoom": 6, | |
| "paint": { | |
| "text-color": "rgba(0, 140, 204, 1)", | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 1 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "==", | |
| "place", | |
| "city" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 6 | |
| ] | |
| ], | |
| "id": "Place-Label-City-7", | |
| "layout": { | |
| "text-allow-overlap": false, | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 15, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 7, | |
| "paint": { | |
| "text-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(35, 34, 34, 1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(111, 111, 111, 1)" | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "place", | |
| "island", | |
| "archipelago" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 3, | |
| 4 | |
| ] | |
| ], | |
| "id": "Place-Label-Island-8", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 14, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 8, | |
| "minzoom": 6, | |
| "paint": { | |
| "text-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(35, 34, 34, 1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(111, 111, 111, 1)" | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "place", | |
| "island", | |
| "archipelago" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 2, | |
| 3 | |
| ] | |
| ], | |
| "id": "Place-Label-Island-6", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-max-width": 7, | |
| "text-size": 14, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 6, | |
| "minzoom": 5, | |
| "paint": { | |
| "text-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(35, 34, 34, 1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(111, 111, 111, 1)" | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "natural", | |
| "peak", | |
| "cape", | |
| "peninsula" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 6, | |
| 8 | |
| ] | |
| ], | |
| "id": "Place-Label-Peak-11", | |
| "layout": { | |
| "icon-image": "triangle_pnt_fill", | |
| "icon-size": 0.5, | |
| "text-allow-overlap": true, | |
| "text-anchor": "left", | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-justify": "left", | |
| "text-max-width": 4, | |
| "text-offset": [ | |
| 0.5, | |
| 0 | |
| ], | |
| "text-size": 11, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 14, | |
| "paint": { | |
| "icon-color": "rgba(61, 162, 86, 1)", | |
| "text-color": "rgba(41, 90, 55, 1)", | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 1 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| }, | |
| { | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "place", | |
| "archipelago" | |
| ], | |
| [ | |
| "in", | |
| "admin_level", | |
| 2 | |
| ] | |
| ], | |
| "id": "Place-Label-Island-4", | |
| "layout": { | |
| "text-field": "{label}", | |
| "text-font": [ | |
| "Open Sans Bold" | |
| ], | |
| "text-max-width": 4, | |
| "text-size": 14, | |
| "visibility": "visible" | |
| }, | |
| "maxzoom": 5, | |
| "minzoom": 0, | |
| "paint": { | |
| "text-color": { | |
| "stops": [ | |
| [ | |
| 6, | |
| "rgba(35, 34, 34, 1)" | |
| ], | |
| [ | |
| 19, | |
| "rgba(111, 111, 111, 1)" | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255, 252, 252, 1)", | |
| "text-halo-width": 2 | |
| }, | |
| "source": "LINZ Basemaps", | |
| "source-layer": "place_labels", | |
| "type": "symbol" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment