henrichen / zkgmapsz

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

Error zk integrates google map when displaying Gmarker #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Error on zk integrates google map when displaying Gmarker
My Code is:

<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
    <window id="mapWin" height="100%" width="100%">
<attribute name="onCreate">
    map.panTo(50.752213, 10.437012);
    map.setZoom(6);
    org.zkoss.gmaps.Gmarker gmark = new org.zkoss.gmaps.Gmarker();
    gmark.setParent(map);
    gmark.setLat(47.698710);
    gmark.setLng(10.3276800);
    gmark.setTooltiptext("This is a tooltip for gmarker");
    org.zkoss.gmaps.Gpolygon gpoly = new org.zkoss.gmaps.Gpolygon();
    gpoly.setParent(map);
    gpoly.addPoint(47.0, 10.0, 3);
    gpoly.addPoint(47.0, 10.5, 3);
    gpoly.addPoint(47.5, 10.5, 3);
    gpoly.addPoint(47.5, 10.0, 3);
    gpoly.addPoint(47.0, 10.0, 3);
    gpoly.setTooltiptext("This is a tooltip for gpoly");
</attribute>
        <gmaps id="map" width="100%" height="100%"></gmaps>
    </window>
</zk>

And then I found error on Javascript when display on google map, like this

Timestamp: 22/11/2012 6:56:53
Error: TypeError: a is undefined
Source File: 
http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/10/15a/%7Bmain,geometry
%7D.js
Line: 25

and

Timestamp: 22/11/2012 7:02:33
Error: TypeError: this.grid_ is undefined
Source File: http://xxxxxx/xxx/zkau/web/js/gmaps/ext/markermanager.js
Line: 1

I found same error on 
http://stackoverflow.com/questions/13485270/api-v3-release-in-the-last-24-hours

Please help...

Original issue reported on code.google.com by fauzioke...@gmail.com on 22 Nov 2012 at 1:34

GoogleCodeExporter commented 9 years ago
I also have the same issue

Original comment by thevils...@gmail.com on 2 Dec 2012 at 2:17

GoogleCodeExporter commented 9 years ago
wow the last FL works again. thanks alot

Original comment by thevils...@gmail.com on 2 Dec 2012 at 2:29