1
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2
|
<MapbuilderConfig version="0.2.1" id="simpleTemplate" 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
|
<models>
|
4
|
<Context id="mainMap">
|
5
|
<defaultModelUrl>examples/data/context/demisWorldMap.xml</defaultModelUrl>
|
6
|
<widgets>
|
7
|
<MapPaneOL id="mainMapWidget">
|
8
|
<htmlTagId>mainMapPane</htmlTagId>
|
9
|
<fixedSize>true</fixedSize>
|
10
|
</MapPaneOL>
|
11
|
<CursorTrack id="cursorTrack">
|
12
|
<mouseHandler>mainMap</mouseHandler>
|
13
|
<showXY>false</showXY>
|
14
|
</CursorTrack>
|
15
|
</widgets>
|
16
|
<tools>
|
17
|
<History id="extentHistory"/>
|
18
|
</tools>
|
19
|
</Context>
|
20
|
</models>
|
21
|
<widgets>
|
22
|
<Back id="back">
|
23
|
<buttonBar>mainButtonBar</buttonBar>
|
24
|
<targetModel>mainMap</targetModel>
|
25
|
<class>Button</class>
|
26
|
<disabledSrc>/images/UndoDisable.png</disabledSrc>
|
27
|
</Back>
|
28
|
<Forward id="forward">
|
29
|
<buttonBar>mainButtonBar</buttonBar>
|
30
|
<targetModel>mainMap</targetModel>
|
31
|
<class>Button</class>
|
32
|
<disabledSrc>/images/RedoDisable.png</disabledSrc>
|
33
|
</Forward>
|
34
|
<ZoomIn id="zoomIn">
|
35
|
<buttonBar>mainButtonBar</buttonBar>
|
36
|
<targetModel>mainMap</targetModel>
|
37
|
<class>RadioButton</class>
|
38
|
<selected>true</selected>
|
39
|
<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
|
40
|
<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
|
41
|
</ZoomIn>
|
42
|
<ZoomOut id="zoomOut">
|
43
|
<buttonBar>mainButtonBar</buttonBar>
|
44
|
<targetModel>mainMap</targetModel>
|
45
|
<class>RadioButton</class>
|
46
|
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
|
47
|
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
|
48
|
</ZoomOut>
|
49
|
<DragPan id="dragPan">
|
50
|
<buttonBar>mainButtonBar</buttonBar>
|
51
|
<targetModel>mainMap</targetModel>
|
52
|
<class>RadioButton</class>
|
53
|
<enabledSrc>/images/PanEnable.png</enabledSrc>
|
54
|
<disabledSrc>/images/PanDisable.png</disabledSrc>
|
55
|
</DragPan>
|
56
|
<Reset id="reset">
|
57
|
<buttonBar>mainButtonBar</buttonBar>
|
58
|
<targetModel>mainMap</targetModel>
|
59
|
<class>Button</class>
|
60
|
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
|
61
|
</Reset>
|
62
|
</widgets>
|
63
|
<skinDir>lib/skin/default</skinDir>
|
64
|
</MapbuilderConfig>
|