Revision 4311
Added by ben leinfelder over 16 years ago
lib/style/skins/saeon/spatial/africa_frame_config.xml | ||
---|---|---|
16 | 16 |
<Context id="mainMap"> |
17 | 17 |
<defaultModelUrl>africa_frame_model.xml</defaultModelUrl> |
18 | 18 |
<widgets> |
19 |
<Loading id="loading"/> |
|
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 |
<Legend id="legend"/> |
|
30 |
|
|
20 | 31 |
<Loading2 id="loading2"> |
21 |
<mapContainerId>mainMapPane</mapContainerId>
|
|
32 |
<mapContainerId>mainMapPane</mapContainerId> |
|
22 | 33 |
</Loading2> |
23 | 34 |
|
24 |
<MapPane id="mainMapWidget"> |
|
25 |
<htmlTagId>mainMapPane</htmlTagId> |
|
26 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
27 |
</MapPane> |
|
28 |
<AoiBoxWZ id="aoiBox2"> |
|
29 |
<htmlTagId>mainMapPane</htmlTagId> |
|
30 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
31 |
<lineColor>#FF0000</lineColor> |
|
32 |
<lineWidth>1</lineWidth> |
|
33 |
<crossSize>15</crossSize> |
|
34 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
35 |
</AoiBoxWZ> |
|
36 |
<CursorTrack id="cursorTrack"> |
|
37 |
<mouseHandler>mainMap</mouseHandler> |
|
38 |
<showDMS>false</showDMS> |
|
39 |
<showLatLong>true</showLatLong> |
|
40 |
</CursorTrack> |
|
41 |
<Legend id="legend"> |
|
42 |
</Legend> |
|
43 |
<MapScaleText id="mapScaleText"> |
|
44 |
</MapScaleText> |
|
45 | 35 |
</widgets> |
46 | 36 |
<tools> |
37 |
<History id="extentHistory"/> |
|
47 | 38 |
<AoiMouseHandler id="mainAoi"/> |
48 |
<DragPanHandler id="mainDragPan"> |
|
49 |
<enabled>false</enabled> |
|
50 |
</DragPanHandler> |
|
51 | 39 |
<MouseClickHandler id="mainMouseClick"/> |
52 | 40 |
</tools> |
53 | 41 |
</Context> |
54 | 42 |
|
55 |
<Context id="locator">
|
|
56 |
<defaultModelUrl>africa_frame_model.xml</defaultModelUrl>
|
|
43 |
<Model id="locations">
|
|
44 |
<defaultModelUrl>./named_locations.xml</defaultModelUrl>
|
|
57 | 45 |
<widgets> |
58 |
<MapPane id="locatorWidget"> |
|
59 |
<htmlTagId>locatorMap</htmlTagId> |
|
46 |
<Locations id="locationsSelect"> |
|
60 | 47 |
<targetModel>mainMap</targetModel> |
61 |
<mapContainerId>locatorContainer</mapContainerId> |
|
62 |
<fixedWidth>180</fixedWidth> |
|
63 |
</MapPane> |
|
64 |
<AoiBoxWZ id="aoiBox2"> |
|
65 |
<htmlTagId>locatorMap</htmlTagId> |
|
66 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
67 |
<lineColor>#FF0000</lineColor> |
|
68 |
<lineWidth>1</lineWidth> |
|
69 |
<crossSize>15</crossSize> |
|
70 |
<mapContainerId>locatorContainer</mapContainerId> |
|
71 |
</AoiBoxWZ> |
|
48 |
</Locations> |
|
72 | 49 |
</widgets> |
73 | 50 |
<tools> |
74 |
<AoiMouseHandler id="locatorAoi"/> |
|
75 |
<ZoomToAoi id="locatorZoomToAoi"> |
|
51 |
<ZoomToAoi id="locationsZoomToAoi"> |
|
76 | 52 |
<targetModel>mainMap</targetModel> |
77 | 53 |
</ZoomToAoi> |
78 | 54 |
</tools> |
79 |
</Context> |
|
80 |
|
|
81 |
<Model id="locations"> |
|
82 |
<defaultModelUrl>./named_locations.xml</defaultModelUrl> |
|
83 |
<widgets> |
|
84 |
<Locations id="locationsSelect"> |
|
85 |
<targetModel>mainMap</targetModel> |
|
86 |
</Locations> |
|
87 |
</widgets> |
|
88 |
<tools> |
|
89 |
<ZoomToAoi id="locationsZoomToAoi"> |
|
90 |
<targetModel>mainMap</targetModel> |
|
91 |
</ZoomToAoi> |
|
92 |
</tools> |
|
93 |
</Model> |
|
55 |
</Model> |
|
94 | 56 |
|
95 |
<Transaction id="transaction"> |
|
96 |
<widgets> |
|
97 |
<TransactionResponse id="transactionResponse"> |
|
98 |
</TransactionResponse> |
|
99 |
</widgets> |
|
100 |
</Transaction> |
|
101 |
<FeatureCollection id="featureCollection"> |
|
102 |
<namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace> |
|
103 |
<widgets> |
|
104 |
<GmlRendererWZ id="testGmlRenderer"> |
|
105 |
<htmlTagId>mainMapPane</htmlTagId> |
|
106 |
<targetModel>mainMap</targetModel> |
|
107 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
108 |
<lineColor>#FF0000</lineColor> |
|
109 |
<lineWidth>1</lineWidth> |
|
110 |
<pointDiameter>10</pointDiameter> |
|
111 |
</GmlRendererWZ> |
|
112 |
<FeatureList id="featureList"> |
|
113 |
</FeatureList> |
|
114 |
</widgets> |
|
115 |
</FeatureCollection> |
|
116 | 57 |
</models> |
117 | 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> |
|
118 | 72 |
<ZoomIn id="zoomIn"> |
119 | 73 |
<buttonBar>mainButtonBar</buttonBar> |
120 | 74 |
<targetModel>mainMap</targetModel> |
121 |
<mouseHandler>mainAoi</mouseHandler> |
|
122 | 75 |
<class>RadioButton</class> |
123 | 76 |
<selected>true</selected> |
124 | 77 |
<enabledSrc>/images/ZoomInEnable.png</enabledSrc> |
125 | 78 |
<disabledSrc>/images/ZoomInDisable.png</disabledSrc> |
126 |
<tooltip xml:lang="en">click map or drag to zoom in</tooltip> |
|
127 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour agrandir</tooltip--> |
|
128 | 79 |
</ZoomIn> |
129 | 80 |
<ZoomOut id="zoomOut"> |
130 | 81 |
<buttonBar>mainButtonBar</buttonBar> |
131 | 82 |
<targetModel>mainMap</targetModel> |
132 |
<mouseHandler>mainAoi</mouseHandler> |
|
133 | 83 |
<class>RadioButton</class> |
134 | 84 |
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc> |
135 | 85 |
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc> |
136 |
<tooltip xml:lang="en">click map to zoom out</tooltip> |
|
137 |
<!--tooltip xml:lang="fr">cliquer pour rée</tooltip--> |
|
138 | 86 |
</ZoomOut> |
139 | 87 |
<DragPan id="dragPan"> |
140 | 88 |
<buttonBar>mainButtonBar</buttonBar> |
141 | 89 |
<targetModel>mainMap</targetModel> |
142 |
<mouseHandler>mainDragPan</mouseHandler> |
|
143 | 90 |
<class>RadioButton</class> |
144 | 91 |
<enabledSrc>/images/PanEnable.png</enabledSrc> |
145 | 92 |
<disabledSrc>/images/PanDisable.png</disabledSrc> |
146 |
<tooltip xml:lang="en">click and drag to pan</tooltip> |
|
147 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour voir un autre parti de la carte</tooltip--> |
|
148 | 93 |
</DragPan> |
149 | 94 |
<Reset id="reset"> |
150 | 95 |
<buttonBar>mainButtonBar</buttonBar> |
151 | 96 |
<targetModel>mainMap</targetModel> |
152 | 97 |
<class>Button</class> |
153 | 98 |
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc> |
154 |
<tooltip xml:lang="en">reset the map to full extent</tooltip> |
|
155 |
<!--tooltip xml:lang="fr">redonner la carte ses dimensions complèts</tooltip--> |
|
156 | 99 |
</Reset> |
157 |
|
|
158 |
<!-- |
|
159 |
<EditPoint id="editPoint"> |
|
100 |
<Loading id="loadingApp"> |
|
101 |
<htmlTagId>mainMapPane</htmlTagId> |
|
102 |
</Loading> |
|
103 |
|
|
104 |
<AoiMetacatQuery id="aoiMetacatQuery"> |
|
160 | 105 |
<buttonBar>mainButtonBar</buttonBar> |
161 |
<mouseHandler>mainMouseClick</mouseHandler> |
|
162 |
<class>RadioButton</class> |
|
163 |
<enabledSrc>/images/EditPointEnable.png</enabledSrc> |
|
164 |
<disabledSrc>/images/EditPointDisable.png</disabledSrc> |
|
165 |
<tooltip xml:lang="en">click on map to create a point feature</tooltip> |
|
166 |
<tooltip xml:lang="fr">click on map to create a point feature</tooltip> |
|
167 |
<targetModel>featureCollection</targetModel> |
|
168 |
<transactionResponseModel>transaction</transactionResponseModel> |
|
169 |
<webServiceUrl>../../../../wfs</webServiceUrl> |
|
170 |
<featureXpath>/gml:featureMember/topp:metacat_testdata/topp:the_geom/gml:Point/gml:coordinates</featureXpath> |
|
171 |
<featureXpath>/gml:featureMember/topp:metacat_testdata/topp:ID</featureXpath> |
|
172 |
<defaultModelUrl>template_metacat.xml</defaultModelUrl> |
|
173 |
<targetContext>mainMap</targetContext> |
|
174 |
</EditPoint> |
|
175 |
--> |
|
176 |
|
|
177 |
<!-- <GetFeatureInfo id="getFeatureInfo"> |
|
178 |
<buttonBar>mainButtonBar</buttonBar> |
|
179 |
<targetModel>mainMap</targetModel> |
|
180 |
<context>mainMap</context> |
|
181 |
<mouseHandler>mainAoi</mouseHandler> |
|
182 |
<class>RadioButton</class> |
|
183 |
<enabledSrc>/images/QueryEnable.png</enabledSrc> |
|
184 |
<disabledSrc>/images/QueryDisable.png</disabledSrc> |
|
185 |
<tooltip xml:lang="en">select single dataset</tooltip> |
|
186 |
</GetFeatureInfo> --> |
|
187 |
|
|
188 |
<!--SetAoi id="setAoi"> |
|
189 |
<buttonBar>mainButtonBar</buttonBar> |
|
190 |
<targetModel>mainMap</targetModel> |
|
191 |
<mouseHandler>mainAoi</mouseHandler> |
|
192 |
<class>RadioButton</class> |
|
193 |
<enabledSrc>/images/SetAoiEnable.png</enabledSrc> |
|
194 |
<disabledSrc>/images/SetAoiDisable.png</disabledSrc> |
|
195 |
</SetAoi--> |
|
196 |
|
|
197 |
<AoiMetacatQuery id="aoiMetacatQuery"> |
|
198 |
<buttonBar>mainButtonBar</buttonBar> |
|
199 | 106 |
<targetModel>mainMap</targetModel> |
200 |
<mouseHandler>mainAoi</mouseHandler> |
|
201 | 107 |
<class>RadioButton</class> |
108 |
<mouseHandler>mainAoi</mouseHandler> |
|
202 | 109 |
<enabledSrc>/images/QueryEnable.png</enabledSrc> |
203 | 110 |
<disabledSrc>/images/QueryDisable.png</disabledSrc> |
204 | 111 |
<tooltip xml:lang="en">select multiple datasets</tooltip> |
205 | 112 |
<metacat>../../../../metacat</metacat> |
206 | 113 |
<skin>saeon</skin> |
207 | 114 |
<pixel_tolerance>5</pixel_tolerance> |
208 |
</AoiMetacatQuery> |
|
209 |
|
|
115 |
</AoiMetacatQuery>
|
|
116 |
|
|
210 | 117 |
</widgets> |
211 | 118 |
<skinDir>../../../../spatial/mapbuilder/lib/skin/default</skinDir> |
212 | 119 |
<!-- Url of LOCAL redirection script, required to access external URLs --> |
213 | 120 |
<proxyUrl>../../proxy.jsp</proxyUrl> |
214 |
<!-- |
|
215 |
<serializeUrl>../../../../spatial/mapbuilder/writeXml</serializeUrl> |
|
216 |
--> |
|
217 |
</MapbuilderConfig> |
|
218 |
|
|
121 |
</MapbuilderConfig> |
Also available in: Unified diff
Upgrade to MapBuilder 1.5rc2