Skip to content

DrawnLayerOverlayEventArgs

Namespace: ThinkGeo.UI.WebApi

Provides data for the LayerOverlay.DrawnLayer event after a layer finishes rendering.

public class DrawnLayerOverlayEventArgs : System.EventArgs

Inheritance ObjectEventArgsDrawnLayerOverlayEventArgs

Properties

GeoCanvas

Gets or sets the canvas that contains the rendered layer output. The value can be null when the source does not expose a canvas.

public GeoCanvas GeoCanvas { get; set; }

Property Value

GeoCanvas
The canvas associated with the event.

DrawnLayer

Gets or sets the layer that has finished drawing. The value can be null when the draw operation is not associated with a concrete layer instance.

public Layer DrawnLayer { get; set; }

Property Value

Layer
The layer associated with the event.

Constructors

DrawnLayerOverlayEventArgs()

Creates an event argument instance with default values so callers can populate it later.

public DrawnLayerOverlayEventArgs()

DrawnLayerOverlayEventArgs(GeoCanvas, Layer)

Creates an event argument instance for the supplied canvas and layer once rendering is complete.

public DrawnLayerOverlayEventArgs(GeoCanvas geoCanvas, Layer drawnLayer)

Parameters

geoCanvas GeoCanvas
Canvas that was used for drawing.

drawnLayer Layer
Layer that finished drawing.