Cesium - Height for PointPrimitive

I am trying to draw points at some calculated heights (for example, points along a vertical pole). Is there any way to draw pointPrimitive at certain height?

I tried to implement same it with billboards, but not sure how to specify height with billboards too.

Any help is much appreciated. Thanks in advance!!!

Hi there,

Try setting the point’s heighReference to RELATIVE_TO_GROUND: http://cesiumjs.org/Cesium/Build/Documentation/PointGraphics.html?classFilter=point#heightReference

Hope that helps,

  • Rachel

Thanks Rachel,

Can you please post an example? That would be helpful.

–MP

Hi there,

Here’s a code example: http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=766679cb4e48dbd11fa2cbafefd1a02a

Hope that helps,

  • Rachel