Skip to content

MapMouseWheelMapViewEventArgs

Namespace: ThinkGeo.UI.Wpf

Provides data for MapViewBase.MapMouseWheel, exposing screen/world coordinates and the wheel delta.

public class MapMouseWheelMapViewEventArgs : System.EventArgs

Inheritance object → EventArgs → MapMouseWheelMapViewEventArgs

Remarks:

MapView-level notification fired once per physical wheel event, synchronously, before any InteractiveOverlay dispatch. Distinct from InteractiveOverlay.MapMouseWheel, which fires only if dispatch reaches that overlay.

Properties

ScreenX

Gets the X screen coordinate of the pointer.

public float ScreenX { get; }

Property Value

float

ScreenY

Gets the Y screen coordinate of the pointer.

public float ScreenY { get; }

Property Value

float

WheelDelta

Gets the signed wheel-delta value for this event.

public int WheelDelta { get; }

Property Value

int

WorldLocation

Gets the pointer world position as a PointShape.

public PointShape WorldLocation { get; }

Property Value

PointShape

Constructors

MapMouseWheelMapViewEventArgs()

Initializes a new instance of the MapMouseWheelMapViewEventArgs class with undefined coordinates and no delta.

public MapMouseWheelMapViewEventArgs()

MapMouseWheelMapViewEventArgs(float, float, double, double, int)

Initializes a new instance of the MapMouseWheelMapViewEventArgs class with explicit data.

public MapMouseWheelMapViewEventArgs(float screenX, float screenY, double worldX, double worldY, int wheelDelta)

Parameters

screenX float
The X coordinate of the pointer in screen pixels.

screenY float
The Y coordinate of the pointer in screen pixels.

worldX double
The X coordinate of the pointer in world units.

worldY double
The Y coordinate of the pointer in world units.

wheelDelta int
Signed wheel-delta value (positive = away from user, negative = toward user).