Marker Position Offset Issue in Cesium 1.135.0 and Its Solution
Problem Overview In a React application using Cesium.js 1.135.0, billboard markers using the CLAMP_TO_GROUND setting were observed to become inaccurately positioned after camera movement or zoom operations. Environment Cesium.js: 1.135.0 (issue occurred) -> 1.134.0 (issue resolved) Framework: Next.js 16.0.1 + React 19.2.0 Terrain Data: Cesium World Terrain (Cesium.Terrain.fromWorldTerrain()) Marker Settings: clampToGround: true heightReference: Cesium.HeightReference.CLAMP_TO_GROUND Symptoms Click a specific marker to zoom in Change the camera viewpoint (rotate/pan) Markers in the distance appear floating above the terrain or displayed at inaccurate positions This issue is thought to occur due to inconsistency between the high-resolution terrain data (LOD: Level of Detail) loaded when the camera moves closer and the low-resolution terrain data referenced by distant markers. ...