-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, i don't know why gmapsz 3 stopped showing markers on a map. The following code it's extracted from: http://books.zkoss.org/wiki/ZK_Component_Reference/Diagrams_and_Reports/Gmaps#Example
<window title="Gmaps Demo" border="normal" width="520px"> <!-- you may wish specify the version of google map api manually for some reason, use version="" to do it. ex: <gmaps version="3.5" id="mymap" ... ></gmaps> --> <gmaps id="mymap" width="500px" height="300px" showSmallCtrl="true"> <ginfo id="myinfo" open="true"> <![CDATA[ Hello, <a href="http://www.zkoss.org">ZK</a>. ]]> </ginfo> <gmarker id="mymark" lat="37.4410" lng="-122.1490"> <![CDATA[ Hello, <a href="http://www.zkoss.org">ZK</a> on top of Gmarker. ]]> </gmarker> <attribute name="onMapClick"> Gmarker gmarker = event.getGmarker(); if (gmarker != null) { gmarker.setOpen(true); } </attribute> </gmaps> </window>
It's related to the new version of google maps, refer to this thread: http://www.zkoss.org/forum/listComment/21159-zk-gmaps-error
Asked: 2012-11-22 15:45:31 +0800
Seen: 148 times
Last updated: Nov 29 '12
ZK studio and eclipse outline problem
ZK Package configuration problem
Eclipse Autocomplete not working in ZUL files...
Syntax Error mark ... help me!
Manual Installation of ZK Studio
Can't see button text whilst running simple demo
Adding Vbox to Center layout in Java