Eye coordinates is a left-handed coordinate system, where
xpoints towards the viewer’s right,ypoints up, andzpoints into the screen
var viewer = new Cesium.Viewer("cesiumContainer");
var image = new Image();
image.onload = function () {
let bil_label_entity =
viewer.entities.add({
position: Cesium.Cartesian3.fromDegrees(-75.1641667, 39.9522222),
id: "7539",
billboard: {
image: image,
scale: 100,
color:Cesium.Color.fromBytes(0,0,0,150),
sizeInMeters: true,
},
label: {
text: "Label on top of scaling billboard",
font: "20px sans-serif",
eyeOffset : new Cesium.Cartesian3(0, 10000, 0),
},
});
viewer.flyTo(viewer.entities.getById("7539"))
};
image.src = "../images/facility.gif";