Hello,
The minzoom
and maxzoom
attributes are present in the layer.json but not used by the Cesium client.
What is it supposed to do?
Guillaume
Hello,
The minzoom
and maxzoom
attributes are present in the layer.json but not used by the Cesium client.
What is it supposed to do?
Guillaume
They’re not used by CesiumTerrainProvider at all. Instead, Cesium uses the availability property. The only semi-good reason they exist at all is because they exist in the TileJSON spec, which we (loosely) follow:
https://github.com/mapbox/tilejson-spec/
Thank you Kevin for the explanation.
Kevin, Patrick, would there be interest for a PR adding support for minzoom?
A layer.json with tiles starting at level 5 would become:
{ minzoom: 5, available:[{startX: …endX}, …]}
instead of
{ available: [, , , , , [{startX: …endX}, …]}