Hi.
I have found that the Cesium Viewer throws an error when the globe property is false and within an entity, e.g. a point, a text label is included.
Of course, when I add a globe (by not adding the property globe: false), the text label is shown correctly.
A sample code is included next:
var viewer = new Cesium.Viewer(‘cesiumContainer’, {
globe: false
});
var tripoli = viewer.entities.add({
name : 'A Point',
position : Cesium.Cartesian3.fromDegrees(-70.0, 50.0),
point : {
pixelSize : 10,
color : Cesium.Color.RED
},
label : {
text : 'ES'
}
});
Please let me know if this is a bug or there is another way to show text labels when no globe is added.
Thanks,
Nikos
Cesium Version: 1.28
Windows 10, Firefox 50.1.0, node.js 7.2.1 (x64) and npm