CesiumGS/cesium
Vedi su GitHubPrimitive with heightReference have a wrong positioning in 2D mode
Open
#12.531 aperta il 20 mar 2025
good first issueonrampingtype - bug
Metriche repository
- Star
- (11.758 star)
- Metriche merge PR
- (Merge medio 26g 3h) (26 PR mergiate in 30 g)
Descrizione
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