Closed BeebBenjamin closed 10 months ago
Loading is smoother without this. I have fixed tile loading in the custom-shaders
branch, tiles without images yet are now hidden. I was not using uniforms
properly. In order to test logic on them you need to evaluate the value
of a uniform. The tile loading is now hidden better than before.
Going to cherry pick the optimisations from custom-shaders
Needs testing, not sure with the current implementation if this works in the best way. Maybe this is only specific when using a custom shader that don't have transparency!
Closing for now.
After a deep dive into the workings of the tile layer loading. I would like to toggle visibility of layers when zooming in and out.
I need to set in componentDidUpdate the prevProps.tileLevel to visible = false and see if this does the job.