Files
MapLibreParticleLab/metrics/integration/render-tests/hillshade-maxzoom/overzoom/style.json

37 lines
724 B
JSON

{
"version": 8,
"metadata": {
"test": {
"height": 256,
"width": 256,
"description": "This test verifies that setting a maximum zoom on the raster-dem source lower than the layer results in overzooming the source."
}
},
"center": [-113.26903, 35.9654],
"zoom": 13,
"sources": {
"source": {
"type": "raster-dem",
"tiles": [
"local://tiles/{z}-{x}-{y}.terrain.png"
],
"maxzoom": 12,
"tileSize": 256
}
},
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "hillshade",
"type": "hillshade",
"source": "source"
}
]
}