Select to view content in your preferred language

layer selection 3D Webscene

669
2
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
by Anonymous User
Not applicable

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

2 Replies
by Anonymous User
Not applicable

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.

JesseCloutier
Esri Community Manager

For records and tracking: Parent comment was published by @GianlucaMiele1 on 11/08/2022

Jesse Cloutier
Community Manager, Engagement & Content
0 Kudos