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 ../../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: GPL as per: http://www.gnu.org/copyleft/gpl.html
|
8
|
|
9
|
$Id: africa_frame_config.xml 4308 2008-08-26 01:37:57Z leinfelder $
|
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>africa_frame_model.xml</defaultModelUrl>
|
18
|
<widgets>
|
19
|
|
20
|
<MapPaneOL id="mainMapWidget">
|
21
|
<htmlTagId>mainMapPane</htmlTagId>
|
22
|
<fixedSize>true</fixedSize>
|
23
|
<transitionEffect>resize</transitionEffect>
|
24
|
</MapPaneOL>
|
25
|
<CursorTrack id="cursorTrack">
|
26
|
<precision>5</precision>
|
27
|
</CursorTrack>
|
28
|
<MapScaleText id="scaleText"/>
|
29
|
<Loading2 id="loading2">
|
30
|
<mapContainerId>mainMapPane</mapContainerId>
|
31
|
</Loading2>
|
32
|
|
33
|
</widgets>
|
34
|
<tools>
|
35
|
<History id="extentHistory"/>
|
36
|
<AoiMouseHandler id="mainAoi"/>
|
37
|
<MouseClickHandler id="mainMouseClick"/>
|
38
|
</tools>
|
39
|
</Context>
|
40
|
|
41
|
</models>
|
42
|
<widgets>
|
43
|
|
44
|
<Back id="back">
|
45
|
<buttonBar>mainButtonBar</buttonBar>
|
46
|
<targetModel>mainMap</targetModel>
|
47
|
<class>Button</class>
|
48
|
<disabledSrc>/images/UndoDisable.png</disabledSrc>
|
49
|
</Back>
|
50
|
<Forward id="forward">
|
51
|
<buttonBar>mainButtonBar</buttonBar>
|
52
|
<targetModel>mainMap</targetModel>
|
53
|
<class>Button</class>
|
54
|
<disabledSrc>/images/RedoDisable.png</disabledSrc>
|
55
|
</Forward>
|
56
|
<ZoomIn id="zoomIn">
|
57
|
<buttonBar>mainButtonBar</buttonBar>
|
58
|
<targetModel>mainMap</targetModel>
|
59
|
<class>RadioButton</class>
|
60
|
<selected>true</selected>
|
61
|
<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
|
62
|
<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
|
63
|
</ZoomIn>
|
64
|
<ZoomOut id="zoomOut">
|
65
|
<buttonBar>mainButtonBar</buttonBar>
|
66
|
<targetModel>mainMap</targetModel>
|
67
|
<class>RadioButton</class>
|
68
|
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
|
69
|
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
|
70
|
</ZoomOut>
|
71
|
<DragPan id="dragPan">
|
72
|
<buttonBar>mainButtonBar</buttonBar>
|
73
|
<targetModel>mainMap</targetModel>
|
74
|
<class>RadioButton</class>
|
75
|
<enabledSrc>/images/PanEnable.png</enabledSrc>
|
76
|
<disabledSrc>/images/PanDisable.png</disabledSrc>
|
77
|
</DragPan>
|
78
|
<Reset id="reset">
|
79
|
<buttonBar>mainButtonBar</buttonBar>
|
80
|
<targetModel>mainMap</targetModel>
|
81
|
<class>Button</class>
|
82
|
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
|
83
|
</Reset>
|
84
|
<Loading id="loadingApp">
|
85
|
<htmlTagId>mainMapPane</htmlTagId>
|
86
|
</Loading>
|
87
|
|
88
|
<AoiMetacatQuery id="aoiMetacatQuery">
|
89
|
<buttonBar>mainButtonBar</buttonBar>
|
90
|
<targetModel>mainMap</targetModel>
|
91
|
<class>RadioButton</class>
|
92
|
<mouseHandler>mainAoi</mouseHandler>
|
93
|
<enabledSrc>/images/QueryEnable.png</enabledSrc>
|
94
|
<disabledSrc>/images/QueryDisable.png</disabledSrc>
|
95
|
<tooltip xml:lang="en">select multiple datasets</tooltip>
|
96
|
<metacat>../../../../metacat</metacat>
|
97
|
<skin>sanparks</skin>
|
98
|
<pixel_tolerance>5</pixel_tolerance>
|
99
|
</AoiMetacatQuery>
|
100
|
|
101
|
</widgets>
|
102
|
<skinDir>../../../../spatial/mapbuilder/lib/skin/default</skinDir>
|
103
|
<!-- Url of LOCAL redirection script, required to access external URLs -->
|
104
|
<proxyUrl>../../proxy.jsp</proxyUrl>
|
105
|
</MapbuilderConfig>
|