Resize browser window clears GMap?

asked 2012-05-03 02:37:27 +0800

Fujitsu gravatar image Fujitsu

Hi All,

I have just started a pretty simple zul file:

<?xml version="1.0" encoding="UTF-8" ?>
<zk xmlns:zk="http://www.zkoss.org/2005/zul">
  <fwwindow id="${arg.windowId}"
            screenName="Freight Tracker"
            width="100%" height="100%">
      <zk:center title="Freight Tracker:" >
        <vbox width="100%" height="100%">
          <zk:gmaps id="gmap" mapType="map" lat="-30" lng="134" zoom="4" width="100%" height="100%" vflex="true" hflex="true" />

And this works, it displays the Google map the size of the window, but when I resize the browser window the gmap disappears!?

Any ideas?


delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2012-05-08 01:37:12 +0800

paowang gravatar image paowang
140 6

change the <vbox> to <cell>, it might work.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2012-05-03 02:37:27 +0800

Seen: 165 times

Last updated: May 08 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More