Skip to content

ClickedMarkerEventArgs

Namespace: ThinkGeo.UI.Blazor

Provides data for Marker.OnClick event.

public class ClickedMarkerEventArgs : System.EventArgs

Inheritance objectEventArgsClickedMarkerEventArgs

Properties

ScreenX

Gets x-coordinate of screen.

public float ScreenX { get; }

Property Value

float

ScreenY

Gets y-coordinate of screen.

public float ScreenY { get; }

Property Value

float

WorldX

Gets x-coordinate of world.

public double WorldX { get; }

Property Value

double

WorldY

Gets y-coordinate of world.

public double WorldY { get; }

Property Value

double

ClickedMarker

Gets the original target.

public Marker ClickedMarker { get; }

Property Value

Marker

Constructors

ClickedMarkerEventArgs(Marker, float, float, double, double)

Initializes a new instance of ClickedMarkerEventArgs.

public ClickedMarkerEventArgs(Marker clickedMarker, float screenX, float screenY, double worldX, double worldY)

Parameters

clickedMarker Marker
The Marker the mouse clicked.

screenX float
The x-coordinate of screen the mouse clicked.

screenY float
The y-coordinate of screen the mouse clicked.

worldX double
The x-coordinate of world the mouse clicked.

worldY double
The y-coordinate of world the mouse clicked.