Revision 4322
Added by ben leinfelder over 16 years ago
lib/style/skins/knb2/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> |
|
48 |
<showDMS>false</showDMS> |
|
49 |
<showLatLong>true</showLatLong> |
|
26 |
<precision>5</precision> |
|
50 | 27 |
</CursorTrack> |
51 |
<Legend id="legend"> |
|
52 |
</Legend> |
|
53 |
<MapScaleText id="mapScaleText"> |
|
54 |
</MapScaleText> |
|
28 |
<MapScaleText id="scaleText"/> |
|
29 |
<Legend id="legend"/> |
|
30 |
|
|
31 |
<Loading2 id="loading2"> |
|
32 |
<mapContainerId>mainMapPane</mapContainerId> |
|
33 |
</Loading2> |
|
34 |
|
|
55 | 35 |
</widgets> |
56 | 36 |
<tools> |
37 |
<History id="extentHistory"/> |
|
57 | 38 |
<AoiMouseHandler id="mainAoi"/> |
58 |
<DragPanHandler id="mainDragPan"> |
|
59 |
<enabled>false</enabled> |
|
60 |
</DragPanHandler> |
|
61 | 39 |
<MouseClickHandler id="mainMouseClick"/> |
62 | 40 |
</tools> |
63 | 41 |
</Context> |
64 | 42 |
|
65 |
<!-- |
|
66 |
<Context id="locator"> |
|
67 |
<defaultModelUrl>config.xml</defaultModelUrl> |
|
43 |
<Model id="locations"> |
|
44 |
<defaultModelUrl>./named_locations.xml</defaultModelUrl> |
|
68 | 45 |
<widgets> |
69 |
<MapPane id="locatorWidget"> |
|
70 |
<htmlTagId>locatorMap</htmlTagId> |
|
46 |
<Locations id="locationsSelect"> |
|
71 | 47 |
<targetModel>mainMap</targetModel> |
72 |
<mapContainerId>locatorContainer</mapContainerId> |
|
73 |
<fixedWidth>180</fixedWidth> |
|
74 |
</MapPane> |
|
75 |
<AoiBoxWZ id="aoiBox2"> |
|
76 |
<htmlTagId>locatorMap</htmlTagId> |
|
77 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
78 |
<lineColor>#FF0000</lineColor> |
|
79 |
<lineWidth>1</lineWidth> |
|
80 |
<crossSize>15</crossSize> |
|
81 |
<mapContainerId>locatorContainer</mapContainerId> |
|
82 |
</AoiBoxWZ> |
|
48 |
</Locations> |
|
83 | 49 |
</widgets> |
84 | 50 |
<tools> |
85 |
<AoiMouseHandler id="locatorAoi"/> |
|
86 |
<ZoomToAoi id="locatorZoomToAoi"> |
|
51 |
<ZoomToAoi id="locationsZoomToAoi"> |
|
87 | 52 |
<targetModel>mainMap</targetModel> |
88 | 53 |
</ZoomToAoi> |
89 | 54 |
</tools> |
90 |
</Context> |
|
91 |
--> |
|
92 |
<Model id="locations"> |
|
93 |
<defaultModelUrl>./named_locations.xml</defaultModelUrl> |
|
94 |
<widgets> |
|
95 |
<Locations id="locationsSelect"> |
|
96 |
<targetModel>mainMap</targetModel> |
|
97 |
</Locations> |
|
98 |
</widgets> |
|
99 |
<tools> |
|
100 |
<ZoomToAoi id="locationsZoomToAoi"> |
|
101 |
<targetModel>mainMap</targetModel> |
|
102 |
</ZoomToAoi> |
|
103 |
</tools> |
|
104 |
</Model> |
|
105 |
|
|
106 |
<Transaction id="transaction"> |
|
107 |
<widgets> |
|
108 |
<TransactionResponse id="transactionResponse"> |
|
109 |
</TransactionResponse> |
|
110 |
</widgets> |
|
111 |
</Transaction> |
|
112 |
<FeatureCollection id="featureCollection"> |
|
113 |
<namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace> |
|
114 |
<widgets> |
|
115 |
<GmlRendererWZ id="testGmlRenderer"> |
|
116 |
<htmlTagId>mainMapPane</htmlTagId> |
|
117 |
<targetModel>mainMap</targetModel> |
|
118 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
119 |
<lineColor>#FF0000</lineColor> |
|
120 |
<lineWidth>1</lineWidth> |
|
121 |
<pointDiameter>10</pointDiameter> |
|
122 |
</GmlRendererWZ> |
|
123 |
<FeatureList id="featureList"> |
|
124 |
</FeatureList> |
|
125 |
</widgets> |
|
126 |
</FeatureCollection> |
|
55 |
</Model> |
|
56 |
|
|
127 | 57 |
</models> |
128 | 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> |
|
129 | 72 |
<ZoomIn id="zoomIn"> |
130 | 73 |
<buttonBar>mainButtonBar</buttonBar> |
131 | 74 |
<targetModel>mainMap</targetModel> |
132 |
<mouseHandler>mainAoi</mouseHandler> |
|
133 | 75 |
<class>RadioButton</class> |
134 | 76 |
<selected>true</selected> |
135 | 77 |
<enabledSrc>/images/ZoomInEnable.png</enabledSrc> |
136 | 78 |
<disabledSrc>/images/ZoomInDisable.png</disabledSrc> |
137 |
<tooltip xml:lang="en">click map or drag to zoom in</tooltip> |
|
138 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour agrandir</tooltip--> |
|
139 | 79 |
</ZoomIn> |
140 | 80 |
<ZoomOut id="zoomOut"> |
141 | 81 |
<buttonBar>mainButtonBar</buttonBar> |
142 | 82 |
<targetModel>mainMap</targetModel> |
143 |
<mouseHandler>mainAoi</mouseHandler> |
|
144 | 83 |
<class>RadioButton</class> |
145 | 84 |
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc> |
146 | 85 |
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc> |
147 |
<tooltip xml:lang="en">click map to zoom out</tooltip> |
|
148 |
<!--tooltip xml:lang="fr">cliquer pour rée</tooltip--> |
|
149 | 86 |
</ZoomOut> |
150 | 87 |
<DragPan id="dragPan"> |
151 | 88 |
<buttonBar>mainButtonBar</buttonBar> |
152 | 89 |
<targetModel>mainMap</targetModel> |
153 |
<mouseHandler>mainDragPan</mouseHandler> |
|
154 | 90 |
<class>RadioButton</class> |
155 | 91 |
<enabledSrc>/images/PanEnable.png</enabledSrc> |
156 | 92 |
<disabledSrc>/images/PanDisable.png</disabledSrc> |
157 |
<tooltip xml:lang="en">click and drag to pan</tooltip> |
|
158 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour voir un autre parti de la carte</tooltip--> |
|
159 | 93 |
</DragPan> |
160 | 94 |
<Reset id="reset"> |
161 | 95 |
<buttonBar>mainButtonBar</buttonBar> |
162 | 96 |
<targetModel>mainMap</targetModel> |
163 | 97 |
<class>Button</class> |
164 | 98 |
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc> |
165 |
<tooltip xml:lang="en">reset the map to full extent</tooltip> |
|
166 |
<!--tooltip xml:lang="fr">redonner la carte ses dimensions complèts</tooltip--> |
|
167 | 99 |
</Reset> |
100 |
<Loading id="loadingApp"> |
|
101 |
<htmlTagId>mainMapPane</htmlTagId> |
|
102 |
</Loading> |
|
103 |
|
|
168 | 104 |
<AoiMetacatQuery id="aoiMetacatQuery"> |
169 | 105 |
<buttonBar>mainButtonBar</buttonBar> |
170 | 106 |
<targetModel>mainMap</targetModel> |
171 |
<mouseHandler>mainAoi</mouseHandler> |
|
172 | 107 |
<class>RadioButton</class> |
108 |
<mouseHandler>mainAoi</mouseHandler> |
|
173 | 109 |
<enabledSrc>/images/QueryEnable.png</enabledSrc> |
174 | 110 |
<disabledSrc>/images/QueryDisable.png</disabledSrc> |
175 | 111 |
<tooltip xml:lang="en">select multiple datasets</tooltip> |
... | ... | |
177 | 113 |
<skin>knb2</skin> |
178 | 114 |
<pixel_tolerance>5</pixel_tolerance> |
179 | 115 |
</AoiMetacatQuery> |
116 |
|
|
180 | 117 |
</widgets> |
181 | 118 |
<skinDir>../../../../spatial/mapbuilder/lib/skin/default</skinDir> |
182 |
<proxyUrl>../../../proxy.jsp</proxyUrl>
|
|
183 |
</MapbuilderConfig>
|
|
184 |
|
|
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