Project

General

Profile

1
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2
<MapbuilderConfig version="0.2.1" id="VMAP" xmlns="http://mapbuilder.sourceforge.net/mapbuilder" 
3
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
4
  xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../lib/schemas/config.xsd">
5
	<models>
6
		<OwsContext id="mainMap">
7
			<defaultModelUrl>data/DemisWorldMap.xml</defaultModelUrl>
8
			<widgets>
9
				<MapPaneOL id="mainMapWidget">
10
				  <htmlTagId>mainMapPane</htmlTagId>
11
			      <fixedSize>true</fixedSize>
12
				</MapPaneOL>
13
				<!--Loading id="loading"/-->
14
				<CursorTrack id="cursorTrack">
15
				  <showPx>true</showPx>
16
                  <showLatLong>true</showLatLong>
17
				  <showMGRS>false</showMGRS>
18
				</CursorTrack>
19
				<AoiForm id="aoiForm">
20
				  <stylesheet>stylesheets/AoiForm.xsl</stylesheet>
21
				</AoiForm>
22
        <Legend id="contextLegend">
23
          <htmlTagId>legend</htmlTagId>
24
          <stylesheet>stylesheets/Legend.xsl</stylesheet>
25
        </Legend>
26
			</widgets>
27
    </OwsContext>
28
    
29
    <Model id="collectionGroup">
30
      <defaultModelUrl>data/mapCollection.xml</defaultModelUrl>
31
      <widgets>
32
        <CollectionList id="collectionList">
33
          <targetModel>mainMap</targetModel>
34
          <stylesheet>stylesheets/CollectionList.xsl</stylesheet>
35
        </CollectionList>
36
      </widgets>
37
    </Model>
38
    
39
    <StyledLayerDescriptor id="sld">
40
      <defaultModelUrl>data/features.sld</defaultModelUrl>
41
    </StyledLayerDescriptor>
42

    
43
    <Model id="geoRSS">
44
      <defaultModelUrl>data/aisrdf2.xml</defaultModelUrl>
45
      <widgets>
46
        <TipWidgetOL id="featurePopup">
47
          <stylesheet>stylesheets/popup.xsl</stylesheet>
48
          <width>275</width>
49
          <height>137</height>
50
          <opacity>0.8</opacity>
51
          <backgroundColor>#D0D0D0</backgroundColor>
52
          <border>1px solid black</border>
53
        </TipWidgetOL>
54
        <GmlRendererOL id="testGmlRenderer">
55
          <targetModel>mainMap</targetModel>
56
          <stylesheet>stylesheets/georss2wfs.xsl</stylesheet>
57
          <sldModel>sld</sldModel>
58
          <hoverCursor>pointer</hoverCursor>
59
          <featureOnClick>featurePopup</featureOnClick>
60
          <featureOnHover>featurePopup</featureOnHover>
61
        </GmlRendererOL>
62
        <Widget id="eventsListing">
63
          <targetModel>mainMap</targetModel>
64
          <stylesheet>stylesheets/GeoRSSListing.xsl</stylesheet>
65
        </Widget>
66
      </widgets>
67
      <tools>
68
        <FeatureSelectHandler id="featureHighlighter">
69
          <targetModel>mainMap</targetModel>
70
        </FeatureSelectHandler>
71
      </tools>
72
      <namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace>
73
    </Model>		
74
	</models>
75
  
76
	<widgets>
77
		<ZoomIn id="zoomIn">
78
			<buttonBar>mainButtonBar</buttonBar>
79
			<targetModel>mainMap</targetModel>
80
			<class>RadioButton</class>
81
			<selected>true</selected>
82
			<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
83
			<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
84
		</ZoomIn>
85
		<ZoomOut id="zoomOut">
86
			<buttonBar>mainButtonBar</buttonBar>
87
			<targetModel>mainMap</targetModel>
88
			<class>RadioButton</class>
89
			<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
90
			<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
91
		</ZoomOut>
92
		<DragPan id="dragPan">
93
			<buttonBar>mainButtonBar</buttonBar>
94
			<targetModel>mainMap</targetModel>
95
			<class>RadioButton</class>
96
			<enabledSrc>/images/PanEnable.png</enabledSrc>
97
			<disabledSrc>/images/PanDisable.png</disabledSrc>
98
		</DragPan>
99
		<Reset id="reset">
100
			<buttonBar>mainButtonBar</buttonBar>
101
			<targetModel>mainMap</targetModel>
102
			<class>Button</class>
103
			<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
104
		</Reset>
105
    <ExampleList id="exampleList"><!-- this is the widget that draws the example menu -->
106
		<scriptFile>../ExampleList.js</scriptFile>
107
		<stylesheet>../ExampleList.xsl</stylesheet>
108
    </ExampleList>
109
	</widgets>
110
	<skinDir>../../lib/skin/default</skinDir>
111
</MapbuilderConfig>
(1-1/2)