Revision history [back]

click to hide/show revision 1
initial version

answered 2014-06-04 02:48:03 +0800

mhj gravatar image mhj flag of Brazil

Hello Antoc put this code example in a zk file and test:

<zk xmlns="http://www.zkoss.org/2005/zul">


<window id="wnd"  height="100%" width="100%" apply="${wndController}">

   <script type="text/javascript"
    content="zk.googleAPIkey='ABQIAAAAmGxmYR57XDAbAumS9tV5fxQXyylOlR69a1vFTcUcpV6DXdesOBSMEHfkewcSzwEwBT7UzVx8ep8vjA'" />
 <gmaps id="gmaps" width="100%" height="100%" showSmallCtrl="true" >
    <ginfo id="info" open="true"
        content="Hello, &lt;a href=&quot;http://www.zkoss.org\&quot;&gt;ZK&lt;/a&gt;."/>
    <gmarker id="marker" lat="37.4410" lng="-122.1490"
        content="Hello, &lt;a href=&quot;http://www.zkoss.org&quot;&gt;ZK&lt;/a&gt; on top of Gmarker."/>
</gmaps>

</window>

</zk>

I hope that it helps you...

Hello Antoc put this code example in a zk file and test:

<zk xmlns="http://www.zkoss.org/2005/zul">


<window id="wnd"  height="100%" width="100%" apply="${wndController}">

   <script type="text/javascript"
    content="zk.googleAPIkey='ABQIAAAAmGxmYR57XDAbAumS9tV5fxQXyylOlR69a1vFTcUcpV6DXdesOBSMEHfkewcSzwEwBT7UzVx8ep8vjA'" />
 <gmaps id="gmaps" width="100%" height="100%" showSmallCtrl="true" >
    <ginfo id="info" open="true"
        content="Hello, &lt;a href=&quot;http://www.zkoss.org\&quot;&gt;ZK&lt;/a&gt;."/>
    <gmarker id="marker" lat="37.4410" lng="-122.1490"
        content="Hello, &lt;a href=&quot;http://www.zkoss.org&quot;&gt;ZK&lt;/a&gt; on top of Gmarker."/>
</gmaps>

</window>

</zk>

I hope that it helps you...

ps: if you some day need the earth look at this: Hello-world-literally

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More