Project

General

Profile

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2

    
3
<!--
4
Description: A Browser based Web Map Server Client based on javascript and XSL
5
             libraries from http://mapbuilder.sourceforge.net .
6
Licence:     LGPL as per: http://www.gnu.org/copyleft/lesser.html
7

    
8
$Id$
9
$Name$
10
-->
11

    
12
<html>
13
  <head>
14
    <title>Mapbuilder Demo</title>
15
    <link rel='StyleSheet' type='text/css' href='../../lib/skin/default/docsStyle.css'>
16
    <link rel='StyleSheet' type='text/css' href='../../lib/skin/default/mapStyle.css'>
17
    <link rel='StyleSheet' type='text/css' href='../../lib/skin/default/button.css'>
18
    <link rel='StyleSheet' type='text/css' href='../../lib/skin/default/scalebar-fat.css'>
19

    
20

    
21
    <script>
22
    // URL of Mapbuilder configuration file. Required.
23
    var mbConfigUrl='completeConfig.xml';
24
    
25
    //you can set the language value here; or as a param in the GET URL
26
    //var language="fr";
27

    
28
    //example of user initialization function;  all mapbuilder objects are
29
    //guaranteed to exist when this is called; 
30
    //pass a reference to it in the onload method
31
    function difnumInit() {
32
      config.loadModel('mainMap','../data/context/modisWorld.xml');
33
    }
34
    function aoiInit() {
35
      //example of setting AOI or bbox when the page loads
36
      //window.cgiArgs['bbox'] = "0,0,50,50";
37
      //window.cgiArgs['aoi'] = "0,0,50,50";
38
      //or else set these as URL params for the same effect
39
    }
40
    </script>
41
    
42
    <script type="text/javascript" src="../../lib/Mapbuilder.js"></script>
43
  </head>
44

    
45
  <!--body onload="mbDoLoad(bboxInit)"-->
46
  <body onload="mbDoLoad(aoiInit)">
47
    <!-- Layout mapbuilder widgets and HTML -->
48
    <h1><a href="http://mapbuilder.sourceforge.net">MapBuilder</a> Demo</h1>
49
    <p style="text-align:right; font-size: 70%; margin-top: 0;">
50
      <a href="?language=en">English</a>
51
      <a href="?language=fr">francais</a>
52
    </p>
53
    <table>
54
      <tr>
55
        <td valign="top" style="padding:6px;width:180">
56
        <div id="locatorMap" >
57
        </td>
58
        <td>
59
          <h2 id="mapTitle"></h2>
60
          <div id="mainMapPane"/>
61
          <div id="loading">
62
            <p>Loading Program<br/>
63
            <img src="../../lib/skin/default/images/Loading.gif"/>
64
            </p>
65
          </div>
66
        </td>
67
      </tr>
68
      <tr>
69
        <td/>
70
        <td valign="top">
71
          <table width="100%">
72
            <tr>
73
              <td align="left">
74
                <div id="mainButtonBar"/>
75
              </td>
76
              <td align="center" id="mapScaleText"/>
77
              <td align="right" id="cursorTrack" />
78
            </tr>
79
            <tr>
80
              <td colspan="3" id="scalebar"></td>
81
            </tr>
82
          </table>
83
        </td>
84
      </tr>
85
      <tr>
86
        <td id="legend"/>
87
        <td>
88
          Select a map to load:
89
          <div id="collectionList" style="float:left"/>
90
          <div id="featureInfo" style="float:right"></div>
91
        </td>
92
      </tr>
93
      <tr>
94
        <td><img id="previewImage" src="../../lib/skin/default/images/Spacer.gif" width="180"/>
95
        </td>
96
        <td id="layerControl"/>
97
      </tr>
98
      <tr>
99
        <td id="locationsSelect"/>
100
        <td id="ntsLookupForm"/>
101
      </tr>
102
      <tr>
103
        <td id="urlInput"/>
104
        <td id="aoiForm"/>
105
      </tr>
106
      <tr>
107
        <td id="saveModel"/>
108
        <td id="abstract"/>
109
      </tr>
110
      <tr>
111
        <td id="featureList"/>
112
        <td id="transactionResponse"/>
113
      </tr>
114
      <tr>
115
        <td/>
116
        <td>
117
          Specify a WMS capabilities doc to show as a map:
118
          <div id="wmsCapsUrlInput"/>
119
          <div id="loadAllLayers"/>
120
        </td>
121
      </tr>
122
      <tr>
123
        <td/>
124
        <td>
125
          <div id="layerList"/>
126
        </td>
127
      </tr>
128
      <tr>
129
        <td colspan="2">
130
          <div id="eventLog"/>
131
        </td>
132
      </tr>
133
    </table>
134
    <br/>
135
    <p align="right"><a href="http://mapbuilder.sourceforge.net">Community Map Builder</a><br/>$Name$</p>
136

    
137
  </body>
138
</html>
(3-3/3)