1
|
<?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>../data/context/cded.xml</defaultModelUrl>
|
6
|
<widgets>
|
7
|
<MapPaneOL id="mainMapWidget">
|
8
|
<htmlTagId>mainMapPane</htmlTagId>
|
9
|
<fixedSize>true</fixedSize>
|
10
|
</MapPaneOL>
|
11
|
<CursorTrack id="cursorTrack">
|
12
|
<showPx>true</showPx>
|
13
|
<showXY>true</showXY>
|
14
|
<showLatLong>true</showLatLong>
|
15
|
<showDMS>false</showDMS>
|
16
|
<showMGRS>false</showMGRS>
|
17
|
<precision>2</precision>
|
18
|
<stylesheet>./CursorTrack.xsl</stylesheet>
|
19
|
</CursorTrack>
|
20
|
<MapScaleText id="scaleText"/>
|
21
|
<!--Loading2 id="loading2">
|
22
|
<mapContainerId>mainMapContainer</mapContainerId>
|
23
|
</Loading2-->
|
24
|
</widgets>
|
25
|
<tools>
|
26
|
<History id="extentHistory"/>
|
27
|
</tools>
|
28
|
</Context>
|
29
|
<Model id="proj4jsMapExamples">
|
30
|
<defaultModelUrl>Proj4jsMapExamples.xml</defaultModelUrl>
|
31
|
<widgets>
|
32
|
<CollectionList id="maps">
|
33
|
<targetModel>mainMap</targetModel>
|
34
|
<preserveExtent>false</preserveExtent>
|
35
|
</CollectionList>
|
36
|
</widgets>
|
37
|
</Model>
|
38
|
<FeatureCollection id="gml2FeatureTemplate">
|
39
|
<widgets>
|
40
|
<GmlRendererOL id="vectorGraphicsRenderer">
|
41
|
<targetModel>mainMap</targetModel>
|
42
|
<featureSRS>EPSG:4326</featureSRS>
|
43
|
<sldModel>sld</sldModel>
|
44
|
<defaultStyleName>Normal</defaultStyleName>
|
45
|
<selectStyleName>Highlite</selectStyleName>
|
46
|
<featureOnClick>featurePopup</featureOnClick>
|
47
|
</GmlRendererOL>
|
48
|
<TipWidgetOL id="featurePopup">
|
49
|
<width>275</width>
|
50
|
<height>137</height>
|
51
|
<opacity>0.8</opacity>
|
52
|
<backgroundColor>#D0D0D0</backgroundColor>
|
53
|
<border>1px solid black</border>
|
54
|
</TipWidgetOL>
|
55
|
<!--Legend id="wfsLegend">
|
56
|
<htmlTagId>legend</htmlTagId>
|
57
|
</Legend-->
|
58
|
</widgets>
|
59
|
<tools>
|
60
|
<FeatureSelectHandler id="featureHighlighter">
|
61
|
<targetModel>mainMap</targetModel>
|
62
|
</FeatureSelectHandler>
|
63
|
</tools>
|
64
|
<namespace>xmlns:gml="http://www.opengis.net/gml" xmlns:eo1="http://eo1.gsfc.nasa.gov/" xmlns:wfs="http://www.opengis.net/wfs"</namespace>
|
65
|
<nodeSelectXpath>//gml:featureMember</nodeSelectXpath>
|
66
|
<featureTagName>eo1:name</featureTagName>
|
67
|
<coordsTagName>eo1:location</coordsTagName>
|
68
|
<coordSelectXpath>//eo1:location/gml:Point/gml:pos</coordSelectXpath>
|
69
|
</FeatureCollection>
|
70
|
|
71
|
</models>
|
72
|
<widgets>
|
73
|
<Back id="back">
|
74
|
<buttonBar>mainButtonBar</buttonBar>
|
75
|
<targetModel>mainMap</targetModel>
|
76
|
<class>Button</class>
|
77
|
<disabledSrc>/images/UndoDisable.png</disabledSrc>
|
78
|
</Back>
|
79
|
<Forward id="forward">
|
80
|
<buttonBar>mainButtonBar</buttonBar>
|
81
|
<targetModel>mainMap</targetModel>
|
82
|
<class>Button</class>
|
83
|
<disabledSrc>/images/RedoDisable.png</disabledSrc>
|
84
|
</Forward>
|
85
|
<ZoomIn id="zoomIn">
|
86
|
<buttonBar>mainButtonBar</buttonBar>
|
87
|
<targetModel>mainMap</targetModel>
|
88
|
<class>RadioButton</class>
|
89
|
<selected>true</selected>
|
90
|
<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
|
91
|
<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
|
92
|
</ZoomIn>
|
93
|
<ZoomOut id="zoomOut">
|
94
|
<buttonBar>mainButtonBar</buttonBar>
|
95
|
<targetModel>mainMap</targetModel>
|
96
|
<class>RadioButton</class>
|
97
|
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
|
98
|
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
|
99
|
</ZoomOut>
|
100
|
<DragPan id="dragPan">
|
101
|
<buttonBar>mainButtonBar</buttonBar>
|
102
|
<targetModel>mainMap</targetModel>
|
103
|
<class>RadioButton</class>
|
104
|
<enabledSrc>/images/PanEnable.png</enabledSrc>
|
105
|
<disabledSrc>/images/PanDisable.png</disabledSrc>
|
106
|
</DragPan>
|
107
|
<Reset id="reset">
|
108
|
<buttonBar>mainButtonBar</buttonBar>
|
109
|
<targetModel>mainMap</targetModel>
|
110
|
<class>Button</class>
|
111
|
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
|
112
|
</Reset>
|
113
|
<ExampleList id="exampleList"><!-- this is the widget that draws the example menu -->
|
114
|
<scriptFile>../ExampleList.js</scriptFile>
|
115
|
<stylesheet>../ExampleList.xsl</stylesheet>
|
116
|
</ExampleList>
|
117
|
</widgets>
|
118
|
<skinDir>../../lib/skin/default</skinDir>
|
119
|
</MapbuilderConfig>
|