MapEventManager¶
Namespace: ThinkGeo.UI.Maui
Manages native touch and gesture events raised by the associated MAUI view for MapView.
public class MapEventManager : System.IDisposable
Inheritance Object → MapEventManager
Implements IDisposable
Constructors¶
MapEventManager(View)¶
Initializes a new instance of the MapEventManager class.
public MapEventManager(View mauiView)
Parameters¶
mauiView View
The MAUI view whose touch input will be monitored.
Methods¶
OnScrollWheel(ScrollEventArgs)¶
Raises the MapEventManager.ScrollWheel event.
protected void OnScrollWheel(ScrollEventArgs e)
Parameters¶
e ScrollEventArgs
The scroll event arguments.
Dispose()¶
Releases the resources used by the MapEventManager.
public void Dispose()
Dispose(Boolean)¶
Releases the unmanaged resources used by the MapEventManager and, optionally, the managed resources.
protected void Dispose(bool disposing)
Parameters¶
disposing Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Events¶
Pointer1Up¶
Occurs when the primary pointer is released.
public event EventHandler<Pointer1UpMapViewEventArgs> Pointer1Up;
ScrollWheel¶
Occurs when a scroll wheel gesture is detected.
public event EventHandler<ScrollEventArgs> ScrollWheel;
DoubleTap¶
Occurs when a double-tap gesture is detected.
public event EventHandler<DoubleTapMapViewEventArgs> DoubleTap;
TouchDown¶
Occurs when a touch-down gesture begins.
public event EventHandler<TouchDownMapViewEventArgs> TouchDown;
LongPress¶
Occurs when a long-press gesture is detected.
public event EventHandler<LongPressMapViewEventArgs> LongPress;
SingleTap¶
Occurs when a single-tap gesture is detected.
public event EventHandler<SingleTapMapViewEventArgs> SingleTap;
TouchMove¶
Occurs when a touch-move gesture is detected.
public event EventHandler<TouchMoveMapViewEventArgs> TouchMove;
TouchUp¶
Occurs when a touch-up gesture completes.
public event EventHandler<TouchUpMapViewEventArgs> TouchUp;
TouchRotate¶
Occurs when a rotation gesture is detected.
public event EventHandler<TouchRotateMapViewEventArgs> TouchRotate;
Pointer1Down¶
Occurs when the primary pointer is pressed.
public event EventHandler<Pointer1DownMapViewEventArgs> Pointer1Down;