Skip to content

OverlayDrawnMapViewEventArgs

Namespace: ThinkGeo.Core

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

public class OverlayDrawnMapViewEventArgs : System.EventArgs

Inheritance ObjectEventArgsOverlayDrawnMapViewEventArgs

Remarks:

This is the event arguments for the OverlayDrawn event on the MapEngine class. It is raised after the overlays are drawn. This event allows you draw something with the canvas after the Layer draws.

Properties

Overlay

Gets or sets the overlay you have drawn.

public Overlay Overlay { get; set; }

Property Value

Overlay
This property gets the overlay you have drawn.

Remarks:

None

TargetExtent

The property gets or sets the drawing extent of current overlay.

public RectangleShape TargetExtent { get; set; }

Property Value

RectangleShape

Constructors

OverlayDrawnMapViewEventArgs()

Constructor of OverlayDrawnWpfMapEventArgs class.

public OverlayDrawnMapViewEventArgs()

Remarks:

This is the default constructor. If you use this constructor then you need to set the required properties manually.

OverlayDrawnMapViewEventArgs(Overlay, RectangleShape)

Constructor of OverlayDrawnWpfMapEventArgs class.

public OverlayDrawnMapViewEventArgs(Overlay overlay, RectangleShape targetExtent)

Parameters

overlay Overlay
This parameter is the overlay that has been drawn.

targetExtent RectangleShape
This parameter is the world extent that has been drawn.

Remarks:

None