Closed GoogleCodeExporter closed 9 years ago
Hi,
This is caused by the bind_ process is delayed in gmaps since it should load
the resources of Google Map API at first.
The workaround:
wrap the gmaps by a div
<center flex="true">
<div>
<gmaps hflex="true" vflex="true"/>
</div>
</center>
Regards,
ben
Original comment by benbai...@gmail.com
on 24 Feb 2012 at 7:12
And please use the zk-Gmaps-bin-3.0.0-Beta-2012-02-24.zip
Another issue of hflex/vflex fixed
Original comment by benbai...@gmail.com
on 24 Feb 2012 at 7:30
Hi I found another bug. If I wrap it with a div, the error goes away, but then
the google map is misaligned. The google map only shows map imagery for the top
half of the div, for the bottom half I get the google maps grey background.
Then after some experimentation I found that if I set a one time timer and then
call .redraw() on the map when getting the timer message, this is fixed. My
guess here is that the map is drawn before the resize code, so the map is given
wrong location/size. Because redraw happens after the borderlayout layout code,
at that point the map code is given the right size/position. I don't know if
you want to create a new bug from this or you want to incorporate this
information on this report.
Original comment by javier.i...@gmail.com
on 24 Feb 2012 at 10:27
Sorry, in my previous message, where I say .redraw() it should say .invalidate()
Original comment by javier.i...@gmail.com
on 24 Feb 2012 at 10:31
Hi,
The bug in Comment 2 should be fixed in the latest freshly,
if there still any problem, would you provide a sample that can reproduce it?
Thanks,
Ben
Original comment by benbai...@gmail.com
on 3 Mar 2012 at 2:31
Fixed since 2012-03-06.
Original comment by benbai...@gmail.com
on 6 Mar 2012 at 8:58
Original issue reported on code.google.com by
javier.i...@gmail.com
on 23 Feb 2012 at 10:24