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

On Resize window form Resize map

Topics: SharpMap Project, SharpMap v0.9 / v1.x, SharpMap v2.0, WinForms Controls
Oct 14, 2010 at 8:36 AM

Hi ,

I want to know that how can I resize map, when window form has been maxmimize or minimize.

Also it suits for the zoom also so that , if user is zoom somewhere , and he/she resize map , the point should apper.

Please let me know some code example.

Thanks for helping me.


Oct 14, 2010 at 10:45 AM

Hi Avatar,

Please add this if you are map image.

//Refresh the map image if window is maximize nad minimize

private void mapImage_SizeChanged(object sender, EventArgs e)

Hope this helps.

Please mark this solved if it solves your problem,


Vivek Kumar