henrichen / zkgmapsz

Automatically exported from code.google.com/p/zkgmapsz
0 stars 0 forks source link

Open status of Gmarker is not updated properly when close info window #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by raymondchao@potix.com on 5 Dec 2013 at 9:31