# How to apply wireframe on terrain

**URL:** <https://community.cesium.com/t/how-to-apply-wireframe-on-terrain/1207>\
**Category:** CesiumJS\
**Created:** [May 15, 2014, 8:08am UTC](https://community.cesium.com/t/how-to-apply-wireframe-on-terrain/1207 "2014-05-15T08:08:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nakula\_Fisher](https://avatars.discourse-cdn.com/v4/letter/n/e9c0ed/32.png) [@Nakula\_Fisher](https://community.cesium.com/u/Nakula_Fisher)\
**Post date:** [May 15, 2014, 8:08am UTC](https://community.cesium.com/t/how-to-apply-wireframe-on-terrain/1207/1 "2014-05-15T08:08:56Z")

</div>

Hello Everyone…

I’d like to make wireframe and show tile coordinates just like at STK terrain demonstration

I’ve read the wireframe is false in default condition

but how to make it active inside toggle for the checkbox?

(sorry if this is noob question for you, but for sure, I have no idea for this, It’s so much fun to learn cesium, I like it, It’s beautiful, but unfortunately I don’t have strong background at both webGL or javascript, so I don’t really understand how to apply the codes from documentation, and thanks anyway, I appreciate you guys)

---

<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:** [May 15, 2014, 12:49pm UTC](https://community.cesium.com/t/how-to-apply-wireframe-on-terrain/1207/2 "2014-05-15T12:49:08Z")

</div>

Hi,

You could take a look at how CesiumInspector does it:

[https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Widgets/CesiumInspector/CesiumInspectorViewModel.js#L331](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Widgets/CesiumInspector/CesiumInspectorViewModel.js#L331)

In an app based on Viewer, you can get the globe from the Viewer’s scene.

var viewer = …

var globe = viewer.scene.globe;

globe.\_surface.\_debug.wireframe = true;

Kevin

---

<div class="post-metadata">

**Author:** ![Nakula\_Fisher](https://avatars.discourse-cdn.com/v4/letter/n/e9c0ed/32.png) [@Nakula\_Fisher](https://community.cesium.com/u/Nakula_Fisher)\
**Post date:** [May 15, 2014, 7:52pm UTC](https://community.cesium.com/t/how-to-apply-wireframe-on-terrain/1207/3 "2014-05-15T19:52:22Z")

</div>

Is it require checkbox in div element?

I’ve tried it, but it didn’t work

Can I ask you something but out of the topics?

Where can I learn and mastering this cesiumjs (or some kind of this 3D mapping library)?

What must I start with?

I want to explore all of it

Thank a lot,

Nakula
