-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
I could reproduce a bug when nesting the gmaps component inside an <hlayout>
so if you can live without that the easiest way is to just use a <div>
<div vflex="1" hflex="1">
<gmaps width="100%" height="100%" version="3.26" id="gmaps" lat="37.4410" lng="-122.1490" showSmallCtrl="true" />
</div>
or
<div vflex="1" hflex="1">
<gmaps vflex="1" hflex="1" version="3.26" id="gmaps" lat="37.4410" lng="-122.1490" showSmallCtrl="true" />
</div>
2 | No.2 Revision |
I could reproduce a bug when nesting the gmaps <gmaps>
component inside an <hlayout>
so if
If you can live without that the easiest way is to just use a <div>
<div vflex="1" hflex="1">
<gmaps width="100%" height="100%" version="3.26" id="gmaps" lat="37.4410" lng="-122.1490" showSmallCtrl="true" />
</div>
or
<div vflex="1" hflex="1">
<gmaps vflex="1" hflex="1" version="3.26" id="gmaps" lat="37.4410" lng="-122.1490" showSmallCtrl="true" />
</div>
3 | No.3 Revision |
I could reproduce a bug when nesting the <gmaps>
component inside an <hlayout>
If you can live without that the easiest way is to just use a <div>
<div vflex="1" hflex="1">
<gmaps width="100%" height="100%" version="3.26" id="gmaps" lat="37.4410" lng="-122.1490" showSmallCtrl="true" />
</div>
or
<div vflex="1" hflex="1">
<gmaps vflex="1" hflex="1" version="3.26" id="gmaps" lat="37.4410" lng="-122.1490" showSmallCtrl="true" />
</div>
UPDATE: I posted the following bug ZKGMAPS-18
A simple workaround is to apply a min-width
to the gmaps component:
<gmaps vflex="1" hflex="1" ... style="min-width: 1px" />