/** * Creates a 300x300 pixel map centered on Atlanta and adds it to the page. * * @return the created MapWidget instance. */ protected MapWidget addDefaultMap() { LatLng atlanta = LatLng.newInstance(33.7814790, -84.3880580); MapWidget map = new MapWidget(atlanta, 8); map.setSize("300px", "300px"); RootPanel.get().add(map); return map; }