GMap - Polygons Any number of polygons can be displayed on map. Polygons can also respond to selection by via overlaySelect behavior.
<h:form prependId="false">	
    <p:growl id="growl" life="3000" showDetail="true" />

    <p:gmap id="gmap" center="36.890257,30.707417" zoom="13" type="HYBRID" style="width:100%;height:400px" model="#{polygonsView.polygonModel}">
        <p:ajax event="overlaySelect" listener="#{polygonsView.onPolygonSelect}" update="growl" />
    </p:gmap>
</h:form>
                
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.2-SNAPSHOT on Mojarra-2.3.2.