hi all, i am trying to add MapWidget to VerticalPanel but the map added on the left corner
the image http://www.4shared.com/photo/zSoEo2LB/Screenshot.html and i added marker and the marker should be centered on the image i can't see the marker when i load the map . i should navigate to this location to show map the code for this --------------------- private FormPanel form = new FormPanel(); private VerticalPanel main = new VerticalPanel(); public Map(){ ScrollPanel container = new ScrollPanel(); initWidget(container); container.setStyleName("FuoEgForm"); form.setWidget(main); main.setSpacing(6); container.add(main); } public MapWidget addMapWidget(){ MapWidget map = new MapWidget(); //map.setSize("100%", "100%"); map.setStyleName("gwt-map"); map.removeMapType(MapType.getNormalMap()); map.removeMapType(MapType.getSatelliteMap()); map.addMapType(MapType.getPhysicalMap()); map.addMapType(MapType.getHybridMap()); map.setCurrentMapType(MapType.getHybridMap()); //map.setSize("100%", "100%"); map.setWidth("500px"); map.setHeight("500px"); main.add(map); } how can i solve this issue . the map should fill the gray boundary .... ??? thanks for help . regards, ahmed shoeib GWT developer -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.