1
|
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
|
2
|
<MapbuilderConfig
|
3
|
xmlns="http://mapbuilder.sourceforge.net/mapbuilder"
|
4
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../lib/schemas/config.xsd"
|
6
|
version="0.2.1" id="tutorial3" >
|
7
|
|
8
|
<models>
|
9
|
|
10
|
<Context id="mainMap">
|
11
|
<defaultModelUrl>/mapbuilder/examples/data/context/cded.xml</defaultModelUrl>
|
12
|
|
13
|
<widgets>
|
14
|
<MapPane id="mainMapWidget">
|
15
|
<htmlTagId>mainMapPane</htmlTagId>
|
16
|
<mapContainerId>mainMapContainer</mapContainerId>
|
17
|
</MapPane>
|
18
|
<AoiBoxWZ id="aoiBoxMain">
|
19
|
<htmlTagId>mainMapPane</htmlTagId>
|
20
|
<stylesheet>/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet>
|
21
|
<mapContainerId>mainMapContainer</mapContainerId>
|
22
|
<lineColor>#FF0000</lineColor>
|
23
|
<lineWidth>1</lineWidth>
|
24
|
<crossSize>15</crossSize>
|
25
|
</AoiBoxWZ>
|
26
|
|
27
|
<Legend id="defaultLegend"/>
|
28
|
|
29
|
<CursorTrack id="cursorTrack">
|
30
|
<mouseHandler>mainMap</mouseHandler>
|
31
|
</CursorTrack>
|
32
|
|
33
|
</widgets>
|
34
|
<tools>
|
35
|
<AoiMouseHandler id="mainAoi"/>
|
36
|
<DragPanHandler id="mainDragPan">
|
37
|
<enabled>false</enabled>
|
38
|
</DragPanHandler>
|
39
|
</tools>
|
40
|
</Context>
|
41
|
|
42
|
</models>
|
43
|
|
44
|
<widgets>
|
45
|
<ZoomIn id="zoomIn">
|
46
|
<buttonBar>mainButtonBar</buttonBar>
|
47
|
<targetModel>mainMap</targetModel>
|
48
|
<mouseHandler>mainAoi</mouseHandler>
|
49
|
<class>RadioButton</class>
|
50
|
<selected>true</selected>
|
51
|
<enabledSrc>/images/ZoomInEnable.gif</enabledSrc>
|
52
|
<disabledSrc>/images/ZoomInDisable.gif</disabledSrc>
|
53
|
</ZoomIn>
|
54
|
<ZoomOut id="zoomOut">
|
55
|
<buttonBar>mainButtonBar</buttonBar>
|
56
|
<targetModel>mainMap</targetModel>
|
57
|
<mouseHandler>mainAoi</mouseHandler>
|
58
|
<class>RadioButton</class>
|
59
|
<enabledSrc>/images/ZoomOutEnable.gif</enabledSrc>
|
60
|
<disabledSrc>/images/ZoomOutDisable.gif</disabledSrc>
|
61
|
</ZoomOut>
|
62
|
<DragPan id="dragPan">
|
63
|
<buttonBar>mainButtonBar</buttonBar>
|
64
|
<targetModel>mainMap</targetModel>
|
65
|
<mouseHandler>mainDragPan</mouseHandler>
|
66
|
<class>RadioButton</class>
|
67
|
<enabledSrc>/images/PanEnable.gif</enabledSrc>
|
68
|
<disabledSrc>/images/PanDisable.gif</disabledSrc>
|
69
|
</DragPan>
|
70
|
<Reset id="reset">
|
71
|
<buttonBar>mainButtonBar</buttonBar>
|
72
|
<targetModel>mainMap</targetModel>
|
73
|
<class>Button</class>
|
74
|
<disabledSrc>/images/ResetExtentDisable.gif</disabledSrc>
|
75
|
</Reset>
|
76
|
</widgets>
|
77
|
<skinDir>/mapbuilder/lib/skin/default</skinDir>
|
78
|
</MapbuilderConfig>
|