MapView.View.OnMouseMove C# (CSharp) Method

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void
		protected override void OnMouseMove(MouseEventArgs e)
		{
			if(map!=null)
			{
				Point temp = convertCoordsDiamond(e.X,e.Y,map.CurrentHeight);

				if(temp.X!=clickPoint.X || temp.Y != clickPoint.Y)
				{
					clickPoint=temp;

					if(mDown)
					{
						EndDrag=temp;
						if(DragChanged!=null)
							DragChanged(null,null);
					}

					Refresh();
				}
			}
		}