<%--
* Licensed Materials - Property of Rogue Wave Software, Inc.
* © Copyright Rogue Wave Software, Inc. 2014, 2017
* © 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-8" pageEncoding="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="messages" var="msg" />
<h1>
<tr:outputText value="#{msg.code5H1}" />
</h1>
<tr:document title="JViews Apache Trinidad PPR Integration Sample">
<trh:script
source="http://maps.google.com/maps?file=api&v=3&sensor=false" />
<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="7" width="500" height="300"
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="mapID" level="7"
style="width:500px;height:300px" data="/data/usa.idpr" />
<jvmf:layerTool id="layerTool" title="#{msg.code5Layers}"
viewId="mapID" enabled="true" />
</tr:panelGroupLayout>
</tr:panelGroupLayout>
</tr:showDetailItem>
</tr:panelTabbed>
</tr:panelPage>
</tr:form>
</tr:document>
</f:view>