regarding transparency slider of any layer

341
1
09-27-2021 11:02 PM
naresh118
New Contributor

sir

      i'm working on arcgis runtime java application , i want transparency slider in layer of data showing in application . provide src code if possible...

 

 

@MarkBaird

 

0 Kudos
1 Reply
DaveWhitla
New Contributor III

Hi Naresh,

This is really just a basic JavaFX question rather than ArcGIS specific.

Add a slider control to your scene and bind the opacity property of the layer you want to control to its value property. Here is an example - without context I'm sorry but it should be sufficiently self explanatory:

DaveWhitla_0-1632873830183.png