Skip to content

MapMouseLeaveMapViewEventArgs

Namespace: ThinkGeo.UI.Wpf

Provides data for MapViewBase.MapMouseLeave, exposing the pointer position when it left the map.

public class MapMouseLeaveMapViewEventArgs : System.EventArgs

Inheritance object → EventArgs → MapMouseLeaveMapViewEventArgs

Remarks:

MapView-level notification fired once when the pointer leaves the map area, synchronously, before any InteractiveOverlay dispatch. Distinct from InteractiveOverlay.MapMouseLeave, which fires only if dispatch reaches that overlay.

Properties

ScreenX

Gets the X screen coordinate of the pointer when it left the map.

public float ScreenX { get; }

Property Value

float

ScreenY

Gets the Y screen coordinate of the pointer when it left the map.

public float ScreenY { get; }

Property Value

float

WorldLocation

Gets the exit world position as a PointShape.

public PointShape WorldLocation { get; }

Property Value

PointShape

Constructors

MapMouseLeaveMapViewEventArgs()

Initializes a new instance of the MapMouseLeaveMapViewEventArgs class with undefined coordinates.

public MapMouseLeaveMapViewEventArgs()

MapMouseLeaveMapViewEventArgs(float, float, double, double)

Initializes a new instance of the MapMouseLeaveMapViewEventArgs class with explicit coordinates.

public MapMouseLeaveMapViewEventArgs(float screenX, float screenY, double worldX, double worldY)

Parameters

screenX float
The X coordinate of the pointer in screen pixels when it left the map.

screenY float
The Y coordinate of the pointer in screen pixels when it left the map.

worldX double
The X coordinate of the pointer in world units when it left the map.

worldY double
The Y coordinate of the pointer in world units when it left the map.