Locale

Language
English
English
English
French
German
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Arabic
Bulgarian
Czech
Greek
Persian
Finnish
Danish
Hindi
Indonesian
Croatian
Japanese
Hungarian
Hebrew
Georgian
Central Kurdish
Khmer
Kyrgyz
Kazakh
Lithuanian
Latvian
Malay
Norwegian
Polish
Romanian
Russian
Slovak
Slovenian
Serbian
Swedish
Thai
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

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

GMap Info Window

When a marker is selected, an info window can be displayed to provide detailed information.


<script src="https://maps.google.com/maps/api/js?key=AIzaSyCvCDkYieuUBmMWon_mfLAfjuaeuosuqow&amp;sensor=false"></script>

<div class="card">
    <h:form prependId="false">
        <p:gmap id="gmap" center="36.890257,30.707417" zoom="13" type="HYBRID"
                model="#{infoWindowView.advancedModel}" style="width:100%;height:400px">

            <p:ajax event="overlaySelect" listener="#{infoWindowView.onMarkerSelect}"/>

            <p:gmapInfoWindow id="infoWindow">
                <p:outputPanel style="text-align: center; display: block; margin: auto">

                    <p:graphicImage name="/demo/images/antalya/#{infoWindowView.marker.data}" height="150"/>
                    <br/>
                    <h:outputText value="#{infoWindowView.marker.title}"/>

                </p:outputPanel>
            </p:gmapInfoWindow>
        </p:gmap>

        <!-- Preload for demo -->
        <p:outputPanel style="display:none">
            <p:graphicImage name="/demo/images/antalya/konyaalti.png"/>
            <p:graphicImage name="/demo/images/antalya/ataturkparki.png"/>
            <p:graphicImage name="/demo/images/antalya/kaleici.png"/>
            <p:graphicImage name="/demo/images/antalya/karaalioglu.png"/>
        </p:outputPanel>
    </h:form>
</div>