Skip to main content
A newer version of this page is available. .

LayerBase Members

Serves as the base class for all layers.

Properties

Name Description
MaxZoomLevel Gets or sets the maximum zoom level at which this layer should be visible.
MinZoomLevel Gets or sets the minimum zoom level at which this layer should be visible.
Name Gets or sets the name of layer.
Visible Gets or sets a value specifying whether or not a layer should be visible.
ZIndex Gets or sets a value that is the order on the z-plane in which a map layer element (e.g., image tiles layer or vector layer) appears.

Methods

Name Description
Dispose() Disposes of the current object. Inherited from MapDisposableObject.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
GetViewport() Returns a map viewport.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
DataLoaded Occurs after the data has been loaded into a map layer.
Error Occurs when an internal exception is raised.
ViewportChanged Occurs every time the current viewport is changed.
VisibleChanged Occurs when the layer’s LayerBase.Visible property value has changed.
See Also