1 |
4307
|
leinfelder
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2 |
|
|
<MapbuilderConfig version="0.2.1" id="DemisMapExample" 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 |
|
|
|
5 |
|
|
<OwsContext id="mainMap">
|
6 |
|
|
<defaultModelUrl>DemisWorldMap.xml</defaultModelUrl>
|
7 |
|
|
|
8 |
|
|
<widgets>
|
9 |
|
|
<MapPaneOL id="mainMapWidget">
|
10 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
11 |
|
|
<fixedSize>true</fixedSize>
|
12 |
|
|
</MapPaneOL>
|
13 |
|
|
|
14 |
|
|
<MapScaleText id="mapScaleText"/>
|
15 |
|
|
<!--
|
16 |
|
|
<MapScaleBar id="mapScaleBar"/>
|
17 |
|
|
-->
|
18 |
|
|
<AoiForm id="aoiForm">
|
19 |
|
|
<stylesheet>AoiForm.xsl</stylesheet>
|
20 |
|
|
</AoiForm>
|
21 |
|
|
|
22 |
|
|
<CursorTrack id="cursorTrack"/>
|
23 |
|
|
|
24 |
|
|
<ModelUrlInput id="urlInput"/>
|
25 |
|
|
|
26 |
|
|
<WebServiceForm id="webServiceForm">
|
27 |
|
|
<htmlTagId>webServiceForm</htmlTagId>
|
28 |
|
|
<targetModel>gml2FeatureTemplate</targetModel>
|
29 |
|
|
<stylesheet>../../lib/widget/Null.xsl</stylesheet>
|
30 |
|
|
<requestStylesheet>wfs_GetFeature.xsl</requestStylesheet>
|
31 |
|
|
<webServiceUrl>http://eo1.geobliki.com/wfs</webServiceUrl>
|
32 |
|
|
</WebServiceForm>
|
33 |
|
|
|
34 |
|
|
</widgets>
|
35 |
|
|
|
36 |
|
|
<tools>
|
37 |
|
|
<History id="extentHistory"/>
|
38 |
|
|
</tools>
|
39 |
|
|
</OwsContext>
|
40 |
|
|
|
41 |
|
|
<StyledLayerDescriptor id="sld">
|
42 |
|
|
<defaultModelUrl>../data/features.sld</defaultModelUrl>
|
43 |
|
|
</StyledLayerDescriptor>
|
44 |
|
|
|
45 |
|
|
<FeatureCollection id="gml2FeatureTemplate">
|
46 |
|
|
<method>post</method>
|
47 |
|
|
|
48 |
|
|
<widgets>
|
49 |
|
|
<GmlRendererOL id="testGmlRenderer">
|
50 |
|
|
<targetModel>mainMap</targetModel>
|
51 |
|
|
<sldModel>sld</sldModel>
|
52 |
|
|
<defaultStyleName>default</defaultStyleName>
|
53 |
|
|
<selectStyleName>selected</selectStyleName>
|
54 |
|
|
<stylesheet>geobliki2wfs.xsl</stylesheet>
|
55 |
|
|
<featureOnClick>featurePopup</featureOnClick>
|
56 |
|
|
</GmlRendererOL>
|
57 |
|
|
<TipWidgetOL id="featurePopup">
|
58 |
|
|
<stylesheet>datapopup.xsl</stylesheet>
|
59 |
|
|
<width>275</width>
|
60 |
|
|
<height>137</height>
|
61 |
|
|
<opacity>0.8</opacity>
|
62 |
|
|
<backgroundColor>#D0D0D0</backgroundColor>
|
63 |
|
|
<border>1px solid black</border>
|
64 |
|
|
</TipWidgetOL>
|
65 |
|
|
<Legend id="wfsLegend">
|
66 |
|
|
<htmlTagId>legend</htmlTagId>
|
67 |
|
|
</Legend>
|
68 |
|
|
</widgets>
|
69 |
|
|
<tools>
|
70 |
|
|
<FeatureSelectHandler id="featureHighlighter">
|
71 |
|
|
<targetModel>mainMap</targetModel>
|
72 |
|
|
</FeatureSelectHandler>
|
73 |
|
|
</tools>
|
74 |
|
|
<namespace>xmlns:gml="http://www.opengis.net/gml" xmlns:eo1="http://eo1.gsfc.nasa.gov/" xmlns:wfs="http://www.opengis.net/wfs"</namespace>
|
75 |
|
|
<nodeSelectXpath>//gml:featureMember</nodeSelectXpath>
|
76 |
|
|
<featureTagName>eo1:name</featureTagName>
|
77 |
|
|
<coordsTagName>eo1:location</coordsTagName>
|
78 |
|
|
<coordSelectXpath>//eo1:location/gml:Point/gml:pos</coordSelectXpath>
|
79 |
|
|
</FeatureCollection>
|
80 |
|
|
|
81 |
|
|
</models>
|
82 |
|
|
|
83 |
|
|
<widgets>
|
84 |
|
|
<Back id="back">
|
85 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
86 |
|
|
<targetModel>mainMap</targetModel>
|
87 |
|
|
<class>Button</class>
|
88 |
|
|
<disabledSrc>/images/UndoDisable.png</disabledSrc>
|
89 |
|
|
</Back>
|
90 |
|
|
<Forward id="forward">
|
91 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
92 |
|
|
<targetModel>mainMap</targetModel>
|
93 |
|
|
<class>Button</class>
|
94 |
|
|
<disabledSrc>/images/RedoDisable.png</disabledSrc>
|
95 |
|
|
</Forward>
|
96 |
|
|
<ZoomIn id="zoomIn">
|
97 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
98 |
|
|
<targetModel>mainMap</targetModel>
|
99 |
|
|
<class>RadioButton</class>
|
100 |
|
|
<selected>true</selected>
|
101 |
|
|
<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
|
102 |
|
|
<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
|
103 |
|
|
</ZoomIn>
|
104 |
|
|
<ZoomOut id="zoomOut">
|
105 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
106 |
|
|
<targetModel>mainMap</targetModel>
|
107 |
|
|
<class>RadioButton</class>
|
108 |
|
|
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
|
109 |
|
|
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
|
110 |
|
|
</ZoomOut>
|
111 |
|
|
<DragPan id="dragPan">
|
112 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
113 |
|
|
<targetModel>mainMap</targetModel>
|
114 |
|
|
<class>RadioButton</class>
|
115 |
|
|
<enabledSrc>/images/PanEnable.png</enabledSrc>
|
116 |
|
|
<disabledSrc>/images/PanDisable.png</disabledSrc>
|
117 |
|
|
</DragPan>
|
118 |
|
|
<SetAoi id="setAoi">
|
119 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
120 |
|
|
<targetModel>mainMap</targetModel>
|
121 |
|
|
<class>RadioButton</class>
|
122 |
|
|
<enabledSrc>/images/SetAoiEnable.png</enabledSrc>
|
123 |
|
|
<disabledSrc>/images/SetAoiDisable.png</disabledSrc>
|
124 |
|
|
</SetAoi>
|
125 |
|
|
<Reset id="reset">
|
126 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
127 |
|
|
<targetModel>mainMap</targetModel>
|
128 |
|
|
<class>Button</class>
|
129 |
|
|
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
|
130 |
|
|
</Reset>
|
131 |
|
|
<Save id="save">
|
132 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
133 |
|
|
<targetModel>mainMap</targetModel>
|
134 |
|
|
<class>Button</class>
|
135 |
|
|
<disabledSrc>/images/SaveDisable.png</disabledSrc>
|
136 |
|
|
<popupWindowName>modelXML</popupWindowName>
|
137 |
|
|
</Save>
|
138 |
|
|
<ExampleList id="exampleList"><!-- this is the widget that draws the example menu -->
|
139 |
|
|
<scriptFile>../ExampleList.js</scriptFile>
|
140 |
|
|
<stylesheet>../ExampleList.xsl</stylesheet>
|
141 |
|
|
</ExampleList>
|
142 |
|
|
</widgets>
|
143 |
|
|
<skinDir>../../lib/skin/default</skinDir>
|
144 |
|
|
</MapbuilderConfig>
|