I am quite sure I am missing something rather elementary here, and hope someone can help me.
When I use GWT's dockpanel as the enclosing container, the Google Map renders just fine. When, however, i use GXT's LayoutContainer, it does not render. What am I doing wrong?
I am using GXT 2.2.1, GWT 2.1.0 and ver 1.1.0 of the GWT Maps API.
Thank you in advance for any help.
Here is the code snippet in question.
The onModuleLoad method:
public void onModuleLoad() {
// final DockLayoutPanel dock = new DockLayoutPanel(Unit.PX);
LayoutContainer container = new LayoutContainer();
container.setSize(500, 500);
Maps.loadMapsApi("my_key", "2", false, new MapRunnable(container));