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 I18N Map Viewer</title>
|
7
|
<link rel='StyleSheet' type='text/css' href='../../lib/skin/default/mapStyle.css'>
|
8
|
<link rel='StyleSheet' type='text/css' href='../../lib/skin/default/scalebar-fat.css'>
|
9
|
<link rel='StyleSheet' type='text/css' href='../../lib/skin/default/demoStyles.css'/>
|
10
|
<style>
|
11
|
/* styles for abbr (abbr is unsupported in MSIE, so use span) */
|
12
|
abbr, acronym, span.abbr {
|
13
|
cursor: help;
|
14
|
border-bottom: 1px dotted gray;
|
15
|
}
|
16
|
</style>
|
17
|
<script>
|
18
|
// URL of Mapbuilder configuration file.
|
19
|
var mbConfigUrl='config.xml';
|
20
|
</script>
|
21
|
<!-- This points to the core mapbuilder library, replaces this with MapbuilderCompressed.js when you want to use the compressed version -->
|
22
|
<script type="text/javascript" src="../../lib/Mapbuilder.js"></script>
|
23
|
<script type="text/javascript" src="LanguageUtils.js"></script>
|
24
|
<script type="text/javascript">
|
25
|
setLanguage();
|
26
|
</script>
|
27
|
</head>
|
28
|
<!-- This onload event starts mapbuilder -->
|
29
|
<body onload="mbDoLoad()" >
|
30
|
<!-- DIY cut here 1 -->
|
31
|
<div id="header"> <!-- The header of the page -->
|
32
|
<h1><a href="http://communitymapbuilder.org">MapBuilder</a> <!--Version-->1.5-rc2<!--VersionEnd--> I18N Map Viewer</h1>
|
33
|
<!-- The version tag will be inserted into the comment tags above
|
34
|
during the build process. -->
|
35
|
</div><!-- /header -->
|
36
|
<div id="middle"><!-- The center piece of the page with left menubar and right mainbody -->
|
37
|
<div id="exampleList"></div><!-- this is the container where the menubar will be drawn -->
|
38
|
<div id="mainbody"><!-- right side of the middle div, is also divided into two areas -->
|
39
|
<div class="left">
|
40
|
<h3>Explanation
|
41
|
<script type="text/javascript">
|
42
|
writeOutLanguages("flags");
|
43
|
</script>
|
44
|
</h3>
|
45
|
This demo shows the <abbr title="Internationalization"><span class="abbr" title="Internationalization">I18N</span></abbr> aspects of MapBuilder.
|
46
|
It also shows the fall back on the default language if an
|
47
|
unsupported language is selected.
|
48
|
The tooltips and map widgets all display in the chosen language.
|
49
|
Click on one of the flags above to change the language for MapBuilder.
|
50
|
<br />
|
51
|
<br />
|
52
|
<div align="right" id="locatorMap"><!-- This is where the locator map will be drawn --></div>
|
53
|
<div align="right" id="cursorTrack"><!-- This is where the cursor tracker will be drawn --></div>
|
54
|
</div><!-- /left -->
|
55
|
<!-- DIY end cut 1-->
|
56
|
<div class="right">
|
57
|
<div id="mainMapPane" style="height:80%"><!-- This is the container where the map will be drawn -->
|
58
|
<noscript>
|
59
|
This page requires JavaScript to be enabled.
|
60
|
</noscript>
|
61
|
</div><!-- /mainMapPane -->
|
62
|
<br />
|
63
|
<div>
|
64
|
<table>
|
65
|
<tr>
|
66
|
<td align="left" width="600" id="mainButtonBar"><!-- This is where the buttons will be drawn --></td>
|
67
|
<td align="right" width="200" id="scalebar"><!-- This is where the scale bar will be drawn --></td>
|
68
|
|
69
|
</tr>
|
70
|
<tr>
|
71
|
<td align="right" width="400" id="contextLegend"><!-- This is where the legend will be drawn --></td>
|
72
|
</tr>
|
73
|
</table>
|
74
|
</div>
|
75
|
</div><!-- /right -->
|
76
|
<!-- DIY cut here 2 -->
|
77
|
</div><!-- /mainbody -->
|
78
|
</div><!-- /middle -->
|
79
|
<div id="footer"><!-- The footer of the page -->
|
80
|
<div class="right">
|
81
|
<a href="http://communitymapbuilder.org/" title="powered by community mapbuilder"><img src="../../lib/skin/default/images/Icon.gif"/></a>
|
82
|
<a href="https://www.osgeo.org/" title="member of OSgeo"><img src="../../lib/skin/default/images/Osgeo.png"/></a>
|
83
|
</div><!-- /right -->
|
84
|
</div><!-- /footer -->
|
85
|
<!-- DIY end cut 2 -->
|
86
|
</body>
|
87
|
</html>
|