# Point with label- clamp to terrain issue- sandcastle

**URL:** <https://community.cesium.com/t/point-with-label-clamp-to-terrain-issue-sandcastle/7998>\
**Category:** CesiumJS\
**Created:** [February 13, 2019, 6:25pm UTC](https://community.cesium.com/t/point-with-label-clamp-to-terrain-issue-sandcastle/7998 "2019-02-13T18:25:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashley\_Mort](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ashley_mort/32/8527_2.png) [@Ashley\_Mort](https://community.cesium.com/u/Ashley_Mort)\
**Post date:** [February 13, 2019, 6:25pm UTC](https://community.cesium.com/t/point-with-label-clamp-to-terrain-issue-sandcastle/7998/1 "2019-02-13T18:25:39Z")

</div>

**1. A concise explanation of the problem you’re experiencing.**

Clamp to Terrain demo in Sandcastle seems to have some issues. When I run the demo, the point appears, then the terrain draws over top of the point and I can no longer see the point. If I want to see the point again, I have to zoom through/below the terrain. Also if I pan/rotate the map around, often the white label background will become disconnected from the label text. Is anyone else seeing this? I see it on my machine in latest Chrome and Edge.

**2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.**

> **[Cesium Sandcastle](https://sandcastle.cesium.com/?src=Clamp%20to%20Terrain.html)**
>
> The Cesium Sandcastle provides an interactive environment for testing Cesium code.

---

<div class="post-metadata">

**Author:** ![Ashley\_Mort](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ashley_mort/32/8527_2.png) [@Ashley\_Mort](https://community.cesium.com/u/Ashley_Mort)\
**Post date:** [February 13, 2019, 6:52pm UTC](https://community.cesium.com/t/point-with-label-clamp-to-terrain-issue-sandcastle/7998/2 "2019-02-13T18:52:09Z")

</div>

Animated gif of the issue I see: [https://media.giphy.com/media/lYiQ06exN265mH2WuS/giphy.gif](https://media.giphy.com/media/lYiQ06exN265mH2WuS/giphy.gif)

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [February 14, 2019, 3:17pm UTC](https://community.cesium.com/t/point-with-label-clamp-to-terrain-issue-sandcastle/7998/3 "2019-02-14T15:17:06Z")

</div>

Thanks for reporting this! The white label disconnecting from the text is very strange. Can you post the results you get from [http://webglreport.com/](http://webglreport.com/) here?

Also if you haven’t already, make sure you have the latest drivers for your graphics card.

Have you been able to replicate this on any other machine?

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [February 17, 2019, 9:34am UTC](https://community.cesium.com/t/point-with-label-clamp-to-terrain-issue-sandcastle/7998/4 "2019-02-17T09:34:57Z")

</div>

Hi Ashley,

It’s very likely that the new terrain work, which was merged into master last week, will fix this problem. Can you give it a try?

Kevin
