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
The property is basemapTerrain.opacity, change it from 1 to 0
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.
In 4.6, which object do I apply these property to? can't find either of the two in the reference.
The similar functionality is SceneView.basemapTerrain.wireframe, but the opacity property you mentioned is much more useful to me !
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.