Skip to content

StyleLayerVisibilityChangedEventArgs

Namespace: ThinkGeo.Core.Styling

What MapStyle.LayerVisibilityChanged says: which layer, and whether it is now shown.

public class StyleLayerVisibilityChangedEventArgs : System.EventArgs

Inheritance object → EventArgs → StyleLayerVisibilityChangedEventArgs

Properties

LayerId

Gets the layer's id.

public string LayerId { get; }

Property Value

string

IsVisible

Gets whether the layer is now shown.

public bool IsVisible { get; }

Property Value

bool

Constructors

StyleLayerVisibilityChangedEventArgs(string, bool)

Initializes a new instance.

public StyleLayerVisibilityChangedEventArgs(string layerId, bool isVisible)

Parameters

layerId string

isVisible bool