1 |
4307
|
leinfelder
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
3 |
|
|
|
4 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
5 |
|
|
<head>
|
6 |
|
|
<title>Mapbuilder OWS Explorer</title>
|
7 |
|
|
<link rel='StyleSheet' type='text/css' href='../../lib/skin/default/demoStyles.css'/>
|
8 |
|
|
<link rel='StyleSheet' type='text/css' href='../../lib/skin/default/button.css'>
|
9 |
|
|
|
10 |
|
|
<link rel='StyleSheet' type='text/css' href='../../lib/skin/default/mapStyle.css'/>
|
11 |
|
|
<script>
|
12 |
|
|
// URL of Mapbuilder configuration file.
|
13 |
|
|
var mbConfigUrl='config.xml';
|
14 |
|
|
|
15 |
|
|
function mbOnload() {
|
16 |
|
|
config.objects.mainMap.addListener("loadModel",initWorkspace,null);
|
17 |
|
|
window.onresize = initWorkspace;
|
18 |
|
|
}
|
19 |
|
|
|
20 |
|
|
function initWorkspace() {
|
21 |
|
|
var pageBody = document.getElementsByTagName("body")[0];
|
22 |
|
|
var workDiv = document.getElementById("workspace");
|
23 |
|
|
var footerDiv = document.getElementById("footer");
|
24 |
|
|
if (_SARISSA_IS_IE) {
|
25 |
|
|
workDiv.style.height = pageBody.offsetHeight - workDiv.offsetTop - footerDiv.offsetHeight - 30; //20 is a fudge factor
|
26 |
|
|
} else {
|
27 |
|
|
workDiv.style.height = window.innerHeight - workDiv.offsetTop - footerDiv.offsetHeight - 20; //20 is a fudge factor
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
</script>
|
31 |
|
|
<script type="text/javascript" src="../../lib/Mapbuilder.js"></script>
|
32 |
|
|
</head>
|
33 |
|
|
<body onload="mbDoLoad(mbOnload)" >
|
34 |
|
|
<div id="header">
|
35 |
|
|
<h1><a href="http://communitymapbuilder.org">MapBuilder</a> <!--Version-->1.5-rc2<!--VersionEnd--> Open Web Services Explorer</h1>
|
36 |
|
|
<!-- The version tag will be inserted into the comment tags above
|
37 |
|
|
during the build process. -->
|
38 |
|
|
<!--This is for more complex pages <a href="" class="help">how to use this page</a></div>-->
|
39 |
|
|
</div>
|
40 |
|
|
<div id="middle">
|
41 |
|
|
<div id="exampleList"></div><!-- this is the container where the menubar will be drawn -->
|
42 |
|
|
<div id="mainbody">
|
43 |
|
|
<div class="left">
|
44 |
|
|
|
45 |
|
|
<div id="locatorMap" style="position:relative">
|
46 |
|
|
</div>
|
47 |
|
|
<div id="mapList"></div>
|
48 |
|
|
<hr/>
|
49 |
|
|
<a href="javascript:config.objects.wmsCapTemplate.setParam('refresh', 'layerList')">
|
50 |
|
|
WMS Layers</a><br/>
|
51 |
|
|
<a href="javascript:config.objects.wfsCapTemplate.setParam('refresh', 'featureTypes')">
|
52 |
|
|
WFS Feature Types</a><br/>
|
53 |
|
|
<a href="javascript:config.objects.mainMap.setParam('refresh', 'contextLegend')">
|
54 |
|
|
Map layer control</a><br/>
|
55 |
|
|
<a href="javascript:config.objects.wmsCapTemplate.setParam('refresh', 'wmsUrlInput')">
|
56 |
|
|
Set WMS URL</a><br/>
|
57 |
|
|
<a href="javascript:config.objects.wfsCapTemplate.setParam('refresh', 'wfsUrlInput')">
|
58 |
|
|
Set WFS URL</a><br/>
|
59 |
|
|
<h3>Explanation</h3>
|
60 |
|
|
<p>This demo will show all layers available from a particular WMS and WFS instance (the default is a
|
61 |
|
|
localhost GeoServer install) and allows adding layers and feature types to a base map.
|
62 |
|
|
To change the service instance, enter a GetCapabilities URL in the "Set WMS URL" or "Set WFS URL" input box.
|
63 |
|
|
</p>
|
64 |
|
|
</div>
|
65 |
|
|
<div class="right">
|
66 |
|
|
<table>
|
67 |
|
|
<tr>
|
68 |
|
|
<td colspan="2">
|
69 |
|
|
<div id="mainMapPane"/>
|
70 |
|
|
</td>
|
71 |
|
|
</tr>
|
72 |
|
|
<tr>
|
73 |
|
|
<td align="left">
|
74 |
|
|
<div id="mainButtonBar" style="width:144px"/>
|
75 |
|
|
</td>
|
76 |
|
|
<td align="right" id="cursorTrack" />
|
77 |
|
|
</tr>
|
78 |
|
|
</table>
|
79 |
|
|
<div id="workspace"></div>
|
80 |
|
|
</div>
|
81 |
|
|
</div>
|
82 |
|
|
</div>
|
83 |
|
|
<div id="footer">
|
84 |
|
|
|
85 |
|
|
<div class="right">
|
86 |
|
|
<a href="http://communitymapbuilder.org/" title="powered by community mapbuilder"><img src="../../lib/skin/default/images/Icon.gif"/></a>
|
87 |
|
|
<a href="https://www.osgeo.org/" title="member of OSgeo"><img src="../../lib/skin/default/images/Osgeo.png"/></a>
|
88 |
|
|
</div>
|
89 |
|
|
</div>
|
90 |
|
|
</body>
|
91 |
|
|
</html>
|