Hi everyone,
I created a basic Cesium project by integrating with a React application.
As you can see in the image I have an aliasing problem (right Image) on the edges of the globe.
The problem becomes more evident with 3d objects.
During the panning of the 2d map (high zoom) there is a kind of vibration inside the tiles
With the sandcastle default example this behavior does not occur (left Image)
The Cesium version used is the same
My code for creating the viewer is
const Gis: React.FC = () => {
const [isMapLoaded, setMapLoaded] = useState<boolean>(false);
const [map, setMap] = useState<Viewer>();
useEffect(() => {
if (!isMapLoaded) {
const map = new cesium.Viewer("map", {
terrainProvider: cesium.createWorldTerrain(),
});
setMap(map);
setMapLoaded(true);
}
}, []);
return (
<div id="map">
</div>
);
};
Am I doing something wrong in initializing cesium?
Is there any attribute that allows you to enable anti-aliasing?
Thanks