CesiumGS/cesium
Voir sur GitHubPrimitive with heightReference have a wrong positioning in 2D mode
Open
#12 531 ouverte le 20 mars 2025
good first issueonrampingtype - bug
Métriques du dépôt
- Stars
- (11 758 stars)
- Métriques de merge PR
- (Merge moyen 26j 3h) (26 PRs mergées en 30 j)
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