Closed AnthonyGlt closed 3 weeks ago
We'll keep it in the layer because we have access to the globe layer from there and then we can affect the tile size for the subdivision. (TODO put a comment in the code)
I agree, the name should be changed. subdivisionThreshold
is more appropriate but there is sseSubdivisionThreshold
already existing.
Related issue:
https://github.com/iTowns/itowns/issues/2292 https://github.com/iTowns/itowns/issues/2312 https://github.com/iTowns/itowns/issues/2309
Replace the const use for subdivision and texture conversion with a customizable parameter
sizeTextureTile
Example: For MVT layer
For the globe:
const view = new itowns.GlobeView(viewerDiv, placement, {sizeTextureTile:512});