Select to view content in your preferred language

Layer Visibility and Opacity

327
0
09-04-2023 01:47 AM
IngmarWittmann
Occasional Contributor

Hi,

i cannot hide or unhide a Layer.

public ArcGISMapComponent arcgismap;

void Start()
{
var layer_1 = arcgismap.Layers[1];
layer_1.IsVisible = false;
layer_1.Opacity = 0f;
}

i get the name of the Layer but "Is.Visible" and "Opacitiy" is not working.
What am i doing wrong?

Greets
Ingmar

0 Kudos
0 Replies