GMap Control goes beyond size

Topics: Windows Forms
Nov 7, 2012 at 4:03 PM

Hey there

First of all thanks for sharing such an execellent tool. I find it very useful so far.

I have a problem though... When add a GMap control to my windows for everything goes smoothly, but when I run/debug the application the control suddenly goes beyond the size I have set for it and fill the complete windows form. I must clearly be doing something wrong but what ? It's seems that if I set MaximumSize to the same as Size the control get's it's real size back, but it's at the location I've specified in the control, but at 0,0 !? 

I'm using the latest build of GMap.

Any hints...

Nov 7, 2012 at 4:14 PM

if you set Map.Dock = System.Windows.Forms.DockStyle.Fill; // then it fills all the form

Nov 7, 2012 at 7:05 PM

Ahh.. Thanks radioman. This certainly did the magic :)