Project

General

Profile

1
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2
<!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by Tom Kralidis (NRCAN CCRs) -->
3
<MapbuilderConfig version="1.0.0" id="DemisMapExample" xmlns="http://mapbuilder.sourceforge.net/mapbuilder" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../lib/schemas/config.xsd">
4
	<models>
5
		<Context id="mainMap">
6
			<defaultModelUrl>DemisWorldMap.xml</defaultModelUrl>
7
			<widgets>
8
				<MapPane id="mainMapWidget">
9
					<htmlTagId>mainMapPane</htmlTagId>
10
					<mapContainerId>mainMapContainer</mapContainerId>
11
				</MapPane>
12
				<Loading id="loading"/>
13
				<Loading2 id="loading2">
14
					<mapContainerId>mainMapContainer</mapContainerId>
15
				</Loading2>
16
				<ModelUrlInput id="urlInput"/>
17
				<AoiBoxDHTML id="aoiBox2">
18
					<htmlTagId>mainMapPane</htmlTagId>
19
					<stylesheet>../../lib/widget/Null.xsl</stylesheet>
20
					<mapContainerId>mainMapContainer</mapContainerId>
21
					<lineColor>#FF0000</lineColor>
22
					<lineWidth>1</lineWidth>
23
					<crossSize>15</crossSize>
24
				</AoiBoxDHTML>
25
				<MapScaleText id="mapScaleText"/>
26
				<!-- 
27
        <MapScaleBar id="mapScaleBar"/> 
28
        -->
29
				<CursorTrack id="cursorTrack">
30
					<mouseHandler>mainMap</mouseHandler>
31
					<showPx>false</showPx>
32
					<showDMS>true</showDMS>
33
					<showLatLong>false</showLatLong>
34
					<showMGRS>false</showMGRS>
35
					<precision>2</precision>
36
				</CursorTrack>
37
			</widgets>
38
			<tools>
39
				<AoiMouseHandler id="mainAoi"/>
40
				<DragPanHandler id="mainDragPan">
41
					<enabled>false</enabled>
42
				</DragPanHandler>
43
				<MouseClickHandler id="mainMouseClick"/>
44
				<History id="extentHistory">
45
					<targetModel>mainMap</targetModel>
46
				</History>
47
			</tools>
48
		</Context>
49
		<ContextCollection id="collectionGroup">
50
			<defaultModelUrl>mapCollection.xml</defaultModelUrl>
51
			<widgets>
52
				<CollectionList id="collectionList">
53
					<targetModel>mainMap</targetModel>
54
					<stylesheet>./CollectionList.xsl</stylesheet>
55
				</CollectionList>
56
			</widgets>
57
		</ContextCollection>
58
	</models>
59
	<widgets>
60
		<Back id="back">
61
			<buttonBar>mainButtonBar</buttonBar>
62
			<targetModel>mainMap</targetModel>
63
			<class>Button</class>
64
			<disabledSrc>/images/UndoDisable.png</disabledSrc>
65
		</Back>
66
		<Forward id="forward">
67
			<buttonBar>mainButtonBar</buttonBar>
68
			<targetModel>mainMap</targetModel>
69
			<class>Button</class>
70
			<disabledSrc>/images/RedoDisable.png</disabledSrc>
71
		</Forward>
72
		<ZoomIn id="zoomIn">
73
			<buttonBar>mainButtonBar</buttonBar>
74
			<targetModel>mainMap</targetModel>
75
			<mouseHandler>mainAoi</mouseHandler>
76
			<class>RadioButton</class>
77
			<selected>true</selected>
78
			<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
79
			<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
80
		</ZoomIn>
81
		<ZoomOut id="zoomOut">
82
			<buttonBar>mainButtonBar</buttonBar>
83
			<targetModel>mainMap</targetModel>
84
			<mouseHandler>mainAoi</mouseHandler>
85
			<class>RadioButton</class>
86
			<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
87
			<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
88
		</ZoomOut>
89
		<DragPan id="dragPan">
90
			<buttonBar>mainButtonBar</buttonBar>
91
			<targetModel>mainMap</targetModel>
92
			<mouseHandler>mainDragPan</mouseHandler>
93
			<class>RadioButton</class>
94
			<enabledSrc>/images/PanEnable.png</enabledSrc>
95
			<disabledSrc>/images/PanDisable.png</disabledSrc>
96
		</DragPan>
97
		<SetAoi id="setAoi">
98
			<buttonBar>mainButtonBar</buttonBar>
99
			<targetModel>mainMap</targetModel>
100
			<mouseHandler>mainAoi</mouseHandler>
101
			<class>RadioButton</class>
102
			<enabledSrc>/images/SetAoiEnable.png</enabledSrc>
103
			<disabledSrc>/images/SetAoiDisable.png</disabledSrc>
104
		</SetAoi>
105
		<Reset id="reset">
106
			<buttonBar>mainButtonBar</buttonBar>
107
			<targetModel>mainMap</targetModel>
108
			<class>Button</class>
109
			<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
110
		</Reset>
111
		<ModelSwitcher id="switcher">
112
			<targetModel>mainMap</targetModel>
113
		</ModelSwitcher>
114
	</widgets>
115
	<skinDir>../../lib/skin/default</skinDir>
116
	<languages>en,fr,fr-CA</languages>
117
	<widgetTextUrl>widgetText.xml</widgetTextUrl>
118
</MapbuilderConfig>
(6-6/8)