Position offset in 2d and 3d view

I have A retangle with a radar image as its materia on cesium ,
But when i swith between 2d and 3d ,the position of the same image on map is a little diferrent ! I tested it with singletileimageprovider ,it did not has this problem . Does. Any one konw what up?

MOV_20190414_0919198.mp4 (2.24 MB)

I wonder if this has anything to do with what projection or tiling scheme the imagery uses. It’s a little hard to tell from the video because it looks like the 2D view is zoomed in a bit more than the 3D view?

Are you able to share a Sandcastle example (https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/) of this so I can run it?

Very thank you sir,
What i want is past a weather radar image to a rectangle , and this image should be clamp to terrain . But when the terrain layer is added , there should be no "height" attribution for the retangle, then i found the radar image has a small position shift in the 2d and 3d views.

If i turn off the terrain layer and set height equal to zero for thr rectangle, then it is ok .

Here is my test, please help me to fix this problem , thank you very mush!

Thanks for posting this Sandcastle. I think it’s definitely easy to see that there’s a discrepancy when setting up the 2D and 3D viewer side by side like in this Sandcastle.

It seems that this discrepancy is there regardless of whether the terrain is there or not. It’s just whether it’s clamped to the ground or not. I wonder if this is because the underlying primitive is different when clamping a rectangle to ground (it uses GroundPrimitive vs Primitive).

In this Sandcastle I just posted, is it the 2D view that is in the correct position, or the 3D view?