Skip to content

Commit

Permalink
Add sky boxk into topograhpic map
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Jul 9, 2024
1 parent 1afb51c commit cd21970
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/style/topographic.json
Original file line number Diff line number Diff line change
Expand Up @@ -5503,6 +5503,15 @@
],
"metadata": { "maputnik:renderer": "mbgljs" },
"name": "topographic",
"sky": {
"atmosphere-blend": ["interpolate", ["linear"], ["zoom"], 0, 1, 10, 1, 12, 0],
"fog-color": "#e8e8e8",
"fog-ground-blend": 0.8,
"horizon-color": "#dff8f8",
"horizon-fog-blend": 0.5,
"sky-color": "#afeeee",
"sky-horizon-blend": 0.3
},
"sources": {
"LINZ Basemaps": { "attribution": "© 2022 Toitū Te Whenua - CC BY 4.0", "type": "vector", "url": "/v1/tiles/topographic/EPSG:3857/tile.json" },
"LINZ-Texture-Relief": { "maxzoom": 20, "minzoom": 0, "tileSize": 256, "tiles": ["/v1/tiles/texturereliefshade/EPSG:3857/{z}/{x}/{y}.webp"], "type": "raster" }
Expand Down

0 comments on commit cd21970

Please sign in to comment.