CesiumGS / CesiumGS/cesium

Cesium.CallbackProperty height problem when is constant is false

Open
#11,074 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Hi.

I am currently working on creating layering system , and when I got to Polyline , Polygon , Rectangle , I was getting in the same issue.
Heights - my goal is an line with one Billboard of circle in the start and one at the end. - this method is use to replace point entity for layering control .
now when I use Callback Property on each one of them and pass the position with height its height is getting ignored ,
and therefore the Billboard and polyline are in the same level or even polyline is above , but as I pass is constant true or not using the Callback Property
![124214](https://user-images.githubusercontent.com/99587893/217199086-5837c674-abb2-4b87-8e7e-bef9e5742ca3.png)
the heights act correctly.

is there any way to resolve it so when the value of is Constant is false its value will be changed and will use the height and will depend on it ?
Thanks very much.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior with CallbackProperty configured with constant false on the Polyline, Polygon, Rectangle, and Billboard cases described in the issue. Compare their rendered heights with the same values passed directly or with constant true, then identify why the dynamic-property path ignores height. Done means dynamic values consistently respect height across the affected entities, with a regression test covering the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.