Revision 4317
Added by ben leinfelder over 16 years ago
lib/style/skins/nceas/spatial/config.xml | ||
---|---|---|
2 | 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 | 3 |
<!-- |
4 | 4 |
Description: This configuration file determines what components from the |
5 |
Mapbuilder library are to be included in a Main Mapbuilder web
|
|
6 |
page.
|
|
5 |
Mapbuilder library are to be included in a Main Mapbuilder web |
|
6 |
page. |
|
7 | 7 |
Licence: GPL as per: http://www.gnu.org/copyleft/gpl.html |
8 |
|
|
8 |
|
|
9 | 9 |
$Id$ |
10 | 10 |
--> |
11 | 11 |
<!-- |
... | ... | |
16 | 16 |
<Context id="mainMap"> |
17 | 17 |
<defaultModelUrl>context.xml</defaultModelUrl> |
18 | 18 |
<widgets> |
19 |
<Loading id="loading"/> |
|
20 |
<Loading2 id="loading2"> |
|
21 |
<mapContainerId>mainMapPane</mapContainerId> |
|
22 |
</Loading2> |
|
23 |
<!-- <MapScaleBar id="scalebar"> |
|
24 |
<displaySystem>metric</displaySystem> |
|
25 |
<minWidth>150</minWidth> |
|
26 |
<maxWidth>250</maxWidth> |
|
27 |
<divisions>4</divisions> |
|
28 |
<subdivisions>2</subdivisions> |
|
29 |
<showMinorMeasures>false</showMinorMeasures> |
|
30 |
<abbreviateLabel>true</abbreviateLabel> |
|
31 |
<singleLine>false</singleLine> |
|
32 |
<align>center</align> |
|
33 |
</MapScaleBar> --> |
|
34 |
<MapPane id="mainMapWidget"> |
|
19 |
|
|
20 |
<MapPaneOL id="mainMapWidget"> |
|
35 | 21 |
<htmlTagId>mainMapPane</htmlTagId> |
36 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
37 |
</MapPane> |
|
38 |
<AoiBoxWZ id="aoiBox2"> |
|
39 |
<htmlTagId>mainMapPane</htmlTagId> |
|
40 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
41 |
<lineColor>#FF0000</lineColor> |
|
42 |
<lineWidth>1</lineWidth> |
|
43 |
<crossSize>15</crossSize> |
|
44 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
45 |
</AoiBoxWZ> |
|
22 |
<fixedSize>true</fixedSize> |
|
23 |
<transitionEffect>resize</transitionEffect> |
|
24 |
</MapPaneOL> |
|
46 | 25 |
<CursorTrack id="cursorTrack"> |
47 |
<mouseHandler>mainMap</mouseHandler>
|
|
26 |
<precision>5</precision>
|
|
48 | 27 |
</CursorTrack> |
49 |
<Legend id="legend"> |
|
50 |
</Legend> |
|
51 |
<MapScaleText id="mapScaleText"> |
|
52 |
</MapScaleText> |
|
28 |
<MapScaleText id="scaleText"/> |
|
29 |
<Legend id="legend"/> |
|
30 |
|
|
31 |
<Loading2 id="loading2"> |
|
32 |
<mapContainerId>mainMapPane</mapContainerId> |
|
33 |
</Loading2> |
|
34 |
|
|
53 | 35 |
</widgets> |
54 | 36 |
<tools> |
37 |
<History id="extentHistory"/> |
|
55 | 38 |
<AoiMouseHandler id="mainAoi"/> |
56 |
<DragPanHandler id="mainDragPan"> |
|
57 |
<enabled>false</enabled> |
|
58 |
</DragPanHandler> |
|
59 | 39 |
<MouseClickHandler id="mainMouseClick"/> |
60 | 40 |
</tools> |
61 | 41 |
</Context> |
62 | 42 |
|
63 |
<!-- |
|
64 |
<Context id="locator"> |
|
65 |
<defaultModelUrl>config.xml</defaultModelUrl> |
|
43 |
<Model id="locations"> |
|
44 |
<defaultModelUrl>./named_locations.xml</defaultModelUrl> |
|
66 | 45 |
<widgets> |
67 |
<MapPane id="locatorWidget"> |
|
68 |
<htmlTagId>locatorMap</htmlTagId> |
|
46 |
<Locations id="locationsSelect"> |
|
69 | 47 |
<targetModel>mainMap</targetModel> |
70 |
<mapContainerId>locatorContainer</mapContainerId> |
|
71 |
<fixedWidth>180</fixedWidth> |
|
72 |
</MapPane> |
|
73 |
<AoiBoxWZ id="aoiBox2"> |
|
74 |
<htmlTagId>locatorMap</htmlTagId> |
|
75 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
76 |
<lineColor>#FF0000</lineColor> |
|
77 |
<lineWidth>1</lineWidth> |
|
78 |
<crossSize>15</crossSize> |
|
79 |
<mapContainerId>locatorContainer</mapContainerId> |
|
80 |
</AoiBoxWZ> |
|
48 |
</Locations> |
|
81 | 49 |
</widgets> |
82 | 50 |
<tools> |
83 |
<AoiMouseHandler id="locatorAoi"/> |
|
84 |
<ZoomToAoi id="locatorZoomToAoi"> |
|
51 |
<ZoomToAoi id="locationsZoomToAoi"> |
|
85 | 52 |
<targetModel>mainMap</targetModel> |
86 | 53 |
</ZoomToAoi> |
87 | 54 |
</tools> |
88 |
</Context> |
|
89 |
--> |
|
90 |
<Model id="locations"> |
|
91 |
<defaultModelUrl>./named_locations.xml</defaultModelUrl> |
|
92 |
<widgets> |
|
93 |
<Locations id="locationsSelect"> |
|
94 |
<targetModel>mainMap</targetModel> |
|
95 |
</Locations> |
|
96 |
</widgets> |
|
97 |
<tools> |
|
98 |
<ZoomToAoi id="locationsZoomToAoi"> |
|
99 |
<targetModel>mainMap</targetModel> |
|
100 |
</ZoomToAoi> |
|
101 |
</tools> |
|
102 |
</Model> |
|
103 |
|
|
104 |
<Transaction id="transaction"> |
|
105 |
<widgets> |
|
106 |
<TransactionResponse id="transactionResponse"> |
|
107 |
</TransactionResponse> |
|
108 |
</widgets> |
|
109 |
</Transaction> |
|
110 |
<FeatureCollection id="featureCollection"> |
|
111 |
<namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace> |
|
112 |
<widgets> |
|
113 |
<GmlRendererWZ id="testGmlRenderer"> |
|
114 |
<htmlTagId>mainMapPane</htmlTagId> |
|
115 |
<targetModel>mainMap</targetModel> |
|
116 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
117 |
<lineColor>#FF0000</lineColor> |
|
118 |
<lineWidth>1</lineWidth> |
|
119 |
<pointDiameter>10</pointDiameter> |
|
120 |
</GmlRendererWZ> |
|
121 |
<FeatureList id="featureList"> |
|
122 |
</FeatureList> |
|
123 |
</widgets> |
|
124 |
</FeatureCollection> |
|
55 |
</Model> |
|
56 |
|
|
125 | 57 |
</models> |
126 | 58 |
<widgets> |
59 |
|
|
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> |
|
127 | 72 |
<ZoomIn id="zoomIn"> |
128 | 73 |
<buttonBar>mainButtonBar</buttonBar> |
129 | 74 |
<targetModel>mainMap</targetModel> |
130 |
<mouseHandler>mainAoi</mouseHandler> |
|
131 | 75 |
<class>RadioButton</class> |
132 | 76 |
<selected>true</selected> |
133 | 77 |
<enabledSrc>/images/ZoomInEnable.png</enabledSrc> |
134 | 78 |
<disabledSrc>/images/ZoomInDisable.png</disabledSrc> |
135 |
<tooltip xml:lang="en">click map or drag to zoom in</tooltip> |
|
136 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour agrandir</tooltip--> |
|
137 | 79 |
</ZoomIn> |
138 | 80 |
<ZoomOut id="zoomOut"> |
139 | 81 |
<buttonBar>mainButtonBar</buttonBar> |
140 | 82 |
<targetModel>mainMap</targetModel> |
141 |
<mouseHandler>mainAoi</mouseHandler> |
|
142 | 83 |
<class>RadioButton</class> |
143 | 84 |
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc> |
144 | 85 |
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc> |
145 |
<tooltip xml:lang="en">click map to zoom out</tooltip> |
|
146 |
<!--tooltip xml:lang="fr">cliquer pour rée</tooltip--> |
|
147 | 86 |
</ZoomOut> |
148 | 87 |
<DragPan id="dragPan"> |
149 | 88 |
<buttonBar>mainButtonBar</buttonBar> |
150 | 89 |
<targetModel>mainMap</targetModel> |
151 |
<mouseHandler>mainDragPan</mouseHandler> |
|
152 | 90 |
<class>RadioButton</class> |
153 | 91 |
<enabledSrc>/images/PanEnable.png</enabledSrc> |
154 | 92 |
<disabledSrc>/images/PanDisable.png</disabledSrc> |
155 |
<tooltip xml:lang="en">click and drag to pan</tooltip> |
|
156 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour voir un autre parti de la carte</tooltip--> |
|
157 | 93 |
</DragPan> |
158 | 94 |
<Reset id="reset"> |
159 | 95 |
<buttonBar>mainButtonBar</buttonBar> |
160 | 96 |
<targetModel>mainMap</targetModel> |
161 | 97 |
<class>Button</class> |
162 | 98 |
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc> |
163 |
<tooltip xml:lang="en">reset the map to full extent</tooltip> |
|
164 |
<!--tooltip xml:lang="fr">redonner la carte ses dimensions complèts</tooltip--> |
|
165 | 99 |
</Reset> |
100 |
<Loading id="loadingApp"> |
|
101 |
<htmlTagId>mainMapPane</htmlTagId> |
|
102 |
</Loading> |
|
103 |
|
|
166 | 104 |
<AoiMetacatQuery id="aoiMetacatQuery"> |
167 | 105 |
<buttonBar>mainButtonBar</buttonBar> |
168 | 106 |
<targetModel>mainMap</targetModel> |
169 |
<mouseHandler>mainAoi</mouseHandler> |
|
170 | 107 |
<class>RadioButton</class> |
108 |
<mouseHandler>mainAoi</mouseHandler> |
|
171 | 109 |
<enabledSrc>/images/QueryEnable.png</enabledSrc> |
172 | 110 |
<disabledSrc>/images/QueryDisable.png</disabledSrc> |
173 | 111 |
<tooltip xml:lang="en">select multiple datasets</tooltip> |
... | ... | |
175 | 113 |
<skin>nceas</skin> |
176 | 114 |
<pixel_tolerance>5</pixel_tolerance> |
177 | 115 |
</AoiMetacatQuery> |
116 |
|
|
178 | 117 |
</widgets> |
179 | 118 |
<skinDir>../../../../spatial/mapbuilder/lib/skin/default</skinDir> |
180 |
<proxyUrl>../../../proxy.jsp</proxyUrl>
|
|
181 |
</MapbuilderConfig>
|
|
182 |
|
|
119 |
<!-- Url of LOCAL redirection script, required to access external URLs -->
|
|
120 |
<proxyUrl>../../proxy.jsp</proxyUrl>
|
|
121 |
</MapbuilderConfig> |
Also available in: Unified diff
Upgrade to MapBuilder 1.5rc2