Availability issue in layer.json for CesiumTerrainProvider

I am experimenting with the CesiumTerrainProvider and want to determine if a quantized tile exists when the request is made to the server.

The reason being I need to generate the tile at request time. Am I right in thinking that in the layer.json file, the “available” array must state all possible tiles in advance for this to happen.

**Is there no easy way to state in the layer.json file request all tiles. **

I think I see the pattern so maybe its not so bad after all :slight_smile:

“available”: [

[ { “startX”: 0, “startY”: 0, “endX”: 1, “endY”: 0 } ]

,[ { “startX”: 0, “startY”: 0, “endX”: 4, “endY”: 2 } ]

,[ { “startX”: 0, “startY”: 0, “endX”: 8, “endY”: 4 } ]

,[ { “startX”: 0, “startY”: 0, “endX”: 16, “endY”: 8 } ]

,[ { “startX”: 0, “startY”: 0, “endX”: 32, “endY”: 16 } ]

,[ { “startX”: 0, “startY”: 0, “endX”: 64, “endY”: 32 } ]

,[ { “startX”: 0, “startY”: 0, “endX”: 128, “endY”: 64 } ]

]