CesiumGS/cesium
GitHub で見るPrimitive with heightReference have a wrong positioning in 2D mode
Open
#12,531 opened on 2025年3月20日
good first issueonrampingtype - bug
説明
What happened?
Hello!
I use Cesium version 1.127.0. When a primitive has a heightReference other than NONE, its position on map is wrong in 2D mode. In 3D or without the heightReference, the primitive is placed properly.
If the primitive is displayed at lattitude longitude [0, 0], it is correctly placed.
Thank you for your help!
Sandcastle with option to add a point with a heightReference set to CLAMP_TO_GROUND
Reproduction steps
- Add two primitives (point or billboard) with and without a heightReference different than NONE
- Set the map in 2D mode
- The two primitives are not placed at the same position on map
Sandcastle example
Environment
Browser: Chrome and Edge CesiumJS Version: 1.127.0 Operating System: Window 10 and 11