layer selection 3D Webscene

124
1
Jump to solution
11-03-2022 12:49 AM
RubenJanßen
New Contributor

I am currently working with the the ArcGIS API for JavaScript. I dived into the ArcGIS API for JavaScript currently for just a month now , so I am not that familiar with it.

is there a way to select the different layers of a 3D webscene with the js esri api? like a drop down menu or similar on the side where i can select the layers that i want to show.

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
gmiele-esristaff
New Contributor

Hi Ruben, the simplest way to achieve what you describe ("select the layers that I want to show") is to use the LayerList widget provided as part of the API. This sample shows how it can be integrated into your app.

View solution in original post

1 Reply
gmiele-esristaff
New Contributor

Hi Ruben, the simplest way to achieve what you describe ("select the layers that I want to show") is to use the LayerList widget provided as part of the API. This sample shows how it can be integrated into your app.