1
|
<?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 Google Map Viewer</title>
|
7
|
<link rel='StyleSheet' type='text/css' href='../../lib/skin/default/demoStyles.css'/>
|
8
|
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAxGX044DdXsG8m7HSU-fLXBSOAhXNDhVV0MuxMid11BbPkLvZnhT_y_tZjo_qcjveh8wcvbkT0azpXg"
|
9
|
type="text/javascript"></script>
|
10
|
<script>
|
11
|
// URL of Mapbuilder configuration file.
|
12
|
var mbConfigUrl='config.xml';
|
13
|
</script>
|
14
|
<!-- This points to the core mapbuilder library, replaces this with MapbuilderCompressed.js when you want to use the compressed version -->
|
15
|
<script type="text/javascript" src="../../lib/Mapbuilder.js"></script>
|
16
|
</head>
|
17
|
<!-- This onload event starts mapbuilder -->
|
18
|
<body onload="mbDoLoad()" >
|
19
|
<!--
|
20
|
|
21
|
############################# cut here 1 #############################
|
22
|
|
23
|
-->
|
24
|
<div id="all">
|
25
|
<div id="header"> <!-- The header of the page -->
|
26
|
<h1><a href="http://communitymapbuilder.org">MapBuilder</a> <!--Version-->1.5-rc2<!--VersionEnd--> Google Map Viewer</h1>
|
27
|
<!-- The version tag will be inserted into the comment tags above
|
28
|
during the build process. -->
|
29
|
</div><!-- /header -->
|
30
|
<div id="middle"><!-- The center piece of the page with left menubar and right mainbody -->
|
31
|
<div id="exampleList"></div><!-- this is the container where the menubar will be drawn -->
|
32
|
<div id="mainbody"><!-- right side of the middle div, is also divided into two areas -->
|
33
|
<div class="left">
|
34
|
<h3>Explanation</h3>
|
35
|
Mapbuilder can be used to put Google Maps in a web page. Do not forget to load the google script with your API key though.<br/>
|
36
|
It requires the use of OwsContext instead of a normal WMC context. For more information have a look at <a href="http://docs.codehaus.org/display/MAP/Using+Google-layers">the wiki</a><br/>
|
37
|
You can use Google, or Yahoo/MS for that matter, as a baselayer for your application. The best approach is to use the epsg:900913 projection, but that does require that your mapservers support that projection. Alternatively you can use epsg:4326 but it has a tendency to deform at larger resolutions.
|
38
|
</div><!-- /left -->
|
39
|
<div class="right">
|
40
|
<!--
|
41
|
|
42
|
############################# end cut 1 #############################
|
43
|
|
44
|
-->
|
45
|
<div id="mainMapPane"><!-- This is the container where the map will be drawn -->
|
46
|
<noscript>
|
47
|
this page requires Javascript to be enabled
|
48
|
</noscript>
|
49
|
</div><!-- /mainMapPane -->
|
50
|
<div id="mainButtonBar">
|
51
|
</div>
|
52
|
<!--
|
53
|
|
54
|
############################# cut here 2 #############################
|
55
|
|
56
|
-->
|
57
|
</div><!-- /right -->
|
58
|
</div><!-- /mainbody -->
|
59
|
</div><!-- /middle -->
|
60
|
<div id="footer"><!-- The footer of the page -->
|
61
|
<div class="right">
|
62
|
<a href="http://communitymapbuilder.org/" title="powered by community mapbuilder"><img src="../../lib/skin/default/images/Icon.gif"/></a>
|
63
|
<a href="https://www.osgeo.org/" title="member of OSgeo"><img src="../../lib/skin/default/images/Osgeo.png"/></a>
|
64
|
</div><!-- /right -->
|
65
|
</div><!-- /footer -->
|
66
|
</div><!-- all -->
|
67
|
<!--
|
68
|
|
69
|
############################# end cut 2 #############################
|
70
|
|
71
|
-->
|
72
|
</body>
|
73
|
</html>
|
74
|
|
75
|
|