When resolution is 19201080, the width of map is 800, but when 12801024, the width is 470, how to set the camera parameter , keep all resolution showing the same map ( almost)
Cesium renders at the browser’s requested resolution. On high DPI devices, most browsers render elements and canvases at lower resolutions for performance reasons (high resolution is expensive of course). The resolution is handled with window.devicePixelRatio: https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio
You can override the scaling behavior in Cesium by setting viewer.resolutionScale = 1.0 once you’ve created a viewer. We don’t recommend doing this unless you’re sure your device can handle it. 4K and mobile devices will probably take a performance hit.
Hope that helps,