1 |
3032
|
perry
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2 |
|
|
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Mike Adair (NRCAN CCRs) -->
|
3 |
|
|
<MapbuilderConfig version="0.2.1" id="owsContextConfig" 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">
|
4 |
|
|
<!--
|
5 |
|
|
Description: This configuration file determines what components from the
|
6 |
|
|
Mapbuilder library are to be included in a Main Mapbuilder web
|
7 |
|
|
page.
|
8 |
|
|
Licence: LGPL as per: http://www.gnu.org/copyleft/lesser.html
|
9 |
|
|
|
10 |
|
|
$Id$
|
11 |
|
|
-->
|
12 |
|
|
<!--
|
13 |
|
|
All static images should be relative to this URL.
|
14 |
|
|
This dir is relative the dir of the main html file.
|
15 |
|
|
-->
|
16 |
|
|
<models>
|
17 |
|
|
<!--Logger id="eventLogDoc">
|
18 |
|
|
<widgets>
|
19 |
|
|
<Widget id="eventLog">
|
20 |
|
|
<stylesheet>../../lib/widget/EventLog.xsl</stylesheet>
|
21 |
|
|
</Widget>
|
22 |
|
|
</widgets>
|
23 |
|
|
</Logger-->
|
24 |
|
|
<OwsContext id="mainMap">
|
25 |
|
|
<defaultModelUrl>oc_0_0_13r1.xml</defaultModelUrl>
|
26 |
|
|
<models>
|
27 |
|
|
<FeatureCollection id="gml2FeatureTemplate">
|
28 |
|
|
<method>get</method>
|
29 |
|
|
<widgets>
|
30 |
|
|
<!--ModelStatus id="gmlModelStatus"/-->
|
31 |
|
|
<GmlRendererWZ id="testGmlRenderer">
|
32 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
33 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
34 |
|
|
<lineColor>#0000FF</lineColor>
|
35 |
|
|
<lineWidth>2</lineWidth>
|
36 |
|
|
<pointDiameter>10</pointDiameter>
|
37 |
|
|
</GmlRendererWZ>
|
38 |
|
|
<Legend id="wfsLegend">
|
39 |
|
|
<htmlTagId>legend</htmlTagId>
|
40 |
|
|
</Legend>
|
41 |
|
|
</widgets>
|
42 |
|
|
</FeatureCollection>
|
43 |
|
|
</models>
|
44 |
|
|
<widgets>
|
45 |
|
|
<MapPane id="mainMapWidget">
|
46 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
47 |
|
|
<stylesheet>../../lib/widget/owsMapPane.xsl</stylesheet>
|
48 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
49 |
|
|
<!--fixedWidth>300</fixedWidth-->
|
50 |
|
|
</MapPane>
|
51 |
|
|
<Loading id="loading"></Loading>
|
52 |
|
|
<AoiBoxDHTML id="aoiBoxMain">
|
53 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
54 |
|
|
<stylesheet>../../lib/widget/GmlRenderer.xsl</stylesheet>
|
55 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
56 |
|
|
<lineColor>#FF0000</lineColor>
|
57 |
|
|
<lineWidth>1</lineWidth>
|
58 |
|
|
<crossSize>15</crossSize>
|
59 |
|
|
</AoiBoxDHTML>
|
60 |
|
|
<CursorTrack id="cursorTrack">
|
61 |
|
|
<mouseHandler>mainMap</mouseHandler>
|
62 |
|
|
</CursorTrack>
|
63 |
|
|
<MapScaleText id="mapScaleText"/>
|
64 |
|
|
<Legend id="contextLegend">
|
65 |
|
|
<htmlTagId>legend</htmlTagId>
|
66 |
|
|
</Legend>
|
67 |
|
|
<Widget id="abstract">
|
68 |
|
|
<stylesheet>../../lib/widget/Abstract.xsl</stylesheet>
|
69 |
|
|
</Widget>
|
70 |
|
|
<Widget id="mapTitle">
|
71 |
|
|
<stylesheet>../../lib/widget/MapTitle.xsl</stylesheet>
|
72 |
|
|
</Widget>
|
73 |
|
|
</widgets>
|
74 |
|
|
<tools>
|
75 |
|
|
<AoiMouseHandler id="mainAoi"/>
|
76 |
|
|
<DragPanHandler id="mainDragPan">
|
77 |
|
|
<enabled>false</enabled>
|
78 |
|
|
</DragPanHandler>
|
79 |
|
|
<WebServiceRequest id="wfsController">
|
80 |
|
|
<targetModel>gml2FeatureTemplate</targetModel>
|
81 |
|
|
<requestName>wfs:GetFeature</requestName>
|
82 |
|
|
</WebServiceRequest>
|
83 |
|
|
</tools>
|
84 |
|
|
<nodeSelectXpath>/wmc:OWSContext/wmc:ResourceList</nodeSelectXpath>
|
85 |
|
|
</OwsContext>
|
86 |
|
|
<Context id="locatorMap">
|
87 |
|
|
<defaultModelUrl>../data/context/locatorMap.xml</defaultModelUrl>
|
88 |
|
|
<widgets>
|
89 |
|
|
<MapPane id="locatorMapWidget">
|
90 |
|
|
<htmlTagId>locatorMap</htmlTagId>
|
91 |
|
|
<mapContainerId>locatorContainer</mapContainerId>
|
92 |
|
|
<fixedWidth>180</fixedWidth>
|
93 |
|
|
</MapPane>
|
94 |
|
|
<AoiBoxWZ id="aoiBoxLocator">
|
95 |
|
|
<htmlTagId>locatorMap</htmlTagId>
|
96 |
|
|
<stylesheet>../../lib/widget/GmlRenderer.xsl</stylesheet>
|
97 |
|
|
<mapContainerId>locatorContainer</mapContainerId>
|
98 |
|
|
<lineColor>#FF0000</lineColor>
|
99 |
|
|
<lineWidth>1</lineWidth>
|
100 |
|
|
<crossSize>15</crossSize>
|
101 |
|
|
</AoiBoxWZ>
|
102 |
|
|
</widgets>
|
103 |
|
|
<tools>
|
104 |
|
|
<AoiMouseHandler id="locatorAoi"/>
|
105 |
|
|
<ZoomToAoi id="locatorZoomToAoi">
|
106 |
|
|
<targetModel>mainMap</targetModel>
|
107 |
|
|
</ZoomToAoi>
|
108 |
|
|
</tools>
|
109 |
|
|
</Context>
|
110 |
|
|
</models>
|
111 |
|
|
<widgets>
|
112 |
|
|
<ZoomIn id="zoomIn">
|
113 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
114 |
|
|
<targetModel>mainMap</targetModel>
|
115 |
|
|
<mouseHandler>mainAoi</mouseHandler>
|
116 |
|
|
<class>RadioButton</class>
|
117 |
|
|
<selected>true</selected>
|
118 |
|
|
<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
|
119 |
|
|
<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
|
120 |
|
|
</ZoomIn>
|
121 |
|
|
<ZoomOut id="zoomOut">
|
122 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
123 |
|
|
<targetModel>mainMap</targetModel>
|
124 |
|
|
<mouseHandler>mainAoi</mouseHandler>
|
125 |
|
|
<class>RadioButton</class>
|
126 |
|
|
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
|
127 |
|
|
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
|
128 |
|
|
</ZoomOut>
|
129 |
|
|
<DragPan id="dragPan">
|
130 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
131 |
|
|
<targetModel>mainMap</targetModel>
|
132 |
|
|
<mouseHandler>mainDragPan</mouseHandler>
|
133 |
|
|
<class>RadioButton</class>
|
134 |
|
|
<enabledSrc>/images/PanEnable.png</enabledSrc>
|
135 |
|
|
<disabledSrc>/images/PanDisable.png</disabledSrc>
|
136 |
|
|
</DragPan>
|
137 |
|
|
<SetAoi id="setAoi">
|
138 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
139 |
|
|
<targetModel>mainMap</targetModel>
|
140 |
|
|
<mouseHandler>mainAoi</mouseHandler>
|
141 |
|
|
<class>RadioButton</class>
|
142 |
|
|
<enabledSrc>/images/SetAoiEnable.png</enabledSrc>
|
143 |
|
|
<disabledSrc>/images/SetAoiDisable.png</disabledSrc>
|
144 |
|
|
</SetAoi>
|
145 |
|
|
<Reset id="reset">
|
146 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
147 |
|
|
<targetModel>mainMap</targetModel>
|
148 |
|
|
<class>Button</class>
|
149 |
|
|
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
|
150 |
|
|
</Reset>
|
151 |
|
|
<Save id="save">
|
152 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
153 |
|
|
<targetModel>mainMap</targetModel>
|
154 |
|
|
<class>Button</class>
|
155 |
|
|
<disabledSrc>/images/SaveDisable.png</disabledSrc>
|
156 |
|
|
<popupWindowName>modelXML</popupWindowName>
|
157 |
|
|
</Save>
|
158 |
|
|
</widgets>
|
159 |
|
|
<skinDir>../../lib/skin/default</skinDir>
|
160 |
|
|
<widgetTextUrl>/widgetText.xml</widgetTextUrl>
|
161 |
|
|
<!-- relative to the skin dir -->
|
162 |
|
|
</MapbuilderConfig>
|