public override bool OnMouseWheel(MouseWheelEventArgs mouseWheelEventArgs, SKPoint controlPosition) { var zoomDelta = mouseWheelEventArgs.Delta / System.Windows.Input.Mouse.MouseWheelDeltaForOneLine; _mapSettingsController.ZoomByControlPoint(zoomDelta, controlPosition); return(true); }
public bool Zoom(SKPoint controlPoint, SKPoint mapPoint, int delta) { _mapSettingsController.ZoomByControlPoint(delta, controlPoint); return(true); }