diff gnv/src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp @ 563:0fc9cd280f1e

Integrated an Textarea so that is possible to manipulate the XML-Document which simulates the MapViewer-Interface-Body. gnv/trunk@669 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 09 Feb 2010 13:13:41 +0000
parents 2183c764b403
children 83ff52574604
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp	Tue Feb 09 13:09:45 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp	Tue Feb 09 13:13:41 2010 +0000
@@ -1,28 +1,45 @@
-<div id="basefilter" style="left:310px;position:absolute">
+<div id="basefilter" style="left:310px;position:absolute;width:350px">
     <form action="<%=response.encodeURL("extcall.do")%>" method="post">
         <fieldset>
            <legend>Kartenviewer Request</legend>
-            <input type="hidden" name="document" value="<?xml version='1.0' encoding='UTF-8'?>
+            <textarea id="mapviewer" class="mapviewer" name="document" rows="25" cols="80">
+                    <?xml version='1.0' encoding='UTF-8'?>
                     <gnviewer>
                         <mapservices>
-                            <mapservice id='fis_modeldata' type='arcims' url='http://foo.bar.de'>
-                                <layer id='2' name='Salzgehalt  [pSal]'/>
-                                <layer id='grouplayer' name='Grouplayer'>
-                                     <layer id='1' name='Temperatur [degC]'/>
-                                     <layer id='50' name='Wasserstand [m]'/>
+                            <mapservice id='BSH_IMS_Prediction_Model_Current' type='arcims' url='http://foo.bar.de'>
+                               <Modeldata />
+                                <layer id='3' name='Speed Today 00:00 (Surface)'/>
+                                <layer id='146' name='Surface Current Day After Tomorrow'>
+                                    <layer id='207' name='Day After Tomorrow 20:00 (Surface)'>
+                                         <layer id='208' name='Speed Day After Tomorrow 21:00 (Surface)'/>
+                                         <layer id='209' name='Speed Day After Tomorrow 20:00 (Surface)'/>
+                                     </layer>
                                  </layer>
                             </mapservice>
-                            <mapservice id='fis_marnet' type='wms' url='http://foo1.bar.de'>
-                                 <layer id='51' name='Lufttemperatur [degC]'/>
-                                 <layer id='2' name='Salzgehalt [pSal]'/>
-                                 <layer id='31' name='Sauerstoffsaettigung [percent]'/>
+                            <mapservice id='BSH_IMS_Marine_Environmental_Monitoring_Network' type='wms' url='http://foo1.bar.de'>
+                                 <MARNET/>
+                                 <layer id='26' name='Air'>
+                                    <layer id='27' name='Temperature'/>
+                                 </layer>
+                                 <layer id='9' name='Salinity'>
+                                    <layer id='10' name='depth: (0m- -6m)'/>
+                                 </layer>
+                                 <layer id='13' name='OxygenSaturation'>
+                                    <layer id='14' name='depth: (0m- -6m)'/>
+                                    <layer id='15' name='depth: (-6m- -20m)'/>
+                                    <layer id='16' name='depth: (-20m- -50m)'/>
+                                 </layer>
+                            </mapservice>
+                            <mapservice id='BSH_IMS_Sea_Surface_Temperature_Analysis' type='arcims' url='http://foo.bar.de'>
+                                <SST/>
                             </mapservice>
                         </mapservices> 
                         <location>
                             <srs>EPSG:4324</srs>
                             <data>POINT(8.6 56.0)</data>
                         </location>
-                    </gnviewer>"/>
+                    </gnviewer>
+             </textarea>
             <input type="submit" name="btClick" value="Ausführen" />
         </fieldset>
     </form>

http://dive4elements.wald.intevation.org