Hi,

What I do is setup my panels in gwt desinger, then I add this to use one of 
them. You may be able to add the map widget to the components, but I'm not 
sure how the designer will act yet.

I did a small demo 
here: http://code.google.com/p/gwt-examples/wiki/DemoGwtMaps

    private void drawMap1() {

    

    Maps.loadMapsApi(
"ABQIAAAAoVxd5Qo5vFe3MnANAR_5IhTsnTtAAfrUs4dc6txt7LngSeIOABT2apOqWksuaeJ7GLIgJB8juKlH8g",
 
"2", false, new Runnable() {

      public void run() {

        drawMap2();

      }

    });

  }


  private void drawMap2() {


    LatLng center = LatLng.newInstance(39.509, -98.434);


    map = new MapWidget(center, 4);

    map.setUIToDefault();

    map.addMapType(MapType.getHybridMap());

    map.setCurrentMapType(MapType.getHybridMap());

    map.setSize("100%", "100%");

    

    vpMap.clear();

    vpMap.add(map);

    mapListLeft.setMap(map);

  }

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to