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
buttonPointerButtonPointer button that completed the click.
screenPxScreenPointRelease position in screen px, with the origin at the top left.
latLonLatLonGeographic coordinate at the release position.
Properties
Button
Pointer button that completed the click.
public PointerButton Button { get; }
Property Value
LatLon
Geographic coordinate at the release position.
public LatLon LatLon { get; }
Property Value
ScreenPx
Release position in screen px, with the origin at the top left.
public ScreenPoint ScreenPx { get; }