CesiumGS/cesium
Ver no GitHubPrimitive with heightReference have a wrong positioning in 2D mode
Open
#12.531 aberto em 20 de mar. de 2025
good first issueonrampingtype - bug
Métricas do repositório
- Stars
- (11.758 stars)
- Métricas de merge de PR
- (Mesclagem média 26d 3h) (26 fundiu PRs em 30d)
Description
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