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>cambridge.xml</defaultModelUrl>
6
			<widgets>
7
				<MapPane id="mainMapWidget">
8
					<htmlTagId>mainMapPane</htmlTagId>
9
					<mapContainerId>mainMapContainer</mapContainerId>
10
				</MapPane>
11
				<Loading id="loading">
12
        </Loading>
13
        <Loading2 id="loading2">
14
					<mapContainerId>mainMapContainer</mapContainerId>
15
        </Loading2>
16
				<AoiBoxDHTML id="aoiBox2">
17
					<htmlTagId>mainMapPane</htmlTagId>
18
					<stylesheet>../../lib/widget/Null.xsl</stylesheet>
19
					<mapContainerId>mainMapContainer</mapContainerId>
20
					<lineColor>#FF0000</lineColor>
21
					<lineWidth>1</lineWidth>
22
					<crossSize>15</crossSize>
23
				</AoiBoxDHTML>
24
			</widgets>
25
			<tools>
26
				<AoiMouseHandler id="mainAoi"/>
27
				<DragPanHandler id="mainDragPan">
28
					<enabled>false</enabled>
29
				</DragPanHandler>
30
			</tools>
31
		</Context>
32
		<GeoRSS id="geoRSS">
33
			<defaultModelUrl>http://crcp-blogger.mit.edu/geoblogger/rss.php</defaultModelUrl>
34
			<!--scriptFile>/geoRSS/GeoRSS.js</scriptFile-->
35
			<!-- defaultModelUrl>geoRSS.xml</defaultModelUrl -->
36

    
37
			<widgets>
38
				<Widget id="eventsListing">
39
					<targetModel>mainMap</targetModel>
40
					<stylesheet>GeoRSSListing.xsl</stylesheet>
41
				</Widget>
42
				<GmlPointRenderer id="pointRenderer">
43
					<htmlTagId>mainMapPane</htmlTagId>
44
					<mapContainerId>mainMapContainer</mapContainerId>
45
					<normalImage>/images/MarkerA.gif</normalImage>
46
					<highlightImage>/images/MarkerB.gif</highlightImage>
47
				</GmlPointRenderer>
48
			</widgets>
49
			<!--tools>
50
        <ZoomToAoi id="locationsZoomToAoi">
51
          <targetModel>mainMap</targetModel>
52
        </ZoomToAoi>
53
      </tools-->
54
			<namespace>xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:rss='http://purl.org/rss/1.0/' xmlns:taxo='http://purl.org/rss/1.0/modules/taxonomy/' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:syn='http://purl.org/rss/1.0/modules/syndication/' xmlns:geo='http://www.w3.org/2003/01/geo/wgs84_pos#'</namespace>
55
			<nodeSelectXpath>/rdf:RDF/rss:item</nodeSelectXpath>
56

    
57
		</GeoRSS>
58
	</models>
59
	<widgets>
60
		<ZoomIn id="zoomIn">
61
			<buttonBar>mainButtonBar</buttonBar>
62
			<targetModel>mainMap</targetModel>
63
			<mouseHandler>mainAoi</mouseHandler>
64
			<class>RadioButton</class>
65
			<selected>true</selected>
66
			<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
67
			<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
68
		</ZoomIn>
69
		<ZoomOut id="zoomOut">
70
			<buttonBar>mainButtonBar</buttonBar>
71
			<targetModel>mainMap</targetModel>
72
			<mouseHandler>mainAoi</mouseHandler>
73
			<class>RadioButton</class>
74
			<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
75
			<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
76
		</ZoomOut>
77
		<DragPan id="dragPan">
78
			<buttonBar>mainButtonBar</buttonBar>
79
			<targetModel>mainMap</targetModel>
80
			<mouseHandler>mainDragPan</mouseHandler>
81
			<class>RadioButton</class>
82
			<enabledSrc>/images/PanEnable.png</enabledSrc>
83
			<disabledSrc>/images/PanDisable.png</disabledSrc>
84
		</DragPan>
85
		<Reset id="reset">
86
			<buttonBar>mainButtonBar</buttonBar>
87
			<targetModel>mainMap</targetModel>
88
			<class>Button</class>
89
			<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
90
		</Reset>
91
	</widgets>
92
	<skinDir>../../lib/skin/default</skinDir>
93
	<widgetTextUrl>widgetText.xml</widgetTextUrl>
94
	<!-- relative to the skin dir -->
95
</MapbuilderConfig>
(5-5/9)