Revision history [back]

click to hide/show revision 1
initial version

asked 2017-09-26 22:27:00 +0800

ajamardo gravatar image ajamardo

google maps sizing full height & width

I am implementing the google maps add-on, and I can't make it work to take all empty space in the layout, without giving it the exact pixels amount.

Is there any way, as using vflex/hflex (that I've tried but I haven't been able to make it work)?

Thanks for tour help in advance.

I attach you the code I have now

<vlayout vflex="1" hflex="1"> <hlayout vflex="1" hflex="1"> <gmaps version="3.26" id="gmaps" lat="37.4410" lng="-122.1490" width="2220px" height="4220px" showSmallCtrl="true" protocol="https"> <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> </hlayout> </vlayout>

google maps sizing full height & width

I am implementing the google maps add-on, and I can't make it work to take all empty space in the layout, without giving it the exact pixels amount.

Is there any way, as using vflex/hflex (that I've tried but I haven't been able to make it work)?

Thanks for tour help in advance.

I attach you the code I have now

<vlayout vflex="1" hflex="1"> <hlayout vflex="1" hflex="1"> <gmaps version="3.26" id="gmaps" lat="37.4410" lng="-122.1490" width="2220px" height="4220px" showSmallCtrl="true" protocol="https"> <ginfo id="info" open="true" 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" lng="-122.1490" content="Hello, &lt;a href=&quot;http://www.zkoss.org&quot;&gt;ZK&lt;/a&gt; on top of Gmarker."/> </gmaps> </hlayout> </vlayout>

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