Code: Select all
<p:layoutUnit position="center">
<p:gmap id="mapa" center="-37.0000, -60.0000" zoom="6"
type="roadmap" streetView="false"
style="width:100%;height:100%;" widgetVar="tmap" />
</p:layoutUnit>
Code: Select all
<p:layoutUnit position="center">
<p:tabView>
<p:tab title="Mapa">
<p:gmap id="mapa" center="-37.0000, -60.0000" zoom="6"
type="roadmap" streetView="false"
style="width:100%;height:100%;" widgetVar="tmap" />
</p:tab>
<p:tab title="Listado">
</p:tab>
</p:tabView>
</p:layoutUnit>
I think it has to do with a <ul> and a <li> wrapping the map's div, but I couldn't fix it.
I'm using PrimeFaces-3.0.M4, Tomcat 6.0.33 and JSF Mojarra.
Any help will be greatly appreciated, thanks!