<%-- 
 * Licensed Materials - Property of Perforce Software, Inc.
 * © Copyright Perforce Software, Inc. 2014, 2018
 * © Copyright IBM Corp. 2009, 2014
 * © Copyright ILOG 1996, 2009
 * All Rights Reserved.
 *
 * Note to U.S. Government Users Restricted Rights:
 * The Software and Documentation were developed at private expense and
 * are "Commercial Items" as that term is defined at 48 CFR 2.101,
 * consisting of "Commercial Computer Software" and
 * "Commercial Computer Software Documentation", as such terms are
 * used in 48 CFR 12.212 or 48 CFR 227.7202-1 through 227.7202-4,
 * as applicable.
 --%>
<%@ page contentType="text/html;charset=UTF-8pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh"%>
<%@ taglib uri="http://www.ilog.com/jviews/tlds/jviews-faces.tld" prefix="jv"%>
<%@ taglib uri="http://www.ilog.com/jviews/tlds/jviews-framework-faces.tld" prefix="jvf"%>
<%@ taglib uri="http://www.ilog.com/jviews/tlds/jviews-maps-faces.tld" prefix="jvmf"%>

        <f:view>
                <f:loadBundle basename="messagesvar="msg/>
                <h1>
                        <tr:outputText value="#{msg.code5H1}/>
                </h1>
                <tr:document title="JViews Apache Trinidad PPR Integration Sample">
                        <tr:form>
                                <tr:panelPage>
                                        <tr:panelTabbed position="above">
                                                <tr:showDetailItem text="#{msg.BackgroundMap}">
                                                        <tr:outputText value="#{msg.code5MapForGoogleViewP1}"
                                                                escape="false/>
                                                        <br />
                                                        <tr:outputText value="#{msg.code5MapForGoogleViewP2}"
                                                                escape="false/>
                                                        <br />
                                                        <tr:outputText value="#{msg.code5MapForGoogleViewP3}"
                                                                escape="false/>
                                                        <br />
                                                        <tr:outputText value="#{msg.code5MapForGoogleViewP4}"
                                                                escape="false/>
                                                        <br />
                                                        <f:verbatim>
                                                        </f:verbatim>
                                                        <jvmf:googleView level="7width="500height="300apiVersion="v3"
                                                                data="/data/usa.ivl/>
                                                </tr:showDetailItem>
                                                <tr:showDetailItem text="#{msg.SupervisionMap}">
                                                        <tr:panelGroupLayout layout="vertical">
                                                                <tr:panelGroupLayout layout="vertical">
                                                                        <tr:outputText value="#{msg.code5MapForGoogleViewP5}"
                                                                                escape="false/>
                                                                        <tr:outputText value="#{msg.code5MapForGoogleViewP6}"
                                                                                escape="false/>
                                                                        <tr:outputText value="#{msg.code5MapForGoogleViewP7}"
                                                                                escape="false/>
                                                                        <tr:outputText value="#{msg.code5MapForGoogleViewP8}"
                                                                                escape="false/>
                                                                        <br/>
                                                                </tr:panelGroupLayout>
                                                                <f:verbatim>
                                                                </f:verbatim>
                                                                <tr:panelGroupLayout layout="horizontal">
                                                                        <jvmf:googleView id="mapIDlevel="7"
                                                                                                         style="width:500px;height:300pxdata="/data/usa.idprapiVersion="v3/>
                                                                        <jvmf:layerTool id="layerTooltitle="#{msg.code5Layers}"
                                                                                viewId="mapIDenabled="true/>
                                                                </tr:panelGroupLayout>
                                                        </tr:panelGroupLayout>
                                                </tr:showDetailItem>
                                        </tr:panelTabbed>
                                </tr:panelPage>
                        </tr:form>
                </tr:document>
        </f:view>