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