1 |
4307
|
leinfelder
|
<!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: index.html 3971 2008-04-12 22:17:21Z camerons $
|
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> <!--Version-->1.5-rc2<!--VersionEnd--> Demo</h1>
|
49 |
|
|
<!-- The version tag will be inserted into the comment tags above
|
50 |
|
|
during the build process. -->
|
51 |
|
|
<p style="text-align:right; font-size: 70%; margin-top: 0;">
|
52 |
|
|
<a href="?language=en">English</a>
|
53 |
|
|
<a href="?language=fr">francais</a>
|
54 |
|
|
</p>
|
55 |
|
|
<table>
|
56 |
|
|
<tr>
|
57 |
|
|
<td valign="top" style="padding:6px;width:180">
|
58 |
|
|
<div id="locatorMap" ></div>
|
59 |
|
|
</td>
|
60 |
|
|
<td>
|
61 |
|
|
<h2 id="mapTitle"></h2>
|
62 |
|
|
<div id="mainMapPane" style="position:relative"></div>
|
63 |
|
|
</td>
|
64 |
|
|
</tr>
|
65 |
|
|
<tr>
|
66 |
|
|
<td/>
|
67 |
|
|
<td valign="top">
|
68 |
|
|
<table width="100%">
|
69 |
|
|
<tr>
|
70 |
|
|
<td align="left">
|
71 |
|
|
<div id="mainButtonBar" style="width: 240px"></div>
|
72 |
|
|
</td>
|
73 |
|
|
<td align="center" id="mapScaleText"/>
|
74 |
|
|
<td align="center" id="showDistance"/>
|
75 |
|
|
<td align="right" id="cursorTrack" />
|
76 |
|
|
</tr>
|
77 |
|
|
<tr>
|
78 |
|
|
<td colspan="3" id="scalebar" style="height:3em"></td>
|
79 |
|
|
</tr>
|
80 |
|
|
</table>
|
81 |
|
|
</td>
|
82 |
|
|
</tr>
|
83 |
|
|
<tr>
|
84 |
|
|
<td id="legend"/>
|
85 |
|
|
<td>
|
86 |
|
|
<div id="collectionList" style="float:left"></div>
|
87 |
|
|
<div id="featureInfo" style="float:right"></div>
|
88 |
|
|
</td>
|
89 |
|
|
</tr>
|
90 |
|
|
<tr>
|
91 |
|
|
<td><img id="previewImage" src="../../lib/skin/default/images/Spacer.gif" width="180"/>
|
92 |
|
|
</td>
|
93 |
|
|
<td id="layerControl"/>
|
94 |
|
|
</tr>
|
95 |
|
|
<tr>
|
96 |
|
|
<td id="locationsSelect"/>
|
97 |
|
|
<td id="ntsLookupForm"/>
|
98 |
|
|
</tr>
|
99 |
|
|
<tr>
|
100 |
|
|
<td id="urlInput"/>
|
101 |
|
|
<td id="aoiForm"/>
|
102 |
|
|
</tr>
|
103 |
|
|
<tr>
|
104 |
|
|
<td id="saveModel"/>
|
105 |
|
|
<td id="abstract"/>
|
106 |
|
|
</tr>
|
107 |
|
|
<tr>
|
108 |
|
|
<td id="featureList"/>
|
109 |
|
|
<td id="transactionResponse"/>
|
110 |
|
|
</tr>
|
111 |
|
|
<tr>
|
112 |
|
|
<td/>
|
113 |
|
|
<td>
|
114 |
|
|
Specify a WMS capabilities doc to show as a map:
|
115 |
|
|
<div id="wmsCapsUrlInput"></div>
|
116 |
|
|
<div id="loadAllLayers"></div>
|
117 |
|
|
</td>
|
118 |
|
|
</tr>
|
119 |
|
|
<tr>
|
120 |
|
|
<td/>
|
121 |
|
|
<td>
|
122 |
|
|
<div id="layerList"></div>
|
123 |
|
|
</td>
|
124 |
|
|
</tr>
|
125 |
|
|
<tr>
|
126 |
|
|
<td colspan="2">
|
127 |
|
|
<div id="eventLog"></div>
|
128 |
|
|
</td>
|
129 |
|
|
</tr>
|
130 |
|
|
</table>
|
131 |
|
|
<br/>
|
132 |
|
|
<p align="right"><a href="http://communitymapbuilder.org">Community Map Builder</a><br/>$Name$</p>
|
133 |
|
|
|
134 |
|
|
</body>
|
135 |
|
|
</html>
|