Project

General

Profile

1
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2
<MapbuilderConfig version="0.2.1" id="referenceTemplate" 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">
3
	<!--
4
    Description: This configuration file determines what components from the
5
                 Mapbuilder library are to be included in a Main Mapbuilder web
6
                 page.
7
    Licence:     LGPL as per: http://www.gnu.org/copyleft/lesser.html 
8

    
9
    $Id$
10
  -->
11
	<!--
12
    All static images should be relative to this URL.
13
    This dir is relative the dir of the main html file.
14
  -->
15
	<models>
16
		<Context id="mainMap">
17
			<defaultModelUrl>context.xml</defaultModelUrl>
18
			<widgets>
19
				<Widget id="mapTitle">
20
					<stylesheet>../../lib/widget/MapTitle.xsl</stylesheet>
21
				</Widget>
22
				<MapPane id="mainMapWidget">
23
					<htmlTagId>mainMapPane</htmlTagId>
24
					<mapContainerId>mainMapContainer</mapContainerId>
25
				</MapPane>
26
				<AoiBoxWZ id="aoiBox2">
27
					<htmlTagId>mainMapPane</htmlTagId>
28
					<stylesheet>../../lib/widget/GmlRenderer.xsl</stylesheet>
29
					<mapContainerId>mainMapContainer</mapContainerId>
30
					<lineColor>#FF0000</lineColor>
31
					<lineWidth>1</lineWidth>
32
					<crossSize>15</crossSize>
33
				</AoiBoxWZ>
34
				<CursorTrack id="cursorTrack">
35
					<mouseHandler>mainMap</mouseHandler>
36
				</CursorTrack>
37
				<Legend id="legend">
38
        </Legend>
39
			</widgets>
40
			<tools>
41
				<AoiMouseHandler id="mainAoi"/>
42
				<DragPanHandler id="mainDragPan">
43
					<enabled>false</enabled>
44
				</DragPanHandler>
45
				<MouseClickHandler id="mainMouseClick"/>
46
			</tools>
47
		</Context>
48
		<Context id="locator">
49
			<defaultModelUrl>../data/context/locatorMap.xml</defaultModelUrl>
50
			<widgets>
51
				<MapPane id="locatorWidget">
52
					<htmlTagId>locatorMap</htmlTagId>
53
					<targetModel>mainMap</targetModel>
54
					<mapContainerId>locatorContainer</mapContainerId>
55
					<fixedWidth>180</fixedWidth>
56
				</MapPane>
57
				<AoiBoxWZ id="aoiBox3">
58
					<htmlTagId>locatorMap</htmlTagId>
59
					<stylesheet>../../lib/widget/GmlRenderer.xsl</stylesheet>
60
					<mapContainerId>locatorContainer</mapContainerId>
61
					<lineColor>#FF0000</lineColor>
62
					<lineWidth>1</lineWidth>
63
					<crossSize>15</crossSize>
64
				</AoiBoxWZ>
65
			</widgets>
66
			<tools>
67
				<AoiMouseHandler id="locatorAoi"/>
68
				<ZoomToAoi id="locatorZoomToAoi">
69
					<targetModel>mainMap</targetModel>
70
				</ZoomToAoi>
71
			</tools>
72
		</Context>
73
		<Transaction id="transaction">
74
			<widgets>
75
				<TransactionResponse id="transactionResponse">
76
        </TransactionResponse>
77
			</widgets>
78
		</Transaction>
79
	</models>
80
	<widgets>
81
		<ZoomIn id="zoomIn">
82
			<buttonBar>mainButtonBar</buttonBar>
83
			<targetModel>mainMap</targetModel>
84
			<mouseHandler>mainAoi</mouseHandler>
85
			<class>RadioButton</class>
86
			<selected>true</selected>
87
			<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
88
			<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
89
		</ZoomIn>
90
		<ZoomOut id="zoomOut">
91
			<buttonBar>mainButtonBar</buttonBar>
92
			<targetModel>mainMap</targetModel>
93
			<mouseHandler>mainAoi</mouseHandler>
94
			<class>RadioButton</class>
95
			<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
96
			<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
97
		</ZoomOut>
98
		<DragPan id="dragPan">
99
			<buttonBar>mainButtonBar</buttonBar>
100
			<targetModel>mainMap</targetModel>
101
			<mouseHandler>mainDragPan</mouseHandler>
102
			<class>RadioButton</class>
103
			<enabledSrc>/images/PanEnable.png</enabledSrc>
104
			<disabledSrc>/images/PanDisable.png</disabledSrc>
105
		</DragPan>
106
		<Reset id="reset">
107
			<buttonBar>mainButtonBar</buttonBar>
108
			<targetModel>mainMap</targetModel>
109
			<class>Button</class>
110
			<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
111
		</Reset>
112
	</widgets>
113
	<skinDir>../../lib/skin/default</skinDir>
114
	<widgetTextUrl>/widgetText.xml</widgetTextUrl>
115
	<!-- relative to the skin dir -->
116
	<!-- Url of LOCAL redirection script, required to access external URLs -->
117
</MapbuilderConfig>
(1-1/3)