1 |
3032
|
perry
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3 |
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4 |
|
|
|
5 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
6 |
|
|
<head>
|
7 |
|
|
<title>Mapbuilder Simple Demo</title>
|
8 |
|
|
<link rel='StyleSheet' type='text/css' href='../../lib/skin/default/docsStyle.css'>
|
9 |
|
|
<link rel='StyleSheet' type='text/css' href='../../lib/skin/default/mapStyle.css'>
|
10 |
|
|
<script>
|
11 |
|
|
// URL of Mapbuilder configuration file.
|
12 |
|
|
var mbConfigUrl='config.xml';
|
13 |
|
|
|
14 |
|
|
</script>
|
15 |
|
|
<script type="text/javascript" src="../../lib/Mapbuilder.js"></script>
|
16 |
|
|
</head>
|
17 |
|
|
<body onload="mbDoLoad()" style="width:800px">
|
18 |
|
|
<h1><a href="http://mapbuilder.sourceforge.net">MapBuilder</a> Simple Demo</h1>
|
19 |
|
|
|
20 |
|
|
<div id="mainMapPane" style="float:right">
|
21 |
|
|
<noscript>
|
22 |
|
|
this page requires Javascript to be enabled
|
23 |
|
|
</noscript>
|
24 |
|
|
</div>
|
25 |
|
|
|
26 |
|
|
<p>
|
27 |
|
|
In it's most basic configuration, MapBuilder can be used to simply put a map
|
28 |
|
|
in a web page.
|
29 |
|
|
The configuration for this page consists of a single
|
30 |
|
|
model (a Web Map Context document) and two widgets (a MapPane and a loading indicator).
|
31 |
|
|
See the <a href="../basic">Basic demo</a> to for an example of an interactive map,
|
32 |
|
|
as well as some of the more common ways to work with MapBuilder.
|
33 |
|
|
</p>
|
34 |
|
|
</body>
|
35 |
|
|
</html>
|
36 |
|
|
|