GMap is a map component based on the Google Maps API; center, zoom and type are required. The API is loaded by a script tag before the component, which is more efficient for several maps, or by the component itself when apiKey is set, as here. If the API is already loaded, apiKey, apiVersion and libraries are ignored.
<div class="card">
<p:gmap center="41.381542, 2.122893" zoom="15" type="HYBRID" style="width:100%;height:400px" apiKey="AIzaSyCvCDkYieuUBmMWon_mfLAfjuaeuosuqow"/>
</div>