As code below:
1. Click cross sign of info window to close it.
2. Click button, you will see "true", this is wrong.
<zk xmlns:w="client">
<gmaps lat="22" lng="22" width="500px" height="500px">
<gmarker id="gmarker" lat="22" lng="22"
content="marker content" open="true" />
</gmaps>
<button label="show open status">
<attribute name="onClick"><![CDATA[
alert(gmarker.isOpen());
]]></attribute>
</button>
</zk>
Cause:
Gmaps.js#_doInfoClose does not update client/server status properly.
https://code.google.com/p/zkgmapsz/source/browse/trunk/gmapsz/src/archive/web/js
/gmaps/Gmaps.js#916
How to fix:
Update client/server status when Gmaps.js#_doInfoCLose
Original issue reported on code.google.com by benbai...@gmail.com on 10 Sep 2013 at 2:19
Original issue reported on code.google.com by
benbai...@gmail.com
on 10 Sep 2013 at 2:19