See through ground, 4.1

1118
4
Jump to solution
12-20-2016 11:53 AM
KyleDunaway
New Contributor III

Using a WebScene, how do I enable the "See through ground" option?

The AGOL viewer and PRO viewer have this functionality, so I know it exists, just can't seem to find the right property to set.

Thanks

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
KyleDunaway
New Contributor III

The property is basemapTerrain.opacity, change it from 1 to 0

View solution in original post

4 Replies
KyleDunaway
New Contributor III

The property is basemapTerrain.opacity, change it from 1 to 0

nie
by
New Contributor II

The similar functionality is SceneView.basemapTerrain.wireframe, but the opacity property you mentioned is much more useful to me !

0 Kudos
LuChen
by
New Contributor

In 4.6, which object do I apply these property to? can't find either of the two in the reference.

0 Kudos
FrancoisMartin
New Contributor

It is the same code, in the require and function at the beginning of your script it is needed to add "esri/basemap" (even if yourself have not added any basemap in your local scene), then after the variable creating a "new SceneView" you add  SceneViewVariableName.basemapTerrain.opacity = 0 as said above.

0 Kudos