TouchDownMapViewEventArgs¶
Namespace: ThinkGeo.UI.Maui
The Arg Event for MapView.TouchDown event
public class TouchDownMapViewEventArgs : MapViewEventArgs
Inheritance object → MapViewEventArgs → TouchDownMapViewEventArgs
Fields¶
ScreenPointers¶
The screenPoint selection. It contains the point (X, Y) for sure, and could contain other screen points
public List<ScreenPointD> ScreenPointers;
X¶
The X on the screen
public double X;
Y¶
The Y on the screen
public double Y;
Properties¶
TrackZoomIn¶
Whether it's TrackZoomIn Mode (on Windows)
public bool TrackZoomIn { get; set; }
Property Value¶
PanAnchorX¶
Where a pan that follows this touch should be measured from, when that is not where the finger landed. Null unless the platform says otherwise.
iOS tells an application a drag has begun only once the finger has travelled far enough to be a drag and not a tap, and it reports where the finger is by then, not where it started. Both points are wanted and they are not the same one: an overlay asking "what did the finger land on" needs where it started, and a map measuring how far it has been dragged needs the later point, or the map jumps by the width of that threshold the moment a pan begins. So MapViewEventArgs.X and Y are where the touch began, and this is where the drag did.
public Nullable<double> PanAnchorX { get; set; }
Property Value¶
PanAnchorY¶
public Nullable<double> PanAnchorY { get; set; }
Property Value¶
PointerDeviceType¶
The type of pointer device (touch, mouse, or pen) that generated this event.
public MapPointerDeviceType PointerDeviceType { get; set; }
Property Value¶
Constructors¶
TouchDownMapViewEventArgs()¶
public TouchDownMapViewEventArgs()