Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 7 additions & 15 deletions config/style/topographic-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": "Background",
"layout": { "visibility": "visible" },
"minzoom": 0,
"paint": { "background-color": "rgba(184, 220, 242, 1)" },
"paint": { "background-color": "rgba(232, 232, 232, 1)" },
"type": "background"
},
{
Expand Down Expand Up @@ -41,21 +41,12 @@
},
{
"filter": ["all"],
"id": "Coastline2",
"id": "Ocean",
"layout": { "visibility": "visible" },
"minzoom": 0,
"paint": {
"fill-antialias": true,
"fill-color": {
"stops": [
[1, "rgba(228, 234, 228, 1)"],
[10, "rgba(232, 232, 232, 1)"],
[20, "rgba(232, 232, 232, 1)"]
]
}
},
"source": "LINZ Basemaps",
"source-layer": "boundaries",
"paint": { "fill-color": "rgba(184, 220, 242, 1)" },
"source": "Natural-Earth-Ocean",
"source-layer": "ocean",
"type": "fill"
},
{
Expand Down Expand Up @@ -5537,7 +5528,8 @@
},
"sources": {
"LINZ Basemaps": { "attribution": "© 2022 Toitū Te Whenua - CC BY 4.0", "type": "vector", "url": "/v1/tiles/topographic-v2/{tileMatrix}/tile.json" },
"LINZ-Elevation-Hillshade": { "maxzoom": 18, "minzoom": 0, "tileSize": 256, "tiles": ["/v1/tiles/elevation/{tileMatrix}/{z}/{x}/{y}.png?pipeline=terrain-rgb"], "type": "raster-dem" }
"LINZ-Elevation-Hillshade": { "maxzoom": 18, "minzoom": 0, "tileSize": 256, "tiles": ["/v1/tiles/elevation/{tileMatrix}/{z}/{x}/{y}.png?pipeline=terrain-rgb"], "type": "raster-dem" },
"Natural-Earth-Ocean": { "maxzoom": 15, "type": "vector", "url": "/v1/tiles/ocean/{tileMatrix}/tile.json" }
},
"sprite": "/v1/sprites/topographic",
"version": 8
Expand Down
17 changes: 4 additions & 13 deletions config/style/topolite-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": "Background",
"layout": { "visibility": "visible" },
"minzoom": 0,
"paint": { "background-color": "rgba(184, 220, 242, 1)" },
"paint": { "background-color": "rgba(234, 233, 229, 1)" },
"type": "background"
},
{
Expand All @@ -31,21 +31,12 @@
},
{
"filter": ["all"],
"id": "Coastline2",
"id": "Ocean",
"layout": { "visibility": "visible" },
"minzoom": 0,
"paint": {
"fill-antialias": true,
"fill-color": {
"stops": [
[1, "rgba(234, 233, 229, 1)"],
[10, "#FCFBF7"]
]
},
"fill-translate-anchor": "map"
},
"paint": { "fill-color": "rgba(184, 220, 242, 1)" },
"source": "LINZ Basemaps",
"source-layer": "boundaries",
"source-layer": "ocean",
"type": "fill"
},
{
Expand Down
14 changes: 14 additions & 0 deletions config/tileset/ocean.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"type": "vector",
"id": "ts_ocean",
"title": "Natural Earth Ocean Vector Map",
"maxZoom": 15,
"format": "pbf",
"layers": [
{
"3857": "s3://linz-basemaps-staging/vector/3857/01JQ5KAP9F9XSSTM3GW5S64WHZ/ocean.tar.co",
"name": "ocean",
"title": "Ocean"
}
]
}
2 changes: 1 addition & 1 deletion config/tileset/topographic-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"format": "pbf",
"layers": [
{
"3857": "s3://linz-basemaps/vector/3857/topographic/01JP1H9Z44EX3TPRJD6GNZBV58/topographic.tar.co",
"3857": "s3://linz-basemaps-staging/vector/3857/topographic/01JQ3585CGFMA94F19SYGVC8E1/topographic.tar.co",
"name": "topographic-v2",
"title": "Topographic V2"
}
Expand Down