# Displaying Only Vertices Of A Polyline

**URL:** https://community.cesium.com/t/displaying-only-vertices-of-a-polyline/2706
**Category:** CesiumJS
**Created:** [June 29, 2015, 7:08pm UTC](https://community.cesium.com/t/displaying-only-vertices-of-a-polyline/2706 "2015-06-29T19:08:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://community.cesium.com/u/Robert)
#### Post date: [June 29, 2015, 7:08pm UTC](https://community.cesium.com/t/displaying-only-vertices-of-a-polyline/2706/1 "2015-06-29T19:08:59Z")

</div>

I need to allow a user in real time to be able to manipulate the display  
of a polyline to either show line segments or to only show the vertices  
of the polyline. Is it possible to only show the vertices of a polyline? If not possible with a polyline, is there a recommended way for implementing this functionality?

---

<div class="post-metadata">

### Author: ![Mark\_Erikson](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mark_erikson/32/2024_2.png) [@Mark\_Erikson](https://community.cesium.com/u/Mark_Erikson)
#### Post date: [June 29, 2015, 8:34pm UTC](https://community.cesium.com/t/displaying-only-vertices-of-a-polyline/2706/2 "2015-06-29T20:34:01Z")

</div>

What exactly is the use case? When you say “show the vertices”, what are you expecting to see?

That said, you could try drawing both the actual polyline and a set of Point geometries or something based off the same position data. Update both, and toggle visibility on and off appropriately.
