Skip to content

MapClickMapViewEventArgs

Namespace: ThinkGeo.UI.Maui

This class provides the data for the click event of the map control.

public class MapClickMapViewEventArgs : System.EventArgs

Inheritance objectEventArgsMapClickMapViewEventArgs

Remarks:

This class passes the location in world coordinates of where a user clicked on the map. You can then use event handlers to programmatically respond to the event based on the value of the location.

Properties

ScreenX

Gets and sets clicked screen x.

public float ScreenX { get; set; }

Property Value

float

ScreenY

Gets and sets clicked screen y.

public float ScreenY { get; set; }

Property Value

float

WorldX

Gets and sets clicked world x.

public double WorldX { get; set; }

Property Value

double

WorldY

Gets and sets clicked world y.

public double WorldY { get; set; }

Property Value

double

Constructors

MapClickMapViewEventArgs()

Constructor of MapClickWpfMapEventArgs class.

public MapClickMapViewEventArgs()

MapClickMapViewEventArgs(float, float, double, double)

Constructor of MapClickWpfMapEventArgs class.

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

Parameters

screenX float
Clicked screen x.

screenY float
Clicked screen y.

worldX double
Clicked world x.

worldY double
Clicked world y.