mapLayout.setHeight("60%");
// Map with ID mapOsm is defined in the XML configuration. (mapOsm.xml)
final MapWidget map = new MapWidget("mapOsm", "gwt-samples");
map.setController(new PanController(map));
mapLayout.addMember(map);
HLayout buttonLayout = new HLayout();
buttonLayout.setMembersMargin(10);
IButton butSwitch = new IButton(I18nProvider.getSampleMessages().switchUnitTypes());