1 |
4307
|
leinfelder
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2 |
|
|
<MapbuilderConfig version="0.2.1" id="simpleTemplate" 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">
|
3 |
|
|
<models>
|
4 |
|
|
<Context id="mainMap">
|
5 |
|
|
<defaultModelUrl>bejingWind.xml</defaultModelUrl>
|
6 |
|
|
<widgets>
|
7 |
|
|
<MapPaneOL id="mainMapWidget">
|
8 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
9 |
|
|
<fixedSize>true</fixedSize>
|
10 |
|
|
</MapPaneOL>
|
11 |
|
|
<MapScaleBar id="scalebar">
|
12 |
|
|
<!--all of these properties are optional-->
|
13 |
|
|
<!--displaySystem>english</displaySystem-->
|
14 |
|
|
<displaySystem>metric</displaySystem>
|
15 |
|
|
<minWidth>100</minWidth>
|
16 |
|
|
<maxWidth>200</maxWidth>
|
17 |
|
|
<divisions>4</divisions>
|
18 |
|
|
<subdivisions>2</subdivisions>
|
19 |
|
|
<showMinorMeasures>false</showMinorMeasures>
|
20 |
|
|
<abbreviateLabel>true</abbreviateLabel>
|
21 |
|
|
<singleLine>true</singleLine>
|
22 |
|
|
<align>left</align><!-- left, center, or right -->
|
23 |
|
|
</MapScaleBar>
|
24 |
|
|
<CursorTrack id="cursorTrack">
|
25 |
|
|
<showXY>false</showXY>
|
26 |
|
|
</CursorTrack>
|
27 |
|
|
<Legend id="legend">
|
28 |
|
|
<stylesheet>LegendOpaque.xsl</stylesheet>
|
29 |
|
|
</Legend>
|
30 |
|
|
<LegendGraphic id="legendGraphic"/>
|
31 |
|
|
<Abstract id="mapAbstract">
|
32 |
|
|
<htmlTagId>workspace</htmlTagId>
|
33 |
|
|
<outputNodeId>workspaceCanvas</outputNodeId>
|
34 |
|
|
<parseHTMLNodes>true</parseHTMLNodes>
|
35 |
|
|
</Abstract>
|
36 |
|
|
<MapTitle id="mapTitle">
|
37 |
|
|
<parseHTMLNodes>true</parseHTMLNodes>
|
38 |
|
|
</MapTitle>
|
39 |
|
|
<OverviewMap id="locatorWidget">
|
40 |
|
|
<htmlTagId>locatorMap</htmlTagId>
|
41 |
|
|
<width>180</width>
|
42 |
|
|
</OverviewMap>
|
43 |
|
|
</widgets>
|
44 |
|
|
<tools>
|
45 |
|
|
<History id="extentHistory"/>
|
46 |
|
|
<WebServiceRequest id="featureInfoController">
|
47 |
|
|
<targetModel>featureInfoResponse</targetModel>
|
48 |
|
|
<requestName>wms:GetFeatureInfo</requestName>
|
49 |
|
|
<!--infoFormat>text/html</infoFormat-->
|
50 |
|
|
<infoFormat>application/vnd.ogc.gml</infoFormat>
|
51 |
|
|
<featureCount>1</featureCount>
|
52 |
|
|
</WebServiceRequest>
|
53 |
|
|
</tools>
|
54 |
|
|
<nodeSelectXpath>/wmc:ViewContext/wmc:LayerList/wmc:Layer</nodeSelectXpath>
|
55 |
|
|
</Context>
|
56 |
|
|
<Model id="featureInfoResponse">
|
57 |
|
|
<widgets>
|
58 |
|
|
<FeatureInfo id="features">
|
59 |
|
|
<htmlTagId>workspace</htmlTagId>
|
60 |
|
|
<outputNodeId>workspaceCanvas</outputNodeId>
|
61 |
|
|
</FeatureInfo>
|
62 |
|
|
</widgets>
|
63 |
|
|
<namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace>
|
64 |
|
|
</Model>
|
65 |
|
|
</models>
|
66 |
|
|
<widgets>
|
67 |
|
|
<!--TabbedContent id="tabBar">
|
68 |
|
|
<tab>mapAbstract</tab>
|
69 |
|
|
<tab>features</tab>
|
70 |
|
|
</TabbedContent-->
|
71 |
|
|
<Back id="back">
|
72 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
73 |
|
|
<targetModel>mainMap</targetModel>
|
74 |
|
|
<class>Button</class>
|
75 |
|
|
<disabledSrc>/images/UndoDisable.png</disabledSrc>
|
76 |
|
|
</Back>
|
77 |
|
|
<Forward id="forward">
|
78 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
79 |
|
|
<targetModel>mainMap</targetModel>
|
80 |
|
|
<class>Button</class>
|
81 |
|
|
<disabledSrc>/images/RedoDisable.png</disabledSrc>
|
82 |
|
|
</Forward>
|
83 |
|
|
<ZoomIn id="zoomIn">
|
84 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
85 |
|
|
<targetModel>mainMap</targetModel>
|
86 |
|
|
<class>RadioButton</class>
|
87 |
|
|
<selected>true</selected>
|
88 |
|
|
<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
|
89 |
|
|
<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
|
90 |
|
|
</ZoomIn>
|
91 |
|
|
<ZoomOut id="zoomOut">
|
92 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
93 |
|
|
<targetModel>mainMap</targetModel>
|
94 |
|
|
<class>RadioButton</class>
|
95 |
|
|
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
|
96 |
|
|
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
|
97 |
|
|
</ZoomOut>
|
98 |
|
|
<DragPan id="dragPan">
|
99 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
100 |
|
|
<targetModel>mainMap</targetModel>
|
101 |
|
|
<class>RadioButton</class>
|
102 |
|
|
<enabledSrc>/images/PanEnable.png</enabledSrc>
|
103 |
|
|
<disabledSrc>/images/PanDisable.png</disabledSrc>
|
104 |
|
|
</DragPan>
|
105 |
|
|
<GetFeatureInfoWSR id="getFeatureInfo">
|
106 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
107 |
|
|
<targetModel>mainMap</targetModel>
|
108 |
|
|
<class>RadioButton</class>
|
109 |
|
|
<enabledSrc>/images/QueryEnable.png</enabledSrc>
|
110 |
|
|
<disabledSrc>/images/QueryDisable.png</disabledSrc>
|
111 |
|
|
<controller>featureInfoController</controller>
|
112 |
|
|
</GetFeatureInfoWSR>
|
113 |
|
|
<Reset id="reset">
|
114 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
115 |
|
|
<targetModel>mainMap</targetModel>
|
116 |
|
|
<class>Button</class>
|
117 |
|
|
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
|
118 |
|
|
</Reset>
|
119 |
|
|
<Graticule id="graticule">
|
120 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
121 |
|
|
<targetModel>mainMap</targetModel>
|
122 |
|
|
<class>Toggle</class>
|
123 |
|
|
<selected>true</selected>
|
124 |
|
|
<enabledSrc>/images/Graticule.png</enabledSrc>
|
125 |
|
|
<disabledSrc>/images/Graticule.png</disabledSrc>
|
126 |
|
|
<color>black</color>
|
127 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
128 |
|
|
</Graticule>
|
129 |
|
|
<ExampleList id="exampleList"><!-- this is the widget that draws the example menu -->
|
130 |
|
|
<scriptFile>../ExampleList.js</scriptFile>
|
131 |
|
|
<stylesheet>../ExampleList.xsl</stylesheet>
|
132 |
|
|
</ExampleList>
|
133 |
|
|
</widgets>
|
134 |
|
|
|
135 |
|
|
<skinDir>../../lib/skin/default</skinDir>
|
136 |
|
|
</MapbuilderConfig>
|