1 |
3032
|
perry
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2 |
|
|
<?xml-stylesheet type="text/xsl" href="register.xsl"?>
|
3 |
|
|
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Mike Adair (NRCAN CCRs) -->
|
4 |
|
|
<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 ../../lib/schemas/config.xsd">
|
5 |
|
|
<!--
|
6 |
|
|
Description: This configuration file determines what components from the
|
7 |
|
|
Mapbuilder library are to be included in a Main Mapbuilder web
|
8 |
|
|
page.
|
9 |
|
|
Licence: LGPL as per: http://www.gnu.org/copyleft/lesser.html
|
10 |
|
|
|
11 |
4307
|
leinfelder
|
$Id: config.xml 1744 2005-10-20 11:02:56Z camerons $
|
12 |
3032
|
perry
|
-->
|
13 |
|
|
<!--
|
14 |
|
|
All static images should be relative to this URL.
|
15 |
|
|
This dir is relative the dir of the main html file.
|
16 |
|
|
-->
|
17 |
|
|
<models>
|
18 |
|
|
<Context id="mainMap">
|
19 |
|
|
<defaultModelUrl>context/atlasWorld.xml</defaultModelUrl>
|
20 |
|
|
<widgets>
|
21 |
|
|
<MapPane id="mainMapWidget">
|
22 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
23 |
|
|
<tools>
|
24 |
|
|
<AoiMouseHandler/>
|
25 |
|
|
<!--
|
26 |
|
|
<AoiBox>
|
27 |
|
|
<lineColor>#FF0000</lineColor>
|
28 |
|
|
<lineWidth>2</lineWidth>
|
29 |
|
|
<crossSize>1</crossSize>
|
30 |
|
|
</AoiBox>
|
31 |
|
|
-->
|
32 |
|
|
<DragPanHandler>
|
33 |
|
|
<enabled>false</enabled>
|
34 |
|
|
</DragPanHandler>
|
35 |
|
|
<MouseClickHandler/>
|
36 |
|
|
</tools>
|
37 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
38 |
|
|
</MapPane>
|
39 |
|
|
<AoiBox2 id="aoiBox2">
|
40 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
41 |
|
|
<stylesheet>../../lib/widget/GmlRenderer.xsl</stylesheet>
|
42 |
|
|
<lineColor>#00FF00</lineColor>
|
43 |
|
|
<lineWidth>1</lineWidth>
|
44 |
|
|
<crossSize>15</crossSize>
|
45 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
46 |
|
|
</AoiBox2>
|
47 |
|
|
<CursorTrack id="cursorTrack">
|
48 |
|
|
<mouseHandler>mainMap.mainMapWidget</mouseHandler>
|
49 |
|
|
</CursorTrack>
|
50 |
|
|
<Legend id="legend">
|
51 |
|
|
</Legend>
|
52 |
|
|
<Widget id="abstract">
|
53 |
|
|
<stylesheet>../../lib/widget/Abstract.xsl</stylesheet>
|
54 |
|
|
</Widget>
|
55 |
|
|
<Widget id="mapTitle">
|
56 |
|
|
<stylesheet>../../lib/widget/MapTitle.xsl</stylesheet>
|
57 |
|
|
</Widget>
|
58 |
|
|
<AoiForm id="aoiForm">
|
59 |
|
|
</AoiForm>
|
60 |
|
|
<MapScaleText id="mapScaleText">
|
61 |
|
|
</MapScaleText>
|
62 |
|
|
<SaveModel id="saveModel">
|
63 |
|
|
<htmlTagId>saveModel</htmlTagId>
|
64 |
|
|
<serializeUrl>/mapbuilder/writeXml</serializeUrl>
|
65 |
|
|
</SaveModel>
|
66 |
|
|
<WmsCapabilitiesImport id="wmsCapabilitiesImport">
|
67 |
|
|
</WmsCapabilitiesImport>
|
68 |
|
|
<!--SearchForm id="searchForm">
|
69 |
|
|
</SearchForm-->
|
70 |
|
|
</widgets>
|
71 |
|
|
</Context>
|
72 |
|
|
<Context id="locator">
|
73 |
|
|
<defaultModelUrl>context/locatorMap.xml</defaultModelUrl>
|
74 |
|
|
<widgets>
|
75 |
|
|
<MapPane id="locatorWidget">
|
76 |
|
|
<htmlTagId>locatorMap</htmlTagId>
|
77 |
|
|
<targetModel>mainMap</targetModel>
|
78 |
|
|
<tools>
|
79 |
|
|
<AoiBox>
|
80 |
|
|
<lineColor>red</lineColor>
|
81 |
|
|
<lineWidth>1</lineWidth>
|
82 |
|
|
<crossSize>15</crossSize>
|
83 |
|
|
</AoiBox>
|
84 |
|
|
<AoiMouseHandler/>
|
85 |
|
|
<ZoomToAoi>
|
86 |
|
|
</ZoomToAoi>
|
87 |
|
|
</tools>
|
88 |
|
|
<mapContainerId>locatorContainer</mapContainerId>
|
89 |
|
|
<fixedWidth>180</fixedWidth>
|
90 |
|
|
</MapPane>
|
91 |
|
|
<ModelUrlInput id="urlInput">
|
92 |
|
|
</ModelUrlInput>
|
93 |
|
|
</widgets>
|
94 |
|
|
</Context>
|
95 |
|
|
<ContextCollection id="collectionGroup">
|
96 |
|
|
<defaultModelUrl>context/demoCollection.xml</defaultModelUrl>
|
97 |
|
|
<widgets>
|
98 |
|
|
<CollectionList id="collectionList">
|
99 |
|
|
<targetModel>mainMap</targetModel>
|
100 |
|
|
</CollectionList>
|
101 |
|
|
</widgets>
|
102 |
|
|
</ContextCollection>
|
103 |
|
|
<Gml2 id="gml2">
|
104 |
|
|
<widgets>
|
105 |
|
|
<FeatureList id="featureList">
|
106 |
|
|
</FeatureList>
|
107 |
|
|
</widgets>
|
108 |
|
|
</Gml2>
|
109 |
|
|
<Model id="locations">
|
110 |
|
|
<defaultModelUrl>locations/Global.xml</defaultModelUrl>
|
111 |
|
|
<widgets>
|
112 |
|
|
<Locations id="locationsSelect">
|
113 |
|
|
<targetModel>mainMap</targetModel>
|
114 |
|
|
<tools>
|
115 |
|
|
<ZoomToAoi>
|
116 |
|
|
</ZoomToAoi>
|
117 |
|
|
</tools>
|
118 |
|
|
</Locations>
|
119 |
|
|
</widgets>
|
120 |
|
|
</Model>
|
121 |
|
|
<!--Model id="testGml">
|
122 |
|
|
<defaultModelUrl>gml/Test.xml</defaultModelUrl>
|
123 |
|
|
<widgets>
|
124 |
|
|
<GmlRenderer id="testGmlRenderer">
|
125 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
126 |
|
|
<targetModel>mainMap</targetModel>
|
127 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
128 |
|
|
<lineColor>#FF0000</lineColor>
|
129 |
|
|
<lineWidth>1</lineWidth>
|
130 |
|
|
<pointDiameter>10</pointDiameter>
|
131 |
|
|
</GmlRenderer>
|
132 |
|
|
</widgets>
|
133 |
|
|
</Model-->
|
134 |
|
|
<Gml2 id="ntsGml">
|
135 |
|
|
<!--defaultModelUrl>gml/NTSLookup.xml</defaultModelUrl-->
|
136 |
|
|
<widgets>
|
137 |
|
|
<GmlRenderer id="testGml2Renderer">
|
138 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
139 |
|
|
<targetModel>mainMap</targetModel>
|
140 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
141 |
|
|
<lineColor>#FF0000</lineColor>
|
142 |
|
|
<lineWidth>1</lineWidth>
|
143 |
|
|
<pointDiameter>10</pointDiameter>
|
144 |
|
|
</GmlRenderer>
|
145 |
|
|
</widgets>
|
146 |
|
|
</Gml2>
|
147 |
|
|
<Logger id="eventLogDoc">
|
148 |
|
|
<serializeUrl>/mapbuilder/writeXml</serializeUrl>
|
149 |
|
|
<widgets>
|
150 |
|
|
<Widget id="eventLog">
|
151 |
|
|
<stylesheet>../../lib/widget/EventLog.xsl</stylesheet>
|
152 |
|
|
</Widget>
|
153 |
|
|
</widgets>
|
154 |
|
|
</Logger>
|
155 |
|
|
</models>
|
156 |
|
|
<widgets>
|
157 |
|
|
<ButtonBar id="buttonBar">
|
158 |
|
|
<targetModel>mainMap</targetModel>
|
159 |
|
|
<tools>
|
160 |
|
|
<ZoomIn id="zoomIn">
|
161 |
|
|
<mouseHandler>mainMap.mainMapWidget</mouseHandler>
|
162 |
|
|
<dependsOn>mainMap.mainMapWidget.AoiMouseHandler</dependsOn>
|
163 |
|
|
<class>RadioButton</class>
|
164 |
|
|
<selected>true</selected>
|
165 |
|
|
<enabledSrc>/images/ZoomInEnable.gif</enabledSrc>
|
166 |
|
|
<disabledSrc>/images/ZoomInDisable.gif</disabledSrc>
|
167 |
|
|
<tooltip xml:lang="en">click and drag to zoom in</tooltip>
|
168 |
|
|
<tooltip xml:lang="fr">cliquer et faire glisser la souris pour agrandir</tooltip>
|
169 |
|
|
</ZoomIn>
|
170 |
|
|
<ZoomOut id="zoomOut">
|
171 |
|
|
<mouseHandler>mainMap.mainMapWidget</mouseHandler>
|
172 |
|
|
<dependsOn>mainMap.mainMapWidget.AoiMouseHandler</dependsOn>
|
173 |
|
|
<class>RadioButton</class>
|
174 |
|
|
<enabledSrc>/images/ZoomOutEnable.gif</enabledSrc>
|
175 |
|
|
<disabledSrc>/images/ZoomOutDisable.gif</disabledSrc>
|
176 |
|
|
<tooltip xml:lang="en">click to zoom out</tooltip>
|
177 |
|
|
<tooltip xml:lang="fr">cliquer pour réire</tooltip>
|
178 |
|
|
</ZoomOut>
|
179 |
|
|
<DragPan id="dragPan">
|
180 |
|
|
<mouseHandler>mainMap.mainMapWidget</mouseHandler>
|
181 |
|
|
<dependsOn>mainMap.mainMapWidget.DragPanHandler</dependsOn>
|
182 |
|
|
<class>RadioButton</class>
|
183 |
|
|
<enabledSrc>/images/PanEnable.gif</enabledSrc>
|
184 |
|
|
<disabledSrc>/images/PanDisable.gif</disabledSrc>
|
185 |
|
|
<tooltip xml:lang="en">click and drag to pan</tooltip>
|
186 |
|
|
<tooltip xml:lang="fr">cliquer et faire glisser la souris pour voir un autre parti de la carte</tooltip>
|
187 |
|
|
</DragPan>
|
188 |
|
|
<SetAoi id="setAoi">
|
189 |
|
|
<mouseHandler>mainMap.mainMapWidget</mouseHandler>
|
190 |
|
|
<dependsOn>mainMap.mainMapWidget.AoiMouseHandler</dependsOn>
|
191 |
|
|
<class>RadioButton</class>
|
192 |
|
|
<enabledSrc>/images/SetAoiEnable.gif</enabledSrc>
|
193 |
|
|
<disabledSrc>/images/SetAoiDisable.gif</disabledSrc>
|
194 |
|
|
<tooltip xml:lang="en">click and drag to set the area of interest</tooltip>
|
195 |
|
|
<tooltip xml:lang="fr">cliquer et faire glisser la souris pour positionner une réon d'intét</tooltip>
|
196 |
|
|
</SetAoi>
|
197 |
|
|
<Reset id="reset">
|
198 |
|
|
<class>Button</class>
|
199 |
|
|
<disabledSrc>/images/ResetExtentDisable.gif</disabledSrc>
|
200 |
|
|
<tooltip xml:lang="en">reset the map to full extent</tooltip>
|
201 |
|
|
<tooltip xml:lang="fr">redonner à la carte ses dimensions complès</tooltip>
|
202 |
|
|
</Reset>
|
203 |
|
|
<GetFeatureInfo id="getFeatureInfo">
|
204 |
|
|
<mouseHandler>mainMap.mainMapWidget</mouseHandler>
|
205 |
|
|
<dependsOn>mainMap.mainMapWidget.MouseClickHandler</dependsOn>
|
206 |
|
|
<class>RadioButton</class>
|
207 |
|
|
<enabledSrc>/images/QueryEnable.gif</enabledSrc>
|
208 |
|
|
<disabledSrc>/images/QueryDisable.gif</disabledSrc>
|
209 |
|
|
<tooltip xml:lang="en">click on feature for more info</tooltip>
|
210 |
|
|
<tooltip xml:lang="fr">cliquer pour obtenir plus d'information pour cette couche</tooltip>
|
211 |
|
|
<targetFeatureCollection>gml2</targetFeatureCollection>
|
212 |
|
|
</GetFeatureInfo>
|
213 |
|
|
</tools>
|
214 |
|
|
</ButtonBar>
|
215 |
|
|
<WebServiceForm id="ntsLookupForm">
|
216 |
|
|
<targetModel>ntsGml</targetModel>
|
217 |
|
|
<stylesheet>../../lib/widget/NtsForm.xsl</stylesheet>
|
218 |
|
|
<webServiceUrl>http://geoservices.cgdi.ca/NTS/NTSLookup</webServiceUrl>
|
219 |
|
|
</WebServiceForm>
|
220 |
|
|
</widgets>
|
221 |
|
|
<skinDir>../../lib/skin/default</skinDir>
|
222 |
|
|
<!-- Url of LOCAL redirection script, required to access external URLs -->
|
223 |
|
|
<!--proxyUrl>../../server/proxy/proxy.php?url=</proxyUrl-->
|
224 |
|
|
<!--proxyUrl>/mapbuilder/proxy?url=</proxyUrl-->
|
225 |
|
|
</MapbuilderConfig>
|