trigger resize Event to Google Maps from GWT 2.5 using “gwt-maps-3.8.0”-Collection of common programming errors

  1. That’s the best I found so far:

    private final native void resizeMap(GoogleMap map) /*-{
        $wnd.google.maps.event.trigger(map, 'resize');
    }-*/;
    
  2. If you don’t want to use your own nativ JS code you could just use the mapWidget.getMap().triggerResize() method provided by the gwt-maps-3.8.0 library

Originally posted 2013-11-09 21:06:31.