Is it possible to change the opacity of the layer using a horizontal slider? I tried the setOpacity() method of the featureLayer but nothing really changes in the opacity of the layer. Is there any way to do this? TIA
Please note that this is a Feature Layer that i needed to change the opacity depends on the user input.