# polylines in 3d from czml, or polygon outline control

**URL:** <https://community.cesium.com/t/polylines-in-3d-from-czml-or-polygon-outline-control/1716>\
**Category:** CesiumJS\
**Created:** [November 27, 2014, 2:49pm UTC](https://community.cesium.com/t/polylines-in-3d-from-czml-or-polygon-outline-control/1716 "2014-11-27T14:49:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://community.cesium.com/u/Ivan)\
**Post date:** [November 27, 2014, 2:49pm UTC](https://community.cesium.com/t/polylines-in-3d-from-czml-or-polygon-outline-control/1716/1 "2014-11-27T14:49:58Z")

</div>

Hello,

after much searching i’m gonna concede.

we have a workflow that simulates the draping of polygons and points over the terrain using Cesium.sampleTerrain()… it reads features coming in from czml and modifies the positions’ z values before adding them to the map.

This works fine for polygons and points, but the polylines never seem to respect the z-component of their posisitions.

in the sandbox there’s an eample of a polyline being 3d, so i’m sure we’re doing something wrong.

alternatively, if there was a way to style the outline of a polygon, this wouldn’t be neccessary.

are there any examples of CZML where a polyine is shown in 3D?

cheers

-ivan
