<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<tr:document xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:tr="http://myfaces.apache.org/trinidad"
        xmlns:trh="http://myfaces.apache.org/trinidad/html"
        xmlns:jv="http://www.ilog.com/jviews/tlds/jviews-faces.tld"
        xmlns:jvmf="http://www.ilog.com/jviews/tlds/jviews-maps-faces.tld">
        <f:loadBundle basename="messages" var="msg" />
        <trh:head title="#{msg.mapAndTrinidadTitle}" />
        <f:facet name="metaContainer">
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        </f:facet>
        <br />
        <trh:script source="http://maps.google.com/maps?file=api&amp;v=3" />
        <tr:form>
                <tr:panelTabbed position="above">
                        <tr:showDetailItem text="#{msg.GoogleMapViewLabel}">
                                <tr:panelGroupLayout layout="horizontal">
                                        <tr:panelGroupLayout layout="vertical">
                                                <tr:outputText value="#{msg.MapTrinidadForGoogleViewP1}"
                                                        escape="false" />
                                                <br />
                                                <tr:outputText value="#{msg.MapTrinidadForGoogleViewP5}"
                                                        escape="false" />
                                                <tr:outputText value="#{msg.MapTrinidadForGoogleViewP6}"
                                                        escape="false" />
                                                <tr:outputText value="#{msg.MapTrinidadForGoogleViewP7}"
                                                        escape="false" />
                                        </tr:panelGroupLayout>
                                        <jvmf:googleView id="gmapID" style="width:300px;height:300px"
                                                data="/data/usa.idpr"
                                                controls="GLargeMapControl,GOverviewMapControl" nodeMovable="true"
                                                level="7" />
                                        <jvmf:layerTool id="layerTool1" title="#{msg.GoogleViewLayersLabel}"
                                                viewId="gmapID" enabled="true" />
                                </tr:panelGroupLayout>
                        </tr:showDetailItem>
                        <tr:showDetailItem text="#{msg.MapViewLabel}">
                                <tr:panelGroupLayout layout="horizontal">
                                        <jvmf:mapView id="mapID" style="width:300px;height:300px"
                                                data="/data/usa.ivl" />
                                        <jvmf:layerTool id="layerTool2" title="#{msg.MapViewLayersLabel}"
                                                viewId="mapID" enabled="true" />
                                </tr:panelGroupLayout>
                        </tr:showDetailItem>
                </tr:panelTabbed>
        </tr:form>
</tr:document>