henrichen / zkgmapsz

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

Gmap disapper when removing Gmarker #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click "Clear" button.

What is the expected output? What do you see instead?
Should only see marker removed. But the whole map disappear too.

What version of the product are you using? On what operating system?
Gmaps 3.0.2, ZK 6.5

Possible workaround:
<script type="text/javascript"><![CDATA[
zk.afterLoad('gmaps', function() {
    var _gmarker = {}
    zk.override(gmaps.Gmarker.prototype, _gmarker, {
        removeHTML_: function(n) {
            this.clearCache();
        }
    });
});
]]></script>

Original issue reported on code.google.com by vincentj...@potix.com on 5 Mar 2014 at 9:21

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by raymondchao@potix.com on 17 Jul 2014 at 2:12