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