I have spent some more time playing with this. The problem that I have
described earlier happens only when widget is added to DisclosurePanel
with DisclosurePanel.add() method. If DisclosurePanel.setContent() is
used, map is shown as it should be. I couldn't figure out this earlier
since add() behaved otherwise normally.
Kind regards, Viktor.
On Nov 20, 1:48 pm, Eric Ayers <
zun...@google.com> wrote:
> Here is a code snippet from someone on the GWT contributors mailing list
> having a similar problem that came across today. They were using DockPanel
> instead of DisclosurePanel, but I thought I'd pass it along.
>
> root.animate(0, new AnimationCallback()
> {
> public void onLayout(Layer layer, double progress)
> {
> }
>
> public void onAnimationComplete()
> {
> map.checkResizeAndCenter();
> }
> });
>