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

Single

ScreenY

Gets and sets clicked screen y.

public float ScreenY { get; set; }

Property Value

Single

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(Single, Single, Double, Double)

Constructor of MapClickWpfMapEventArgs class.

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

Parameters

screenX Single
Clicked screen x.

screenY Single
Clicked screen y.

worldX Double
Clicked world x.

worldY Double
Clicked world y.