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>../data/context/metacartaWorldMap.xml</defaultModelUrl>
|
6
|
<widgets>
|
7
|
<MapPaneOL id="mainMapWidget">
|
8
|
<htmlTagId>mainMapPane</htmlTagId>
|
9
|
</MapPaneOL>
|
10
|
<CursorTrack id="cursorTrack">
|
11
|
<precision>5</precision>
|
12
|
</CursorTrack>
|
13
|
<OverviewMap id="locatorWidget">
|
14
|
<htmlTagId>locatorMap</htmlTagId>
|
15
|
<width>180</width>
|
16
|
</OverviewMap>
|
17
|
<LayerControl id="contextLegend">
|
18
|
<autoRefresh>false</autoRefresh>
|
19
|
<opacity>true</opacity>
|
20
|
<legendImageEnable>/images/LegendEnable.png</legendImageEnable>
|
21
|
<legendImageDisable>/images/LegendDisable.png</legendImageDisable>
|
22
|
<moveUpImage>/images/LayerMoveUpDisable.png</moveUpImage>
|
23
|
<moveDownImage>/images/LayerMoveDownDisable.png</moveDownImage>
|
24
|
<deleteImage>/images/LayerRemoveDisable.png</deleteImage>
|
25
|
</LayerControl>
|
26
|
</widgets>
|
27
|
<tools>
|
28
|
<History id="extentHistory"/>
|
29
|
</tools>
|
30
|
</Context>
|
31
|
</models>
|
32
|
|
33
|
<widgets>
|
34
|
<Back id="back">
|
35
|
<buttonBar>mainButtonBar</buttonBar>
|
36
|
<targetModel>mainMap</targetModel>
|
37
|
<class>Button</class>
|
38
|
<disabledSrc>/images/UndoDisable.png</disabledSrc>
|
39
|
</Back>
|
40
|
<Forward id="forward">
|
41
|
<buttonBar>mainButtonBar</buttonBar>
|
42
|
<targetModel>mainMap</targetModel>
|
43
|
<class>Button</class>
|
44
|
<disabledSrc>/images/RedoDisable.png</disabledSrc>
|
45
|
</Forward>
|
46
|
<ZoomIn id="zoomIn">
|
47
|
<buttonBar>mainButtonBar</buttonBar>
|
48
|
<targetModel>mainMap</targetModel>
|
49
|
<class>RadioButton</class>
|
50
|
<selected>true</selected>
|
51
|
<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
|
52
|
<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
|
53
|
</ZoomIn>
|
54
|
<ZoomOut id="zoomOut">
|
55
|
<buttonBar>mainButtonBar</buttonBar>
|
56
|
<targetModel>mainMap</targetModel>
|
57
|
<class>RadioButton</class>
|
58
|
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
|
59
|
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
|
60
|
</ZoomOut>
|
61
|
<DragPan id="dragPan">
|
62
|
<buttonBar>mainButtonBar</buttonBar>
|
63
|
<targetModel>mainMap</targetModel>
|
64
|
<class>RadioButton</class>
|
65
|
<enabledSrc>/images/PanEnable.png</enabledSrc>
|
66
|
<disabledSrc>/images/PanDisable.png</disabledSrc>
|
67
|
</DragPan>
|
68
|
<Reset id="reset">
|
69
|
<buttonBar>mainButtonBar</buttonBar>
|
70
|
<targetModel>mainMap</targetModel>
|
71
|
<class>Button</class>
|
72
|
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
|
73
|
</Reset>
|
74
|
<ExampleList id="exampleList"><!-- this is the widget that draws the example menu -->
|
75
|
<scriptFile>../ExampleList.js</scriptFile>
|
76
|
<stylesheet>../ExampleList.xsl</stylesheet>
|
77
|
</ExampleList>
|
78
|
</widgets>
|
79
|
<skinDir>../../lib/skin/default</skinDir>
|
80
|
</MapbuilderConfig>
|