annotate gnv/src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp @ 982:cd9414538f10

Added possibility to switch to FullScreen-Mode of the MapClient. gnv/trunk@1161 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 07 Jun 2010 09:54:47 +0000
parents fbbf2ffde11f
children 28a0628b11b0
rev   line source
671
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
1 <%
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
2 String geometry = "POINT (6.3333 56.5)";
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
3 String geometrytype = request.getParameter("gt");
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
4 if(geometrytype != null){
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
5 if (geometrytype.equals("POINT")){
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
6 geometry = "POINT (6.3333 56.5)";
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
7 }else if (geometrytype.equals("LINESTRING")){
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
8 geometry = "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)";
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
9 }else if (geometrytype.equals("POLYGON")){
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
10 geometry = "POLYGON ((-1.5763 58.3616, 0.7526 53.8428, 4.2686 53.1972, 7.9217 54.1441, 7.6020 56.2959, 11.5747 57.2857, 0.4788 58.4908, 4.2686 58.8996, 0.0219 58.5768, -1.5763 58.3616))";
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
11 }
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
12 }
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
13 %>
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
14
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
15 <div id="basefilter" style="left:310px;position:absolute;width:350px">
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
16 <form action="<%=response.encodeURL("extcall.do")%>" method="post">
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
17 <fieldset>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
18 <legend>Kartenviewer Request</legend>
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
19 <textarea id="mapviewer" class="mapviewer" name="document" rows="25" cols="80">
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
20 <?xml version='1.0' encoding='UTF-8'?>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
21 <gnviewer>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
22 <mapservices>
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
23 <mapservice id='BSH_IMS_Prediction_Model_Current' type='arcims' url='http://foo.bar.de'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
24 <Modeldata />
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
25 <layer id='3' name='Speed Today 00:00 (Surface)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
26 <layer id='146' name='Surface Current Day After Tomorrow'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
27 <layer id='207' name='Day After Tomorrow 20:00 (Surface)'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
28 <layer id='208' name='Speed Day After Tomorrow 21:00 (Surface)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
29 <layer id='209' name='Speed Day After Tomorrow 20:00 (Surface)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
30 </layer>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
31 </layer>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
32 </mapservice>
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
33 <mapservice id='BSH_IMS_Marine_Environmental_Monitoring_Network' type='wms' url='http://foo1.bar.de'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
34 <MARNET/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
35 <layer id='26' name='Air'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
36 <layer id='27' name='Temperature'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
37 </layer>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
38 <layer id='9' name='Salinity'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
39 <layer id='10' name='depth: (0m- -6m)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
40 </layer>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
41 <layer id='13' name='OxygenSaturation'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
42 <layer id='14' name='depth: (0m- -6m)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
43 <layer id='15' name='depth: (-6m- -20m)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
44 <layer id='16' name='depth: (-20m- -50m)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
45 </layer>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
46 </mapservice>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
47 <mapservice id='BSH_IMS_Sea_Surface_Temperature_Analysis' type='arcims' url='http://foo.bar.de'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
48 <SST/>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
49 </mapservice>
567
83ff52574604 Added further XML-Nodes for simulating the MapViewer-Call more detailed.
Tim Englich <tim.englich@intevation.de>
parents: 563
diff changeset
50 <mapservice id='BSH_IMS_Prediction_Model_Salinity' type='arcims' url='http://foo.bar.de'>
83ff52574604 Added further XML-Nodes for simulating the MapViewer-Call more detailed.
Tim Englich <tim.englich@intevation.de>
parents: 563
diff changeset
51 <Modeldata />
83ff52574604 Added further XML-Nodes for simulating the MapViewer-Call more detailed.
Tim Englich <tim.englich@intevation.de>
parents: 563
diff changeset
52 </mapservice>
671
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
53 <mapservice id='BSH_IMS_CONTIS_Resources' type='arcims' url='http://foo.bar.de'>
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
54 <Contis />
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
55 </mapservice>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
56 </mapservices>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
57 <location>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
58 <srs>EPSG:4324</srs>
671
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
59 <data><%=geometry%></data>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
60 </location>
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
61 </gnviewer>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
62 </textarea>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
63 <input type="submit" name="btClick" value="Ausf�hren" />
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
64 </fieldset>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
65 </form>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
66 </div>

http://dive4elements.wald.intevation.org