Hello,
I create a label entity on my view , I set the font size 13px, then it looks not clear. My cesium's version is 1.28.
The code as follows:
-----------------------------------------------------------------------------------------------
function offsetByDistance() {
Sandcastle.declare(offsetByDistance);
var image = new Image();
image.onload = function() {
viewer.entities.add({
position : Cesium.Cartesian3.fromDegrees(-75.1641667, 39.9522222),
billboard : {
position : Cesium.Cartesian3.fromDegrees(-75.1641667, 39.9522222),
scaleByDistance : new Cesium.NearFarScalar(1.5e2, 5.0, 1.5e7, 0.5),
image : image
},
label : {
text : '东海舰队',
font : '13px Verdana',
horizontalOrigin : Cesium.HorizontalOrigin.CENTER,
pixelOffset : new Cesium.Cartesian2(0.0, -image.height),
pixelOffsetScaleByDistance : new Cesium.NearFarScalar(1.5e2, 6.0, 1.5e7, 0.5)
}
});
};
image.src = '../images/facility.gif';
}
-------------------------------------------------------------------------

But sometimes when I adjust the camera's orientation, it also can shows clearly.

I tried change the font-family but failed. Then I set the font bold, it shows a little better...

But i want an effect clear but not bold...Please tell me how to change it? Thanks