// Create map with Google layer (satellite), and add a PanController to it:
VLayout mapLayout2 = new VLayout();
mapLayout2.setShowEdges(true);
googleSatMap = new MapWidget("mapGoogleSat", "gwt-samples");
googleSatMap.setController(new PanController(googleSatMap));
mapLayout2.addMember(googleSatMap);
// Create map with Google layer (terrain), and add a PanController to it:
VLayout mapLayout3 = new VLayout();
mapLayout3.setShowEdges(true);
googleTerrainMap = new MapWidget("mapGoogleTerrain", "gwt-samples");