Table of Contents

Struct MapClick

Namespace
LansMap.Interaction
Assembly
LansMap.Runtime.dll

A completed click on the map.

public readonly struct MapClick
Inherited Members

Constructors

MapClick(PointerButton, ScreenPoint, LatLon)

Creates a map click payload.

public MapClick(PointerButton button, ScreenPoint screenPx, LatLon latLon)

Parameters

button PointerButton

Pointer button that completed the click.

screenPx ScreenPoint

Release position in screen px, with the origin at the top left.

latLon LatLon

Geographic coordinate at the release position.

Properties

Button

Pointer button that completed the click.

public PointerButton Button { get; }

Property Value

PointerButton

LatLon

Geographic coordinate at the release position.

public LatLon LatLon { get; }

Property Value

LatLon

ScreenPx

Release position in screen px, with the origin at the top left.

public ScreenPoint ScreenPx { get; }

Property Value

ScreenPoint