# polyline from kml closing by terrain

**URL:** <https://community.cesium.com/t/polyline-from-kml-closing-by-terrain/8971>\
**Category:** CesiumJS\
**Created:** [December 26, 2019, 6:35am UTC](https://community.cesium.com/t/polyline-from-kml-closing-by-terrain/8971 "2019-12-26T06:35:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yanarabotegarant](https://avatars.discourse-cdn.com/v4/letter/y/91b2a8/32.png) [@yanarabotegarant](https://community.cesium.com/u/yanarabotegarant)\
**Post date:** [December 26, 2019, 6:35am UTC](https://community.cesium.com/t/polyline-from-kml-closing-by-terrain/8971/1 "2019-12-26T06:35:34Z")

</div>

**[https://youtu.be/BKqre0Zyckg](https://youtu.be/BKqre0Zyckg)**

**lines vanished at another angle or camera moves**

**is it problem with camera/viewer rendering or 3dtileset? how to fix this?**

---

<div class="post-metadata">

**Author:** ![yanarabotegarant](https://avatars.discourse-cdn.com/v4/letter/y/91b2a8/32.png) [@yanarabotegarant](https://community.cesium.com/u/yanarabotegarant)\
**Post date:** [December 26, 2019, 8:57am UTC](https://community.cesium.com/t/polyline-from-kml-closing-by-terrain/8971/2 "2019-12-26T08:57:38Z")

</div>

need to add:

viewer.scene.logarithmicDepthBuffer = false;
