view gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 393:d812c5b62eb4

Fixes fake wkt polygon input. gnv/trunk@536 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 13 Jan 2010 11:29:40 +0000
parents 1b8fd2635ce4
children aaf04967bd53
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<html xhtml="true" locale="true">
    <head>
        <title>
            <bean:message key="gnviewer.app.title"/>
        </title>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
        <meta http-equiv="Content-Script-Type" content="text/javascript"/>
        <meta http-equiv="Content-Style-Type" content="text/css"/>
        <meta http-equiv="Expires" content="Mon, 01 Jan 1990 00:00:01 GMT"/>
        <meta http-equiv="pragma" content="no-cache"/>
        <meta http-equiv="cache-control" content="no-cache"/>
        <meta name="robots" content="noindex"/>
        <link href="styles/default.css" rel="stylesheet" type="text/css"/>
        <script type="text/javascript" src="scripts/gnviewer.js"></script>
        <script type="text/javascript">
            function copy_demo_wkt_line() {
              document.getElementById('mesh_linestring').value =
              "LINESTRING (" +
              "0.4911 56.2489, " +
              "10.4464 58.1608, " +
              "12.2321 56.4127, " +
              "13.1250 54.8832, " +
              "15.4018 54.5008, " +
              "19.6875 56.4127, " +
              "20.6250 59.0349, " +
              "28.1250 60.2640)";
            }
            function copy_demo_wkt_polygon() {
              document.getElementById('mesh_polygon').value =
"POLYGON ((" +
"  3.6192 60.1240," +
" -0.0100 58.2274," +
"  0.0602 54.7387," +
"  1.0436 53.3338," +
"  2.2612 52.1397," +
"  3.6192 52.1162," +
"  4.7899 53.5445," +
"  6.3587 54.1533," +
"  8.0211 54.1065," +
"  7.9041 55.6284," +
"  8.0211 57.2206," +
"  9.4963 57.4782," +
"  9.9411 57.8762," +
" 10.8777 57.7357," +
" 10.7607 57.0567," +
" 10.5265 56.7523," +
" 11.2289 56.2840," +
" 10.6202 55.8157," +
" 11.3460 55.2070," +
" 12.2358 55.9796," +
" 12.3060 56.6118," +
" 11.5568 57.7357," +
" 10.9246 58.6489," +
" 10.4797 58.9065," +
"  9.7772 58.5787," +
"  8.4660 57.8528," +
"  7.0143 57.4548," +
"  5.9373 58.0401," +
"  4.9304 59.1172," +
"  4.6026 59.7026," +
"  4.5324 59.9133," +
"  4.3216 59.8899," +
"  4.0641 59.8196," +
"  3.6192 60.1006," +
"  3.6192 60.1240))";
            }
        </script>
    </head>

    <body id="gnviewerbody">
    <div id="overlay"></div>
    <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute">
        <div id="overlayContent">
            <p>
                <bean:message key="gnviewer.productselection.overlay.title"/>
            </p>
        </div>
    </div>
    <div id="page">
        <jsp:include page="header.jsp" />
         <jsp:include page="index.jsp" />
        <jsp:include page="footer.jsp" />
    </div>
    </body>
</html>

http://dive4elements.wald.intevation.org