Select to view content in your preferred language

Addition of layers via dropdown list.

350
0
01-03-2022 03:23 AM
PrabalGupta
New Contributor

Dear members,

I'm working on a project where I need to add a UI to make the map easily interactable. Hence, I'm adding a dropdown list to add different layers through which a user can choose what layer to select and display. 

But I'm unable to call the layers via a dropdown list. What do I do so that it displays only the selected layer from the dropdown list? The technology I'm using is arcgis API for javascript 4.22.

I'm open for suggestions and looking forward for a quick response.  I'm kind of new to this, so every suggestion can be of great help to me.

0 Kudos
0 Replies