示例#1
0
        private void RaiseMouseInfoOverEvents(Point mousePosition)
        {
            var mouseOverEventArgs = GetMouseInfoEventArgs(mousePosition, Map.HoverInfoLayers);

            if (_previousMouseOverEventArgs != null && mouseOverEventArgs != null)
            {
                OnMouseInfoLeave();
            }
            else
            {
                OnMouseInfoOver(mouseOverEventArgs);
            }
            _previousMouseOverEventArgs = mouseOverEventArgs;
        }
示例#2
0
 protected void OnMouseInfoUp(MouseInfoEventArgs e)
 {
     MouseInfoUp?.Invoke(this, e);
 }
示例#3
0
 protected void OnMouseInfoOver(MouseInfoEventArgs e)
 {
     MouseInfoOver?.Invoke(this, e);
 }