Files
MapLibreParticleLab/metrics/integration/render-tests/hillshade-low-zoom/multidirectional/style.json

43 lines
1014 B
JSON

{
"version": 8,
"metadata": {
"test": {
"height": 256,
"width": 256,
"description": "This test verifies hillshade rendering with multidirectional method at low zoom levels (zoom 1) where exaggeration scaling is applied"
}
},
"center": [0, 45],
"zoom": 1,
"sources": {
"source": {
"type": "raster-dem",
"tiles": [
"local://tiles/{z}-{x}-{y}.terrain.png"
],
"maxzoom": 15,
"tileSize": 512
}
},
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "hillshade",
"type": "hillshade",
"source": "source",
"paint": {
"hillshade-method": "multidirectional",
"hillshade-highlight-color": ["#FF4000", "#FFFF00", "#40ff00", "#00FF80"],
"hillshade-shadow-color": ["#00bfff", "#0000ff", "#bf00ff", "#FF0080"],
"hillshade-illumination-direction": [270, 315, 0, 45]
}
}
]
}