Here is an example of the map:
Code: Select all
<p:tab title="Mapa" closable="false">
<p:gmap id="gmap"
center="#{trajetoController.latitudeInicial} ,
#{trajetoController.longitudeInicial}"
zoom="10" type="HYBRID" style="width:100%;height:600px"
model="#{trajetoController.rotaModel}">
</p:gmap>
</p:tab>