private void RaiseMouseInfoOverEvents(Point mousePosition) { var mouseOverEventArgs = GetMouseInfoEventArgs(mousePosition, Map.HoverInfoLayers); if (_previousMouseOverEventArgs != null && mouseOverEventArgs != null) { OnMouseInfoLeave(); } else { OnMouseInfoOver(mouseOverEventArgs); } _previousMouseOverEventArgs = mouseOverEventArgs; }
protected void OnMouseInfoUp(MouseInfoEventArgs e) { MouseInfoUp?.Invoke(this, e); }
protected void OnMouseInfoOver(MouseInfoEventArgs e) { MouseInfoOver?.Invoke(this, e); }