<map xmlns="http://www.carto.net/gui" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
	<layout>
		<coordinateSystem viewBox="0 0 1024 700" />
		<copyright x="736" y="483" styles="smallTextStylesRight" copyRightBgStyle="bgStyles" pointer-events="none" parentId="windowMainGroupmapWindow"> Pixel Maps: 2006 swisstopo (DV033492.2)</copyright>
		<scalebar maxScaleBarLength=".2" scaleXmin="9" scaleYmin="486" nrTicks="3" scaleBarLineStyles="scaleBarLineStyles" scaleBarTextStyles="scaleBarTextStyles" scaleBarBgStyles="bgStyles" parentNode="windowMainGroupmapWindow"/>
		<mainMap id="mainMap" parentId="windowMainGroupmapWindow" x="1" y="18" width="742" height="469.9" xWorld="485410" yWorld="295935" widthWorld="348428" heightWorld="220650" epsg="21781" units="m" unitsFactor="1" minWidthFact="0.001" zoomRectAttribs="zoomRectStyles" highlightAttribs="highlightStyles"/>
		<referenceMap id="referenceMap" parentId="windowMainGroupreferenceMapWindow" dragId="dragRectForRefMap" x="5" y="22" width="200" height="126.65" xWorld="485410" yWorld="295935" widthWorld="348428" heightWorld="220650" geomFile="referenceMap.svg" dragRectStyles="dragRectStyles" dragSymbolStyles="dragSymbolStyles" dragSymbolThreshold="0.1"/>
		<coordinateDisplay accuracy="1" parentId="windowMainGroupreferenceMapWindow">
			<coordX id="coordX" x="55" y="165" styles="smallTextStyles"/>
			<coordY id="coordY" x="55" y="180" styles="smallTextStyles"/>
		</coordinateDisplay>
		<gui>
		<guiDefaults>
			<windowDefaults showContent="true" moveable="false" placeholderStyles="winPlaceholderStyles" windowStyles="winWindowStyles" titlebarStyles="winTitlebarStyles" statusbarStyles="winStatusbarStyles" titletextStyles="winTitletextStyles" statustextStyles="winStatustextStyles" buttonStyles="winButtonStyles" margin="3" titleBarVisible="true" statusBarVisible="true" closeButton="false" minimizeButton="false" maximizeButton="false" titlebarHeight="17" statusbarHeight="14" constrXmin="0" constrYmin="0" constrXmax="1024" constrYmax="700" titleText=" " statusText=" " resize="false" repos="false" functionToCall="undefined"/>
			<tabgroupDefaults cornerLeft="triangle" cornerRight="rect" tabmargins="7" tabheight="16" spaceBetweenTabs="0" tabStyles="tabstyles" activetabBGColor="tan" tabwindowStyles="tabwindowstyles" tabtextStyles="tabtextstyles" activeTabindex="0" hideContent="true" functionToCall="undefined" resize="false" repos="false"/>
			<textboxDefaults defaultVal="" maxChars="255" boxHeight="18" textStyles="textboxTextstyles" boxStyles="textboxStyles" cursorStyles="textboxCursorStyles" selBoxStyles="textboxSelBoxStyles" allowedChars="undefined" functionToCall="undefined" textYOffset="12.5" resize="false" repos="false"/>
			<textDefaults font-family="Cisalpin LT Std" font-size="13"/>
			<buttonDefaults buttonStyles="ButtonStyles" textStyles="ButtonTextStyles" shadeLightStyles="ShadeLightStyles" shadeDarkStyles="ShadeDarkStyles" buttonType="rect" whichButton="button" buttonText="undefined" buttonSymbolId="undefined" functionToCall="undefined" shadowOffset="1.2" resize="false" repos="false"/>
			<selectionListDefaults width="100" cellHeight="17" textPadding="3" heightNrElements="5" textStyles="selBoxtextStyles" boxStyles="selBoxStyles" scrollbarStyles="selBoxScrollbarStyles" selBoxSmallrectStyles="selBoxSmallRectStyles" highlightStyles="selBoxHighlightStyles" selBoxTriangleStyles="selBoxTrianglestyles" preSelect="0" openAbove="false" putOnTopOfParent="false" functionToCall="undefined" resize="false" repos="false"/>
			<comboboxDefaults width="100" cellHeight="20" textPadding="3" heightNrElements="5" multiple="true" offsetValue="0" textStyles="selBoxtextStyles" boxStyles="selBoxStyles" scrollbarStyles="selBoxScrollbarStyles" smallrectStyles="selBoxSmallRectStyles" highlightStyles="selBoxHighlightStyles" triangleStyles="selBoxTrianglestyles" functionToCall="undefined" resize="false" repos="false"/>"
			<checkBoxDefaults checkboxId="checkBoxRect" checkcrossId="checkBoxCross" textStyles="checkboxTextstyles" labelDistance="11" labelYOffset="4" functionToCall="undefined" repos="false" />
			<sliderDefaults value1="0" value2="1" startVal="0.5" sliderStyles="SliderStyles" invisSliderWidth="15" sliderSymb="sliderSymbol" functionToCall="undefined" mouseMoveBool="false" repos="false"/>
		</guiDefaults>
		<!-- ETH-Logo -->
		<svg:text x="3" y="20" font-family="Cisalpin LT Std" fill="dimgray" font-size="20" font-weight="bold" pointer-events="none">Geofoto.ch, Geophotomap - Georeferenced Photos of Switzerland</svg:text>
		<svg:text x="1020" y="697" font-family="Cisalpin LT Std" fill="dimgray" font-size="11" text-anchor="end" pointer-events="none">&#169; 2006, Daniel Meyer and Andreas Neumann, source code and ideas provided by carto.net, geographic data provided by swisstopo</svg:text>
		<svg:g id="ethLogo"><svg:a xlink:href="http://www.ethz.ch" target="new"><svg:image xlink:href="ETH_Logo.png" x="828" y="3" width="190" height="21"/></svg:a></svg:g>			
		<!-- additional information -->
		<svg:g id="additionalInfo"><svg:text font-family="Cisalpin LT Std" fill="dimgray" font-size="11" x="5" y="697" onclick="additionalInfoWindow()">&gt; See additional information about this prototype</svg:text>
		</svg:g>
		<window id="mapWindow" parentId="Windows" width="744" height="489" transX="3" transY="27" titleText="Map Window" statusBarVisible="false">
				<!-- group for slider that will be attached to the titlebar of the window "mapWindow" -->
			<svg:text x="450" y="14" parentId="windowTitlebarGroupmapWindow" font-family="Cisalpin LT Std" fill="dimgray" font-size="13">Adjust map opacity: 0<svg:tspan dx="120">100</svg:tspan></svg:text>
			<slider id="transparencySlider" parentId="windowTitlebarGroupmapWindow" x1="585" y1="9" x2="685" y2="9" startVal="0.8" mouseMoveBool="true" functionToCall="changeMapTransparency"/>
		</window>
		<window id="referenceMapWindow" parentId="Windows" width="270" height="201" transX="750" transY="27" titleText="Map Navigation Window" statusText="Map Ready">
				<button id="zoomIn" whichButton="button" x="213" y="22" width="16" height="16" buttonType="rect" buttonSymbolId="magnifyerZoomIn" functionToCall="zoomImageButtons"/>
				<button id="zoomOut" whichButton="button" x="213" y="132" width="16" height="16" buttonType="rect" buttonSymbolId="magnifyerZoomOut" functionToCall="zoomImageButtons"/>
				<button id="infoButton" whichButton="switchbutton" x="240" y="22" width="20" height="20" buttonType="rect" buttonSymbolId="infoBut" functionToCall="zoomImageSwitchButtons"/>
				<button id="zoomFull" whichButton="button" x="240" y="45" width="20" height="20" buttonType="rect" buttonSymbolId="magnifyerFull" functionToCall="zoomImageButtons"/>
				<button id="zoomManual" whichButton="switchbutton" x="240" y="69" width="20" height="20" buttonType="rect" buttonSymbolId="magnifyerManual" functionToCall="zoomImageSwitchButtons"/>
				<button id="panManual" whichButton="switchbutton" x="240" y="92" width="20" height="20" buttonType="rect" buttonSymbolId="symbPan" functionToCall="zoomImageSwitchButtons"/>
				<button id="recenterMap" whichButton="switchbutton" x="240" y="115" width="20" height="20" buttonType="rect" buttonSymbolId="symbRecenter" functionToCall="zoomImageSwitchButtons"/>
				<button id="backwardExtent" whichButton="button" x="240" y="138" width="20" height="20" buttonType="rect" buttonSymbolId="symbArrowLeft" functionToCall="zoomImageButtons"/>
				<button id="forwardExtent" whichButton="button" x="240" y="162" width="20" height="20" buttonType="rect" buttonSymbolId="symbArrowRight" functionToCall="zoomImageButtons"/>
				<slider id="zoomSlider" x1="221" y1="44" x2="221" y2="126" mouseMoveBool="true"/>
				<!-- group with projection texts -->
				<svg:g id="projection" pointer-events="none" font-family="Cisalpin LT Std" fill="dimgray" font-size="11">
					<svg:text x="5" y="165">CH1903: </svg:text>
					<svg:text x="5" y="180">WGS84: </svg:text>
				</svg:g>
		</window>
		<window id="photoInfoWindow" parentId="Windows" width="270" height="239" transX="750" transY="231" titleText="Photo Information Window" statusText="Infos are only displayed in Infomode (Map Navigation)">
				<!-- group with photo information texts -->
				<svg:g id="photoInfo" pointer-events="none" font-family="Cisalpin LT Std" fill="dimgray" font-size="11">
					<svg:g id="bgRectsPhotoRect">
						<svg:rect fill="rgb(245,245,245)" x="1" y="0" width="268" height="48" />
						<svg:rect fill="rgb(235,235,235)" x="1" y="47" width="268" height="17" />
						<svg:rect fill="rgb(245,245,245)" x="1" y="64" width="268" height="16" />
						<svg:rect fill="rgb(235,235,235)" x="1" y="80" width="268" height="16" />
						<svg:rect fill="rgb(245,245,245)" x="1" y="96" width="268" height="15" />
						<svg:rect fill="rgb(235,235,235)" x="1" y="111" width="268" height="15" />
						<svg:rect fill="rgb(245,245,245)" x="1" y="126" width="268" height="15" />
						<svg:rect fill="rgb(235,235,235)" x="1" y="141" width="268" height="14" />
						<svg:rect fill="rgb(245,245,245)" x="1" y="155" width="268" height="14" />
						<svg:rect fill="rgb(235,235,235)" x="1" y="168" width="268" height="13" />
						<svg:rect fill="rgb(245,245,245)" x="1" y="181" width="268" height="13" />
						<svg:rect fill="rgb(235,235,235)" x="1" y="194" width="268" height="31" />
					</svg:g>
					<svg:text id="metaObjectName" x="5" y="32">Photo Name: </svg:text>
					<svg:text id="metaModel" x="5" y="60">Camera: </svg:text>
					<svg:text id="metaDate" x="5" y="77">Date: </svg:text>
					<svg:text id="metaExposure" x="5" y="92">Exposure Time: </svg:text>
					<svg:text id="metaAperture" x="5" y="107">Aperture FNumber: </svg:text>
					<svg:text id="metaISO" x="5" y="122">ISO Value: </svg:text>
					<svg:text id="metaFocal" x="5" y="137">Focal Length (35mm Equivalent): </svg:text>
					<svg:text id="metaClassification" x="5" y="152">Geographical/political classification:</svg:text>
					<svg:text id="metaKanton" x="25" y="165">Kanton: </svg:text>
					<svg:text id="metaBezirk" x="25" y="178">Bezirk: </svg:text>
					<svg:text id="metaGemeinde" x="25" y="191">Gemeinde: </svg:text>
					<svg:text id="metaKeywords" x="5" y="206">Keywords: </svg:text>
				</svg:g>
			</window>
		<window id="photoSearchWindow" parentId="Windows" width="270" height="210" transX="750" transY="473" titleText="Filter and Search Window" statusText="Select thematic or geographic photo attributes">
			<tabgroup id="navSearchTabGroup" parentId="photoSearchWindow" transX="2" transY="20" width="myMapApp.Windows['photoSearchWindow'].width - 4" height="myMapApp.Windows['photoSearchWindow'].height - 36">
					<tab title="Thematic">
						<svg:g id="bgRectsPhotoKeywords">
							<svg:rect fill="rgb(235,235,235)" x="1" y="36" width="264" height="15" />
							<svg:rect fill="rgb(245,245,245)" x="1" y="51" width="264" height="15" />
							<svg:rect fill="rgb(235,235,235)" x="1" y="66" width="264" height="15" />
							<svg:rect fill="rgb(245,245,245)" x="1" y="81" width="264" height="15" />
							<svg:rect fill="rgb(235,235,235)" x="1" y="96" width="264" height="15" />
							<svg:rect fill="rgb(245,245,245)" x="1" y="111" width="264" height="15" />
							<svg:rect fill="rgb(235,235,235)" x="1" y="126" width="264" height="15" />
						</svg:g>
							<!-- group with thematic search texts -->
						<svg:g id="thematicSearchText" pointer-events="none" font-family="Cisalpin LT Std" fill="dimgray" font-size="11">
							<svg:text x="6" y="30" font-weight="bold">Select one or more keyword(s): </svg:text>
							<svg:text x="6" y="154" font-weight="bold">Select a logical operation: </svg:text>
						</svg:g>
						<button id="apply" whichButton="button" x="145" y="147" width="50" height="20" buttonText="Apply" functionToCall="loadPhotos"/>
						<button id="reset" whichButton="button" x="210" y="147" width="50" height="20" buttonText="Reset" functionToCall="resetKeywords"/>
						<checkBox id="KWspring" x="12" y="43" labelText="spring" checkedStatus="false" />
						<checkBox id="KWsummer" x="12" y="58" labelText="summer" checkedStatus="false" />
						<checkBox id="KWautumn" x="12" y="73" labelText="autumn" checkedStatus="false" />
						<checkBox id="KWwinter" x="12" y="88" labelText="winter" checkedStatus="false" />
						<checkBox id="KWlake" x="12" y="103" labelText="lake" checkedStatus="false" />
						<checkBox id="KWriver" x="12" y="118" labelText="river" checkedStatus="false" />
						<checkBox id="KWcreek" x="12" y="133" labelText="creek" checkedStatus="false" />
						<checkBox id="KWvalley" x="72" y="43" labelText="valley" checkedStatus="false" />
						<checkBox id="KWcanyon" x="72" y="58" labelText="canyon" checkedStatus="false" />
						<checkBox id="KWhill" x="72" y="73" labelText="hill" checkedStatus="false" />
						<checkBox id="KWmountain" x="72" y="88" labelText="mountain" checkedStatus="false" />
						<checkBox id="KWsnow and ice" x="72" y="103" labelText="snow/ice" checkedStatus="false" />
						<checkBox id="KWview" x="72" y="118" labelText="view" checkedStatus="false" />
						<checkBox id="KWatmosphere" x="72" y="133" labelText="atmosphere" checkedStatus="false" />
						<checkBox id="KWcity" x="150" y="43" labelText="city" checkedStatus="false" />
						<checkBox id="KWvillage" x="150" y="58" labelText="village" checkedStatus="false" />
						<checkBox id="KWbuilding" x="150" y="73" labelText="building" checkedStatus="false" />
						<checkBox id="KWtransport" x="150" y="88" labelText="transport" checkedStatus="false" />
						<checkBox id="KWreligion" x="150" y="103" labelText="religion" checkedStatus="false" />
						<checkBox id="KWpark" x="150" y="118" labelText="park" checkedStatus="false" />
						<checkBox id="KWhistory and culture" x="150" y="133" labelText="history and culture" checkedStatus="false" />
						<checkBox id="KWforest" x="212" y="43" labelText="forest" checkedStatus="false" />
						<checkBox id="KWmeadow" x="212" y="58" labelText="meadow" checkedStatus="false" />
						<checkBox id="KWnature" x="212" y="73" labelText="nature" checkedStatus="false" />
						<radioButtonGroup id="andOr" functionToCall="changeSearchParams">
							<checkBox id="logicalOr" x="13" y="165" labelText="OR" checkboxId="radioBorder" checkcrossId="radioPoint" checkedStatus="true" />
							<checkBox id="logicalAnd" x="70" y="165" labelText="AND" checkboxId="radioBorder" checkcrossId="radioPoint" checkedStatus="false" />
						</radioButtonGroup>
					</tab>
					<tab title="Geographic">
						<!-- group with geographic search texts -->
						<svg:g pointer-events="none" font-family="Cisalpin LT Std" fill="dimgray" font-size="11">
							<svg:text x="6" y="30" font-weight="bold">Select one or more administrative unit(s):</svg:text>
							<svg:text x="6" y="55">Kanton:</svg:text>
							<svg:text x="6" y="80">Bezirk:</svg:text>
							<svg:text x="6" y="105">Gemeinde:</svg:text>
						</svg:g>
						<selectionList id="gemeinden" width="180" xOffset="70" yOffset="93" datasource="variable" functionToCall="gemeindeSelected">
							<variable name="gemeinden" />
						</selectionList>
						<selectionList id="bezirke" width="180" xOffset="70" yOffset="68" datasource="variable" functionToCall="bezirkSelected">
							<variable name="bezirke" />
						</selectionList>
						<selectionList id="kantone" width="180" xOffset="70" yOffset="43" datasource="variable" functionToCall="kantonSelected">
							<variable name="kantone" />
						</selectionList>
					</tab>
					<tab title="By Title">
						<svg:g pointer-events="none" font-family="Cisalpin LT Std" fill="dimgray" font-size="11">
							<svg:text x="6" y="30" font-weight="bold">Enter a Title Search Term or Substring here:</svg:text>
							<svg:text x="6" y="92">Results:</svg:text>
						</svg:g>
						<textbox id="titleSearchTextbox" x="5" y="37" boxWidth="myMapApp.Windows['photoSearchWindow'].width - 30" maxChars="255" functionToCall="undefined"/>
						<checkBox id="filterByMapExtent" x="13" y="64" labelText="Filter By Map Extent" checkedStatus="false" functionToCall="undefined" />
						<checkBox id="filterByKeyword" x="138" y="64" labelText="Use Keyword Filter" checkedStatus="false" functionToCall="undefined" />
						<combobox id="titleSearchCombobox" xOffset="5" yOffset="98" width="myMapApp.Windows['photoSearchWindow'].width - 12" cellHeight="18" heightNrElements="4" functionToCall="undefined" multiple="false" datasource="variable">
							<variable name="emptyTitleSearchResult" />
						</combobox>
						<button id="zoomToSelectedPhoto" whichButton="button" x="105" y="75" width="140" height="18" buttonText="Zoom to selected Photo" functionToCall="undefined"/>
						<button id="resetTitleSearch" whichButton="button" x="248" y="39" width="15" height="15" buttonType="rect" buttonSymbolId="symbDelete" functionToCall="undefined"/>
						<svg:path id="searchForward" fill="dimgray" transform="translate(250 105)" d="M0,-5L10,0L0,5z"
							cursor="pointer" onclick="myMapApp.searchObj.forwardResult()" display="none"/>
						<svg:path id="searchBackward" fill="dimgray" transform="translate(260 120)" d="M0,-5L-10,0L0,5z"
							cursor="pointer" onclick="myMapApp.searchObj.backwardResult()" display="none"/>
					</tab>
				</tabgroup>
			</window>
		<window id="photoSelectionWindow" parentId="Windows" width="744" height="164" transX="3" transY="519" titleText="Photo Selection Window" statusText="Click on a photo to get more information (photos are ordered descending by date created)">
			<svg:g id="photoGalleryGroup" />
			<!--
			<svg:g id="bgRectsPhotoDetailView" display="hidden">
				<svg:rect fill="rgb(245,245,245)" x="100" y="40" width="300" height="15" />
			</svg:g>
			-->
			<button id="photoGalBackward" whichButton="button" x="5" y="76" width="16" height="16" buttonType="rect" buttonSymbolId="symbPhotoArrowLeft" functionToCall="displayPhotosSmall"/>
			<button id="photoGalForward" whichButton="button" x="722" y="76" width="16" height="16" buttonType="rect" buttonSymbolId="symbPhotoArrowRight" functionToCall="displayPhotosSmall"/>
			<button id="zoomToPhoto" whichButton="button" x="530" y="25" width="180" height="25" buttonText="Zoom to this photo" functionToCall="zoomToPhoto"/>
			<button id="higherResolution" whichButton="button" x="530" y="55" width="180" height="25" buttonText="See photo in higher resolution" functionToCall="showPhotoHigherResolution"/>
			<button id="returnToGallery" whichButton="button" x="530" y="85" width="180" height="25" buttonText="Return to photo gallery" functionToCall="backToPhotoGallery"/>
			<svg:rect id="photoFrame" display="none" x="0" y="0" width="10" height="10" fill="none" stroke="rgb(175,0,0)" stroke-width="2" pointer-events="none" />
		</window>
		<window id="additionalInfoWindow" parentId="Windows" width="465" height="230" transX="200" transY="200" moveable="true" showContent="true" placeholderStyle="nofill normallinecol thinline" windowBackground="windowBackground" statusBarVisible="false" titleText="Additional Information about this Prototype" closeButton="true">
			<!-- group with additional information texts -->
			<svg:g pointer-events="none" font-family="Cisalpin LT Std" fill="dimgray" font-size="11">
				<svg:text x="5" y="32">This prototype is the product of a semester thesis (Vertiefungsblockarbeit) at the Institute</svg:text>
				<svg:text x="5" y="45">of Cartography within the scope of my diploma course in Geomatics Engineering at the</svg:text>
				<svg:text x="5" y="58">Swiss Federal Institute of Technology (ETH) Zurich.</svg:text>
				<svg:text x="5" y="75">I'd like to thank A. Neumann and P. Sykora who supervised this thesis and helped me a lot.</svg:text>
				<svg:text x="5" y="88">Also many thanks to everyone who has supported this project with some photos.</svg:text> 
				<svg:text x="5" y="105">For further information you may have a look into the technical report of the project.</svg:text>
				<svg:a xlink:href="Bericht.pdf" target="new"><svg:text pointer-events="all" x="15" y="118">&gt; Technical Report (pdf, 1.3MB, german)</svg:text></svg:a>
				<svg:text x="5" y="135">References:</svg:text>
				<svg:text x="5" y="148">National Maps of Switzerland (digital raster format)</svg:text>
				<svg:a xlink:href="http://www.swisstopo.ch/" target="new"><svg:text pointer-events="all" x="15" y="161">&gt; swisstopo</svg:text></svg:a>
				<svg:text x="5" y="174">Source code fragments for SVG and ECMAScript</svg:text>
				<svg:a xlink:href="http://www.carto.net/" target="new"><svg:text pointer-events="all" x="15" y="187">&gt; carto.net</svg:text></svg:a>
				<svg:text x="5" y="205">Enjoy your exploration of georeferenced photos throughout Switzerland!</svg:text>
				<svg:text x="5" y="222">Daniel Meyer, daniel.n.meyer@gmail.com</svg:text>
			</svg:g>
		</window>
	</gui>
	</layout>
</map>
