DrawnLayerOverlayEventArgs¶
Namespace: ThinkGeo.UI.WebApi
Provides data for the LayerOverlay.DrawnLayer event after a layer finishes rendering.
public class DrawnLayerOverlayEventArgs : System.EventArgs
Inheritance object → EventArgs → DrawnLayerOverlayEventArgs
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 - a Layer or an AsyncLayer. The value can be null when the draw operation is not associated with a concrete layer instance.
public LayerBase DrawnLayer { get; set; }
Property Value¶
LayerBase
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, LayerBase)¶
Creates an event argument instance for the supplied canvas and layer once rendering is complete.
public DrawnLayerOverlayEventArgs(GeoCanvas geoCanvas, LayerBase drawnLayer)
Parameters¶
geoCanvas GeoCanvas
Canvas that was used for drawing.
drawnLayer LayerBase
Layer that finished drawing.