Pan on middle mouse dragging

Jun 30, 2009 at 11:28 AM

How can I activate pan when middle mouse button is down? So, I want to pan with my middle mouse button not with left button

Thanks

Jul 7, 2009 at 1:53 PM

yes in click event of your map check this

if (e.button = 3)

{

'''' struct of your pan!

..

.

.

}