1
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2
|
<MapbuilderConfig version="0.2.1" 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">
|
3
|
<models>
|
4
|
<Context id="mainMap">
|
5
|
<defaultModelUrl>DemisWorldMap.xml</defaultModelUrl>
|
6
|
|
7
|
<widgets>
|
8
|
<MapPaneOL id="mainMapWidget">
|
9
|
<htmlTagId>mainMapPane</htmlTagId>
|
10
|
<fixedSize>true</fixedSize>
|
11
|
</MapPaneOL>
|
12
|
<ModelUrlInput id="urlInput"/>
|
13
|
<MapScaleText id="mapScaleText"/>
|
14
|
<!--
|
15
|
<MapScaleBar id="mapScaleBar"/>
|
16
|
-->
|
17
|
<CursorTrack id="cursorTrack">
|
18
|
<showPx>false</showPx>
|
19
|
<showLatLong>false</showLatLong>
|
20
|
<showDMS>true</showDMS>
|
21
|
<showMGRS>false</showMGRS>
|
22
|
<precision>2</precision>
|
23
|
</CursorTrack>
|
24
|
</widgets>
|
25
|
|
26
|
<tools>
|
27
|
<History id="extentHistory">
|
28
|
<targetModel>mainMap</targetModel>
|
29
|
</History>
|
30
|
</tools>
|
31
|
</Context>
|
32
|
|
33
|
<Model id="collectionGroup">
|
34
|
<defaultModelUrl>mapCollection.xml</defaultModelUrl>
|
35
|
<widgets>
|
36
|
<CollectionList id="collectionList">
|
37
|
<targetModel>mainMap</targetModel>
|
38
|
<stylesheet>./CollectionList.xsl</stylesheet>
|
39
|
</CollectionList>
|
40
|
</widgets>
|
41
|
</Model>
|
42
|
|
43
|
</models>
|
44
|
<widgets>
|
45
|
<Back id="back">
|
46
|
<buttonBar>mainButtonBar</buttonBar>
|
47
|
<targetModel>mainMap</targetModel>
|
48
|
<class>Button</class>
|
49
|
<disabledSrc>/images/UndoDisable.png</disabledSrc>
|
50
|
</Back>
|
51
|
<Forward id="forward">
|
52
|
<buttonBar>mainButtonBar</buttonBar>
|
53
|
<targetModel>mainMap</targetModel>
|
54
|
<class>Button</class>
|
55
|
<disabledSrc>/images/RedoDisable.png</disabledSrc>
|
56
|
</Forward>
|
57
|
<ZoomIn id="zoomIn">
|
58
|
<buttonBar>mainButtonBar</buttonBar>
|
59
|
<targetModel>mainMap</targetModel>
|
60
|
<class>RadioButton</class>
|
61
|
<selected>true</selected>
|
62
|
<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
|
63
|
<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
|
64
|
</ZoomIn>
|
65
|
<ZoomOut id="zoomOut">
|
66
|
<buttonBar>mainButtonBar</buttonBar>
|
67
|
<targetModel>mainMap</targetModel>
|
68
|
<class>RadioButton</class>
|
69
|
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
|
70
|
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
|
71
|
</ZoomOut>
|
72
|
<DragPan id="dragPan">
|
73
|
<buttonBar>mainButtonBar</buttonBar>
|
74
|
<targetModel>mainMap</targetModel>
|
75
|
<class>RadioButton</class>
|
76
|
<enabledSrc>/images/PanEnable.png</enabledSrc>
|
77
|
<disabledSrc>/images/PanDisable.png</disabledSrc>
|
78
|
</DragPan>
|
79
|
<Reset id="reset">
|
80
|
<buttonBar>mainButtonBar</buttonBar>
|
81
|
<targetModel>mainMap</targetModel>
|
82
|
<class>Button</class>
|
83
|
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
|
84
|
</Reset>
|
85
|
<ExampleList id="exampleList">
|
86
|
<scriptFile>../ExampleList.js</scriptFile>
|
87
|
<stylesheet>../ExampleList.xsl</stylesheet>
|
88
|
</ExampleList>
|
89
|
</widgets>
|
90
|
<skinDir>../../lib/skin/default</skinDir>
|
91
|
</MapbuilderConfig>
|