GMap - Controls

Controls on map can be customized via attributes like navigationControl and mapTypeControl. Alternatively setting disableDefaultUI to true will remove all controls at once.

<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>


<p:gmap id="gmap" center="41.381542, 2.122893" zoom="15" type="TERRAIN" style="width:100%;height:400px" 
					mapTypeControl="false" navigationControl="false" />