Labels in Cesium 1.30

Hello,

I found a bug of Labels in Cesium 1.30. When I swithed to 2D,the label shows another black label.

I added a property of background and set the alpha 0.0 in Label.html , that could help me solve it.

function addLabel() {
    Sandcastle.declare(addLabel);
    viewer.entities.add({
        position : Cesium.Cartesian3.fromDegrees(-75.1641667, 39.9522222),
        label : {
            text : 'Philadelphia',
            //Added
            backgroundColor: new Cesium.Color(0.165, 0.165, 0.165, 0.0),
            showBackground : true
        }
    });
}

Hello,

I wasn’t able to reproduce the black label problem. What OS and browser are you using?

Best,

Hannah

win7-64 , chrome 56.0.2924.87. Yes, it shows well when I run on firefox but bad on the chrome

在 2017年2月15日星期三 UTC+8下午11:24:38,Hannah Pinkos写道:

Hmm okay. What video card does your computer have? It could be related to that.
Have you tried running in incognito mode with chrome? Sometimes things get cached when switching between versions of Cesium and that can cause unexpected things to happen.

-Hannah

Hi, I occurred the same situation as you did. Did you solve this problem?

1 Like