Skip to content

MapTapMapViewEventArgs

Namespace: ThinkGeo.Core

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

public class MapTapMapViewEventArgs : System.EventArgs

Inheritance ObjectEventArgsMapTapMapViewEventArgs

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

MapTapMapViewEventArgs()

Constructor of MapClickWpfMapEventArgs class.

public MapTapMapViewEventArgs()

MapTapMapViewEventArgs(Single, Single, Double, Double)

Constructor of MapClickWpfMapEventArgs class.

public MapTapMapViewEventArgs(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.