Billboard graphics at highest order of other entity items

Hello,
thank you for the great app.

I have an entity with billboard graphics generated with svg

billboard: {

image: “data:image/svg+xml;base64,<svg xmlns=“http://www.w3.org/2000/svg” width… etc”,

pixelOffset: new Cesium.Cartesian2(104, 31)

}

``

and another entity with ellipses

ellipse : {

semiMinorAxis : 80000.0,

semiMajorAxis : 80000.0,

material : Cesium.Color.fromCssColorString(’#ffd625’),

}

``

You can see the result on the image below

Can you please advice on how to set billboard to be at highest order, meaning billboard positioning at the top of all other entity items?

Thanks in advance

Hello,

You can use the Billboard.eyeOffset property. A negative z value should make the billboard layer over other entities.

Try something like

billboard: {

image: “data:image/svg+xml;base64,<svg xmlns=“http://www.w3.org/2000/svg” width… etc”,

pixelOffset: new Cesium.Cartesian2(104, 31),

eyeOffset: new Cesium.Cartesian3(0, 0, -50)

}

Best,

Hannah

works great, thank you