Open vladimir-rybalko opened 1 year ago
I found a solution to my problem by changing the FOV setting for the camera. To what extent is this decision correct?
let k = 1;
const width = window.innerWidth;
const height = window.innerHeight;
if (width > height) {
k = width/height - 1;
} else {
k = height/width - 1;
}
k = k < 0.1 ? 0.15 : k;
view.camera.camera3D.fov += view.camera.camera3D.fov*k;
view.camera.camera3D.updateProjectionMatrix();
Your Environment
Context
I have 2 layers: ColorLayer - OSM and ElevationLayer - my raster layer. When I try to combine them, I get a break in the tiles.
Code available here
ElevationLayer is defined like this
How can I solve the broken tiles problem?