# Heading line?

**URL:** <https://community.cesium.com/t/heading-line/5482>\
**Category:** CesiumJS\
**Created:** [May 4, 2017, 3:24pm UTC](https://community.cesium.com/t/heading-line/5482 "2017-05-04T15:24:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tonyd/32/2135_2.png) [@TonyD](https://community.cesium.com/u/TonyD)\
**Post date:** [May 4, 2017, 3:24pm UTC](https://community.cesium.com/t/heading-line/5482/1 "2017-05-04T15:24:23Z")

</div>

I wanted to create a heading line, think compass needle, that has a fixed geo location on one end, has a fixed pixel length, and always points in the same direction even as the globe is rotated.

I tried doing it with a billboard of a line and using the ALIGNED\_AXIS property with a UNIT\_Z vector, but the entire line seems to be rotating with the globe. I'm not sure if I'm using the ALIGNED\_AXIS property correctly or it's not meant to do what I want.

Cesium version is 1.30 using Firefox 44 on Linux.

Thanks,  
&nbsp;&nbsp;Tony

---

<div class="post-metadata">

**Author:** ![Rachel\_Hwang](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Rachel\_Hwang](https://community.cesium.com/u/Rachel_Hwang)\
**Post date:** [May 6, 2017, 2:19am UTC](https://community.cesium.com/t/heading-line/5482/2 "2017-05-06T02:19:49Z")

</div>

Hi Tony,

I believe the “rotation” property will do what you want. You can see a working example here in Sandcastle: [http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Billboards.html&label=](http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Billboards.html&label=)

Hope that helps! Let me know if you need more pointers.

Best,

- Rachel

---

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tonyd/32/2135_2.png) [@TonyD](https://community.cesium.com/u/TonyD)\
**Post date:** [May 8, 2017, 4:19pm UTC](https://community.cesium.com/t/heading-line/5482/3 "2017-05-08T16:19:37Z")

</div>

The rotation property did the trick.  
Thanks,  
&nbsp;&nbsp;Tony
