Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

Saga Saga
Vela Vela
Arya Arya

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.

GMap Rectangles

Any number of rectangles can be displayed on map. Rectangles can also respond to selection by via overlaySelect behavior.


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

<div class="card">
    <h:form prependId="false">
        <p:growl id="growl" life="3000"/>

        <p:gmap id="gmap" center="36.880257,30.687417" zoom="13" type="HYBRID" style="width:100%;height:400px"
                model="#{rectanglesView.rectangleModel}">
            <p:ajax event="overlaySelect" listener="#{rectanglesView.onRectangleSelect}" update="growl"/>
        </p:gmap>
    </h:form>
</div>