Project

General

Profile

1
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2
<MapbuilderConfig version="0.2.1" id="geoRSSConfig" 
3
	xmlns="http://mapbuilder.sourceforge.net/mapbuilder" 
4
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
5
	xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../lib/schemas/config.xsd">
6
	
7
	<models>
8
		<Context id="mainMap">
9
			<defaultModelUrl>cambridge.xml</defaultModelUrl>
10
			<widgets>
11
				<MapPane id="mainMapWidget">
12
					<htmlTagId>mainMapPane</htmlTagId>
13
					<mapContainerId>mainMapContainer</mapContainerId>
14
				</MapPane>
15
				<Loading id="loading" />
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
		
33
		<GeoRSS id="geoRSS">
34
			<!--defaultModelUrl>http://crcp-blogger.mit.edu/geoblogger/rss.php</defaultModelUrl-->
35
			<!--scriptFile>/geoRSS/GeoRSS.js</scriptFile-->
36
			<defaultModelUrl>geoRSS.xml</defaultModelUrl>
37

    
38
			<widgets>
39
				<Widget id="eventsListing">
40
					<targetModel>mainMap</targetModel>
41
					<stylesheet>GeoRSSListing.xsl</stylesheet>
42
				</Widget>
43
				<GmlPointRenderer id="pointRenderer">
44
					<htmlTagId>mainMapPane</htmlTagId>
45
					<stylesheet>popup.xsl</stylesheet>
46
					<mapContainerId>mainMapContainer</mapContainerId>
47
					<normalImage>/images/MarkerA.gif</normalImage>
48
					<highlightImage>/images/MarkerB.gif</highlightImage>
49
				</GmlPointRenderer>
50
			</widgets>
51
			<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>
52
			<nodeSelectXpath>/rdf:RDF/rss:item</nodeSelectXpath>
53
		</GeoRSS>
54
	</models>
55
	
56
	<widgets>
57
		<ZoomIn id="zoomIn">
58
			<buttonBar>mainButtonBar</buttonBar>
59
			<targetModel>mainMap</targetModel>
60
			<mouseHandler>mainAoi</mouseHandler>
61
			<class>RadioButton</class>
62
			<selected>true</selected>
63
			<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
64
			<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
65
		</ZoomIn>
66
		<ZoomOut id="zoomOut">
67
			<buttonBar>mainButtonBar</buttonBar>
68
			<targetModel>mainMap</targetModel>
69
			<mouseHandler>mainAoi</mouseHandler>
70
			<class>RadioButton</class>
71
			<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
72
			<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
73
		</ZoomOut>
74
		<DragPan id="dragPan">
75
			<buttonBar>mainButtonBar</buttonBar>
76
			<targetModel>mainMap</targetModel>
77
			<mouseHandler>mainDragPan</mouseHandler>
78
			<class>RadioButton</class>
79
			<enabledSrc>/images/PanEnable.png</enabledSrc>
80
			<disabledSrc>/images/PanDisable.png</disabledSrc>
81
		</DragPan>
82
		<Reset id="reset">
83
			<buttonBar>mainButtonBar</buttonBar>
84
			<targetModel>mainMap</targetModel>
85
			<class>Button</class>
86
			<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
87
		</Reset>
88
		<GetMarkerInfo id="getMarkerInfo">
89
			<buttonBar>mainButtonBar</buttonBar>
90
			<targetModel>mainMap</targetModel>
91
			<context>mainMap</context>
92
			<!-- mouseHandler>mainAoi</mouseHandler -->
93
			<class>RadioButton</class>
94
			<enabledSrc>/images/QueryEnable.png</enabledSrc>
95
			<disabledSrc>/images/QueryDisable.png</disabledSrc>
96
			<cursor>help</cursor>
97
		</GetMarkerInfo>
98
		
99
	</widgets>
100
	
101
	<skinDir>../../lib/skin/default</skinDir>
102
	<widgetTextUrl>widgetText.xml</widgetTextUrl>
103
	<!-- relative to the skin dir -->
104
</MapbuilderConfig>
(10-10/15)