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
					<!-- fixedWidth>216</fixedWidth-->
11
				</MapPane>
12
				<Loading id="loading">
13
        </Loading>
14
        <Loading2 id="loading2">
15
					<mapContainerId>mainMapContainer</mapContainerId>
16
        </Loading2>
17
				<AoiBoxDHTML id="aoiBox2">
18
					<htmlTagId>mainMapPane</htmlTagId>
19
					<stylesheet>/mapbuilder/lib/widget/Null.xsl</stylesheet>
20
					<mapContainerId>mainMapContainer</mapContainerId>
21
					<lineColor>#FF0000</lineColor>
22
					<lineWidth>1</lineWidth>
23
					<crossSize>15</crossSize>
24
				</AoiBoxDHTML>
25
			</widgets>
26
			<tools>
27
				<AoiMouseHandler id="mainAoi"/>
28
				<DragPanHandler id="mainDragPan">
29
					<enabled>false</enabled>
30
				</DragPanHandler>
31
			</tools>
32
		</Context>
33
		<GeoRSS id="geoRSS">
34
      <defaultModelUrl>http://georss.mit.edu/cambridgeevents.php</defaultModelUrl>
35
      <!-- defaultModelUrl>http://crcp-blogger.mit.edu/geoblogger/rss.php</defaultModelUrl -->
36
			<!--defaultModelUrl>geoRSS.xml</defaultModelUrl-->
37
			<widgets>
38
				<Widget id="eventsListing">
39
					<stylesheet>GeoRSSListing2.xsl</stylesheet>
40
				</Widget>
41
				<GmlPointRenderer id="testGmlRenderer">
42
					<htmlTagId>mainMapPane</htmlTagId>
43
					<mapContainerId>mainMapContainer</mapContainerId>
44
					<normalImage>/images/MarkerA.gif</normalImage>
45
					<highlightImage>/images/MarkerB.gif</highlightImage>
46
				</GmlPointRenderer>
47
			</widgets>
48
			<!--tools>
49
        <ZoomToAoi id="locationsZoomToAoi">
50
          <targetModel>mainMap</targetModel>
51
        </ZoomToAoi>
52
      </tools-->
53
			<namespace>xmlns:atom='http://www.w3.org/2005/Atom' xmlns:georss='http://georss.org/rss' xmlns:gml='http://www.opengis.net/gml/3.1.1' 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>
54
			<nodeSelectXpath>atom:feed/atom:entry</nodeSelectXpath>
55
		</GeoRSS>
56
	</models>
57
	<widgets>
58
		<ZoomIn id="zoomIn">
59
			<buttonBar>mainButtonBar</buttonBar>
60
			<targetModel>mainMap</targetModel>
61
			<mouseHandler>mainAoi</mouseHandler>
62
			<class>RadioButton</class>
63
			<selected>true</selected>
64
			<enabledSrc>/images/ZoomInEnable.gif</enabledSrc>
65
			<disabledSrc>/images/ZoomInDisable.gif</disabledSrc>
66
		</ZoomIn>
67
		<ZoomOut id="zoomOut">
68
			<buttonBar>mainButtonBar</buttonBar>
69
			<targetModel>mainMap</targetModel>
70
			<mouseHandler>mainAoi</mouseHandler>
71
			<class>RadioButton</class>
72
			<enabledSrc>/images/ZoomOutEnable.gif</enabledSrc>
73
			<disabledSrc>/images/ZoomOutDisable.gif</disabledSrc>
74
		</ZoomOut>
75
		<DragPan id="dragPan">
76
			<buttonBar>mainButtonBar</buttonBar>
77
			<targetModel>mainMap</targetModel>
78
			<mouseHandler>mainDragPan</mouseHandler>
79
			<class>RadioButton</class>
80
			<enabledSrc>/images/PanEnable.gif</enabledSrc>
81
			<disabledSrc>/images/PanDisable.gif</disabledSrc>
82
		</DragPan>
83
		<Reset id="reset">
84
			<buttonBar>mainButtonBar</buttonBar>
85
			<targetModel>mainMap</targetModel>
86
			<class>Button</class>
87
			<disabledSrc>/images/ResetExtentDisable.gif</disabledSrc>
88
		</Reset>
89
	</widgets>
90
	<skinDir>/mapbuilder/lib/skin/default</skinDir>
91
	<widgetTextUrl>widgetText.xml</widgetTextUrl>
92
	<!-- relative to the skin dir -->
93
</MapbuilderConfig>
(6-6/9)