Skip to content

MouseMovingMapViewEventArgs

Namespace: ThinkGeo.UI.Blazor

Provides data for MapView.OnMouseMove event.

public class MouseMovingMapViewEventArgs : System.EventArgs

Inheritance objectEventArgsMouseMovingMapViewEventArgs

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

IsDragging

Gets a value indicating whether the mouse is dragging.

public bool IsDragging { get; }

Property Value

bool

Constructors

MouseMovingMapViewEventArgs(float, float, double, double, bool)

Initializes a new instance of MouseMovingMapViewEventArgs.

public MouseMovingMapViewEventArgs(float screenX, float screenY, double worldX, double worldY, bool dragging)

Parameters

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.

dragging bool
A value indicates whether the mouse is dragging.