void Events_MapMouseWheel(BIT.AVL.Silver.Map.Map map, DeepEarth.Events.MouseWheelEventArgs args) { if(!_IsMouseOver || args.Delta == 0) { return; } int adjustment = args.Delta > 0 ? WheelZoomLevelAdjustment : -WheelZoomLevelAdjustment; map.ZoomOnPixelPoint(_MousePixelPosition, adjustment); args.Handled = true; }