Create a Layout with just the MapFragment. Must be done with designer.
Create a Panel of the desired size by code. Load the MapFragment-Layout to this panel.
put the mapfraqment in a layout, setting the anchors as desired, then load the layout into a panel. If you want to resize the the map during runtime, resize the panel and then reload the layout again