Skip to content

OverlayDrawingMapViewEventArgs

Namespace: ThinkGeo.Core

This is the event arguments for the OverlayDrawn event on the MapEngine class. It is raised before any of the overlays are drawn.

public class OverlayDrawingMapViewEventArgs : System.EventArgs

Inheritance ObjectEventArgsOverlayDrawingMapViewEventArgs

Remarks:

This is the event arguments for the OverlayDrawing event on the MapEngine class. It is raised before any of the overlays are drawn. This event allows you to cancel, manipulate the Layer, or draw something with the canvas before the Layer draws.

Properties

Overlay

Gets or sets the overlay you will be drawing.

public Overlay Overlay { get; set; }

Property Value

Overlay
This property gets the overlay you will be drawing.

Remarks:

None

Cancel

Gets or sets whether the action will be canceled or not.

public bool Cancel { get; set; }

Property Value

Boolean

TargetExtent

Gets or sets the extent for drawing this overlay.

public RectangleShape TargetExtent { get; set; }

Property Value

RectangleShape

Constructors

OverlayDrawingMapViewEventArgs()

Constructor of OverlayDrawingWpfMapEventArgs class.

public OverlayDrawingMapViewEventArgs()

OverlayDrawingMapViewEventArgs(Overlay, RectangleShape, Boolean)

Constructor of OverlayDrawingWpfMapEventArgs class.

public OverlayDrawingMapViewEventArgs(Overlay overlay, RectangleShape targetExtent, bool cancel)

Parameters

overlay Overlay
This parameter is the overlay that will be drawn.

targetExtent RectangleShape
This parameter is the canvas that will are drawing on.

cancel Boolean
This parameter specifies whether or not we will cancel drawing of the overlay.

Remarks:

None