import org.argeo.gis.ui.MapViewerListener;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
+import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.forms.AbstractFormPart;
layout.marginWidth = 0;
mapArea.setLayout(layout);
mapViewer = mapControlCreator.createMapControl(context, mapArea);
+ mapViewer.getControl().setLayoutData(
+ new GridData(SWT.FILL, SWT.FILL, true, true));
// form part
MapFormPart mapFormPart = new MapFormPart();