I have problem with Mapimage.tools

Topics: General Topics, SharpMap Project, SharpMap v0.9 / v1.x, WinForms Controls
Dec 1, 2008 at 5:44 AM
I have a MapImage in my form. I load my map to that but when I set "MapImage1.ActiveTool = Forms.MapImage.Tools.Pan" and I hold my left mouse botton on my map and move it, everything disappears. I mean the map moves but when I release the mouse button the map is gone.  The same happens if I change Tools to ZoomIn or ZoomOut. Can you please help me to solve my problem ?

Jun 30, 2009 at 10:50 AM

you have to add MapImage1.Refresh() option

Oct 28, 2009 at 3:41 PM

So where exactly would this call to MapImage1.Refresh() occur?  I am new to SharpMap and just beginning to dig into user interaction such as this.