/// <summary> /// Called when touch exits map /// </summary> /// <param name="touchPoints">List of all touched points</param> /// <param name="releasedPoint">Released point, which was touched before</param> private bool OnTouchExited(List <Geometries.Point> touchPoints, Geometries.Point releasedPoint) { var args = new TouchedEventArgs(touchPoints); TouchExited?.Invoke(this, args); // Last touch released if (touchPoints.Count == 0) { _mode = TouchMode.None; _map.RefreshData(_viewport.Extent, _viewport.Resolution, ChangeType.Discrete); } return(args.Handled); }
protected void SingleTouchExited() { TouchExited?.Invoke(FirstTouch); }