http://code.google.com/p/gwt-google-apis/downloads/list?can=1&q=maps
This version requires GWT 1.5.
The way you describe your problem and the way your image looks, it
looks similar to a problem reported before with GWT-Ext:
http://code.google.com/p/gwt-google-apis/issues/detail?id=127&can=1&q=gwt-ext
Are you using GWT-Ext? Or it could just be that your tiles are slow
to load (but you should see a message saying the tile cannot be
loaded.)
-Eric.
--
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/
public class MapsTutorial implements EntryPoint {
private MapWidget map;
// GWT module entry point method.
public void onModuleLoad() {
MapWidget map = new MapWidget();
final VerticalPanel endpointsMapPanel = new VerticalPanel();
endpointsMapPanel.setSize("100%", "100%");
map.setZoomLevel(7);
map.addControl(new SmallZoomControl());
map.addControl(new ScaleControl());
endpointsMapPanel.add(map);
map.setStyleName("map");
map.setSize("370px", "370px");
// Add the map to the HTML host page
RootPanel.get("mapsTutorial").add(endpointsMapPanel);
}
}
I don't quite understand your CSS styling - the size seems to
contradict the map.setSize() call for example.
--
-Eric.
--
--