Menu

#17 setCenter has problem in another panel

open
nobody
None
5
2007-09-14
2007-09-14
No

If I add the GMap2 to the root panel:
RootPanel.get("map").add(gmap);
and then call setCenter, it works fine.
On the other hand, if I add the gmap to another panel and then add that panel to the root, the center I've specified is positioned in the upper left corner of the gmap.

Discussion


Log in to post a comment.