BR1
October 14, 2016, 2:59pm
1
Hello
Here a potential small bug in the last Cesium release when using event CZML file at EventSource format
switching a Billboard “show” from false to true, the billboard is not becoming visible
Working well from true to false.
So no way to make it visible again
here a sample if ever it could be an issue in the syntax itself
event: czml
data: {“id”:“F-XXXX”,“label”:{“text”:“F-XXXX”,“scale”:0.5,“show”:false,“horizontalOrigin”:“LEFT”,“verticalOrigin”:“CENTER”,“pixelOffset”:{“cartesian2”:[12.0,0.0]}},“billboard”:{“image”:“http://maps.google.com/mapfiles/kml/paddle/ylw-blank.png",“scale”:0.5,“show”:false,“horizontalOrigin”:“CENTER”,“verticalOrigin”:"BOTTOM ”}}
event: czml
data: {“id”:“F-XXXX”,“label”:{“text”:“F-XXXX”,“scale”:0.5,“show”:true,“horizontalOrigin”:“LEFT”,“verticalOrigin”:“CENTER”,“pixelOffset”:{“cartesian2”:[12.0,0.0]}},“billboard”:{“image”:“http://maps.google.com/mapfiles/kml/paddle/ylw-blank.png",“scale”:0.5,“show”:true,“horizontalOrigin”:“CENTER”,“verticalOrigin”:"BOTTOM ”}}
``
thanks
BR1
October 14, 2016, 3:09pm
2
Here with the position information and not working as well
data: {“id”:“F-XXXX”,“position”:{“cartographicDegrees”:[1.0,50.0,0.0]},“label”:{“text”:“F-XXXX”,“scale”:0.5,“show”:false,“horizontalOrigin”:“LEFT”,“verticalOrigin”:“CENTER”,“pixelOffset”:{“cartesian2”:[12.0,0.0]}},“billboard”:{“image”:“http://maps.google.com/mapfiles/kml/paddle/ylw-blank.png",“scale”:0.5,“show”:false,“horizontalOrigin”:“CENTER”,“verticalOrigin”:"BOTTOM ”}}
data: {“id”:“F-XXXX”,“position”:{“cartographicDegrees”:[1.0,50.0,0.0]},“label”:{“text”:“F-XXXX”,“scale”:0.5,“show”:true,“horizontalOrigin”:“LEFT”,“verticalOrigin”:“CENTER”,“pixelOffset”:{“cartesian2”:[12.0,0.0]}},“billboard”:{“image”:“http://maps.google.com/mapfiles/kml/paddle/ylw-blank.png",“scale”:0.5,“show”:true,“horizontalOrigin”:“CENTER”,“verticalOrigin”:"BOTTOM ”}}
``
I believe you are encountering this issue: https://github.com/AnalyticalGraphicsInc/cesium/issues/4408 which should be fixed soon.
hannah
October 19, 2016, 9:14pm
4
This issue was just fixed and will be available in the Cesium 1.27 release available on November 1st.
Best,
Hannah
BR1
October 20, 2016, 9:41am
5
Thank you so much Hannah. FYI, once an existing entity has some issue with the show properties for Billboard, I think they are a side effect on the Label propertie. No more able to switch its “show” propertie
Perhaps interresting to look at this as well
Bruno
hannah
October 20, 2016, 1:12pm
6
Thanks Bruno. I think that has been fixed as well, but would you be able to put together a code example so I can verify that?
Thanks,
Hannah