brouter-web/layers/mvt/terrarium-hillshading-style.json
Norbert Renner ad68d0023b Configure hillshading layer
- full attribution
- i18n key
- paint property defaults as template
2022-06-15 14:21:31 +02:00

27 lines
718 B
JSON

{
"version": 8,
"sources": {
"dem": {
"type": "raster-dem",
"tiles": [
"https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png"
],
"encoding": "terrarium",
"tileSize": 256,
"maxzoom": 15
}
},
"layers": [
{
"id": "hillshading",
"source": "dem",
"type": "hillshade",
"paint": {
"hillshade-exaggeration": 0.5,
"hillshade-shadow-color": "#000000",
"hillshade-highlight-color": "#FFFFFF",
"hillshade-accent-color": "rgba(0, 0, 0, 1)"
}
}
]
}