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

Single

ScreenY

Gets y-coordinate of screen.

public float ScreenY { get; }

Property Value

Single

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, Single, Single, 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 Single
The x-coordinate of screen the mouse clicked.

screenY Single
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.