# label styling

**URL:** <https://community.cesium.com/t/label-styling/527>\
**Category:** CesiumJS\
**Created:** [June 10, 2013, 1:25pm UTC](https://community.cesium.com/t/label-styling/527 "2013-06-10T13:25:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sofiushko](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@Sofiushko](https://community.cesium.com/u/Sofiushko)\
**Post date:** [June 10, 2013, 1:25pm UTC](https://community.cesium.com/t/label-styling/527/1 "2013-06-10T13:25:47Z")

</div>

Hi!

Is it possible to set a background to label?

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [June 11, 2013, 12:14am UTC](https://community.cesium.com/t/label-styling/527/2 "2013-06-11T00:14:28Z")

</div>

Hi,

The label itself does not support a background, but it does support an outline around the letters as shown in the [Sandcastle example](http://cesium.agi.com/Cesium/Apps/Sandcastle/index.html?src=Labels.html). If you want a solid background behind the label, you could also draw a [billboard](http://cesium.agi.com/Cesium/Apps/Sandcastle/index.html?src=Billboards.html) with an eye-offset so it shows up slightly behind.

Patrick

---

<div class="post-metadata">

**Author:** ![Sofiushko](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@Sofiushko](https://community.cesium.com/u/Sofiushko)\
**Post date:** [June 11, 2013, 5:47am UTC](https://community.cesium.com/t/label-styling/527/3 "2013-06-11T05:47:17Z")

</div>

Yes, I want a background behind the label. Thanks, will try this with billboard.

---

<div class="post-metadata">

**Author:** ![Sofiushko](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@Sofiushko](https://community.cesium.com/u/Sofiushko)\
**Post date:** [June 11, 2013, 6:10am UTC](https://community.cesium.com/t/label-styling/527/4 "2013-06-11T06:10:39Z")

</div>

Sorry

Have another problem:

Have done a billboard under label and its looks bad, because around the label is a transparent path(not outline), in wich can see my layer with map, but not billboard[![](https://lh5.googleusercontent.com/-e2JhJ1h9RkY/Uba_P7HTf0I/AAAAAAAAAE4/vbjAchIhT0c/s1600/bb.JPG)](https://lh5.googleusercontent.com/-e2JhJ1h9RkY/Uba_P7HTf0I/AAAAAAAAAE4/vbjAchIhT0c/s1600/bb.JPG)

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [June 12, 2013, 12:46am UTC](https://community.cesium.com/t/label-styling/527/5 "2013-06-12T00:46:14Z")

</div>

Try adding the billboard collection to the primitives before adding the label collection.

Patrick
