This project has moved and is read-only. For the latest updates, please go here.

How can I pan the map ??

Topics: SharpMap v2.0, WinForms Controls
Nov 5, 2007 at 7:36 AM
Hi all ,

I would like to create radio button to change cursor for each action for map
for example panning , zooming , zoom to extend etc.

But don't know how to pan the map by hold left mouse click , move , released button and map pan.
(for desktop aplication)


Nov 5, 2007 at 4:53 PM
Hi mickey00,

You mention that you are using v2.0.

All you need to do in v2.0 is to use the MapViewControl in SharpMap.Presentation.WinForms, and set the Map.ActiveTool property to StandardMapTools2D.Pan.
May 19, 2008 at 11:36 AM
Edited May 19, 2008 at 11:38 AM
Dear All 
                       This is Qasim Afridi. i m using Sharp map to display the map in vs2.0 i display the map and giveing function to zoom in and Zoomout but how to deal with the PAN....... please some body help me... Thx