i tried this but the problem not solved pleas help me to solve this issue ???
On Mar 15, 4:30 pm, Eric Ayers <zun...@google.com> wrote: > Did you try the options in this FAQ? > > http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Why_is_my_map_s... > > On Mon, Mar 14, 2011 at 5:25 AM, Ahmed Shoeib > > > > <ahmedelsayed.sho...@gmail.com> wrote: > > hi all, > > > i am trying to addMapWidgetto 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); > > } > > > publicMapWidgetaddMapWidget(){ > > > MapWidgetmap = newMapWidget(); > > > //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 > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > Eric Z. Ayers > Google Web Toolkit, Atlanta, GA USA -- 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.