mapLayout.setShowEdges(true);
// Map with ID osmNavigationToolbarMap is defined in the XML configuration.
final MapWidget map = new MapWidget("mapOsm", "gwt-samples");
map.setController(new PanController(map));
mapLayout.addMember(map);
// Create a layout for the overview map:
HLayout bottomLayout = new HLayout();
bottomLayout.setHeight(300);
bottomLayout.setMembersMargin(10);