MapTapMapViewEventArgs¶
Namespace: ThinkGeo.UI.Wpf
Provides event data for tap gestures, including both screen and world coordinates.
public class MapTapMapViewEventArgs : System.EventArgs
Inheritance Object → EventArgs → MapTapMapViewEventArgs
Remarks:
The event arguments capture the tap location in both pixel and world coordinates so handlers can respond using whichever coordinate system is most convenient. A tap is treated as a quick mouse or touch interaction without button state information.
Properties¶
ScreenX¶
Gets or sets the tap location's X coordinate in screen pixels.
public float ScreenX { get; set; }
Property Value¶
ScreenY¶
Gets or sets the tap location's Y coordinate in screen pixels.
public float ScreenY { get; set; }
Property Value¶
WorldX¶
Gets or sets the tap location's X coordinate in world units.
public double WorldX { get; set; }
Property Value¶
WorldY¶
Gets or sets the tap location's Y coordinate in world units.
public double WorldY { get; set; }
Property Value¶
Constructors¶
MapTapMapViewEventArgs()¶
Initializes a new instance of the MapTapMapViewEventArgs class with undefined coordinates.
public MapTapMapViewEventArgs()
MapTapMapViewEventArgs(Single, Single, Double, Double)¶
Initializes a new instance of the MapTapMapViewEventArgs class using explicit screen and world coordinates.
public MapTapMapViewEventArgs(float screenX, float screenY, double worldX, double worldY)
Parameters¶
screenX Single
The tap location's X coordinate in screen pixels.
screenY Single
The tap location's Y coordinate in screen pixels.
worldX Double
The tap location's X coordinate in world units.
worldY Double
The tap location's Y coordinate in world units.