# The problem about depth performance between label and billboard

**URL:** <https://community.cesium.com/t/the-problem-about-depth-performance-between-label-and-billboard/14120>\
**Category:** CesiumJS\
**Created:** [June 18, 2021, 3:31am UTC](https://community.cesium.com/t/the-problem-about-depth-performance-between-label-and-billboard/14120 "2021-06-18T03:31:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kasatik143](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@kasatik143](https://community.cesium.com/u/kasatik143)\
**Post date:** [June 18, 2021, 8:48am UTC](https://community.cesium.com/t/the-problem-about-depth-performance-between-label-and-billboard/14120/2 "2021-06-18T08:48:52Z")

</div>

[From docs](https://cesium.com/learn/cesiumjs/ref-doc/Label.html?classFilter=label)

> Eye coordinates is a left-handed coordinate system, where `x` points towards the viewer’s right, **`y` points up** , and `z` points into the screen

```auto
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";

```

---

_[View the full topic](https://community.cesium.com/t/the-problem-about-depth-performance-between-label-and-billboard/14120)._
