Project

General

Profile

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>tsEstPrecip.xml</defaultModelUrl>
6
			<widgets>
7
				<MapPaneOL id="mainMapWidget">
8
					<htmlTagId>mainMapPane</htmlTagId>
9
					<fixedSize>true</fixedSize>					
10
					<imageBuffer>1</imageBuffer>					
11
				</MapPaneOL>
12
				<Timestamp id="timestamp">
13
			  </Timestamp>
14
				<Legend id="legend">
15
        </Legend>
16
				<Abstract id="abstract"/>
17
				<MapTitle id="mapTitle"/>
18
				<!--SelectTimeFrame id="timeRangeSelect">
19
       			 </SelectTimeFrame-->
20
				<CursorTrack id="cursorTrack">					
21
				</CursorTrack>
22
			</widgets>
23
			<tools>
24
				<MovieLoop id="movieLoop">
25
					<framesPerSecond>4</framesPerSecond>
26
					<maxFrames>15</maxFrames>
27
				</MovieLoop>
28
			</tools>
29
		</Context>
30
		<Model id="collection">
31
			<defaultModelUrl>timeSeriesCollection.xml</defaultModelUrl>
32
			<widgets>
33
				<CollectionList id="collectionList">
34
					<targetModel>mainMap</targetModel>
35
				</CollectionList>
36
			</widgets>
37
		</Model>
38
		<WmsCapabilities id="wmsCapTemplate">
39
			<!--defaultModelUrl>../data/test/tsNasaCaps.xml</defaultModelUrl-->
40
			<title>OGC Web Map Server (WMS)</title>
41
			<widgets>
42
				<SelectMapLayers id="layerList">
43
					<htmlTagId>workspace</htmlTagId>
44
					<outputNodeId>workspaceCanvas</outputNodeId>
45
				</SelectMapLayers>
46
        <Loading2 id="loading2">
47
					<htmlTagId>workspace</htmlTagId>
48
					<outputNodeId>workspaceCanvas</outputNodeId>
49
          <textMessage>This is a large file, please wait for it to load...</textMessage>
50
        </Loading2>
51
			</widgets>
52
			<tools>
53
				<Caps2Context id="convertCaps">
54
					<targetModel>mainMap</targetModel>
55
				</Caps2Context>
56
			</tools>
57
			<nodeSelectXpath>//Layer</nodeSelectXpath>
58
		</WmsCapabilities>
59
	</models>
60
	<widgets>
61
		<ModelUrlInput id="wmsCapsUrlInput">
62
			<targetModel>wmsCapTemplate</targetModel>
63
      <title>Or load another WMS Capabilities URL: </title>
64
		</ModelUrlInput>
65
		<Button id="play">
66
			<buttonBar>tsButtonBar</buttonBar>
67
			<targetModel>mainMap</targetModel>
68
			<class>RadioButton</class>
69
			<enabledSrc>/images/PlayEnable.png</enabledSrc>
70
			<disabledSrc>/images/PlayDisable.png</disabledSrc>
71
			<tooltip>play the movie</tooltip>
72
			<action>movieLoop.play()</action>
73
		</Button>
74
		<Button id="stepBack">
75
			<buttonBar>tsButtonBar</buttonBar>
76
			<targetModel>mainMap</targetModel>
77
			<class>Button</class>
78
			<disabledSrc>/images/StepBackwardDisable.png</disabledSrc>
79
			<tooltip>step back one frame</tooltip>
80
			<action>movieLoop.nextFrame(-1)</action>
81
		</Button>
82
		<Button id="pause">
83
			<buttonBar>tsButtonBar</buttonBar>
84
			<targetModel>mainMap</targetModel>
85
			<class>RadioButton</class>
86
			<enabledSrc>/images/PauseEnable.png</enabledSrc>
87
			<disabledSrc>/images/PauseDisable.png</disabledSrc>
88
			<tooltip>pause the movie</tooltip>
89
			<action>movieLoop.pause()</action>
90
		</Button>
91
		<Button id="stop">
92
			<buttonBar>tsButtonBar</buttonBar>
93
			<targetModel>mainMap</targetModel>
94
			<class>RadioButton</class>
95
			<enabledSrc>/images/StopEnable.png</enabledSrc>
96
			<disabledSrc>/images/StopDisable.png</disabledSrc>
97
			<tooltip>stop and rewind to beginning</tooltip>
98
			<action>movieLoop.stop()</action>
99
		</Button>
100
		<Button id="stepAhead">
101
			<buttonBar>tsButtonBar</buttonBar>
102
			<targetModel>mainMap</targetModel>
103
			<class>Button</class>
104
			<disabledSrc>/images/StepForwardDisable.png</disabledSrc>
105
			<tooltip>step ahead one frame</tooltip>
106
			<action>movieLoop.nextFrame(1)</action>
107
		</Button>
108
		<ZoomIn id="zoomIn">
109
			<buttonBar>mainButtonBar</buttonBar>
110
			<targetModel>mainMap</targetModel>
111
			<class>RadioButton</class>
112
			<selected>true</selected>
113
			<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
114
			<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
115
		</ZoomIn>
116
		<ZoomOut id="zoomOut">
117
			<buttonBar>mainButtonBar</buttonBar>
118
			<targetModel>mainMap</targetModel>
119
			<class>RadioButton</class>
120
			<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
121
			<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
122
		</ZoomOut>
123
		<Reset id="reset">
124
			<buttonBar>mainButtonBar</buttonBar>
125
			<targetModel>mainMap</targetModel>
126
			<class>Button</class>
127
			<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
128
		</Reset>
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
	<skinDir>../../lib/skin/default</skinDir>
135
</MapbuilderConfig>
(5-5/11)