config.xml


Home
flashmapping.org
Downloads
Output forms
Input forms
config.xml
firstmap.xml
layers.xml
source code
Debug options
Search

config.xml is the start place of the template.swf file. This page gives you an explanation of what
can be configured there. The config.xml needs to be placed at the same level of the template_viewer.swf file.

<?xml version="1.0"?>
<settings>
	<!-- identify for app and external file settings 
	
	-->
	<application	name="template_viewer"
			basepath="http://www.eea.europa.eu/themes/water/wise-viewer/wise-viewer-flash" 
			watchdogpath="http://dataservice.eea.europa.eu/demo/wise/watchdog.asp"/>	
	<!--
	Log application behavior, used to debug issues in the template. See "Debug options" for more information.
	 0 - just trace no log
	 1 - application criticals which kills app
	 2 - errors but user can still continue
	 3 - informationals and debugging info
	 4 - full verbose application flow	
	 This option can be comment out if not used.
	-->
	<log		level="0" 
			webservice="http://dataconnector.eea.europa.eu/webservices/SqlParser.asmx?wsdl"
			server="anchovysql"
			database="sdeims_general"
			user="webuser" password="webuser"/>
	<!-- 
		Generic options the map viewer should follow.
		---------------------------------------------
		max_zoominscale : The maximum depth a user can zoom in. (Units per pixcel)
		defaultmap : The xml-file where the first map should be loaded from. (Check "firstmap.xml" for more information)
	-->
	<mapsettings	max_zoominscale="50000"
			defaultmap="en/maps/firstmap.xml"/>
	<!-- 
		Buttons on the right top corner, Some of these buttons need to be pointed to a web site or email.
	-->
	<lnkpanel	helpurl="http://www.eea.europa.eu/themes/water/wise-help-centre"
			linkmail="mailto:?subject=WISE link&amp;body=Link to WISE Viewer. "/>
	<!-- 
		The overview map or inset. A service should be specified that gives the overview.
	-->
	<insetmap	servername="geonode.eea.europa.eu"
			servicename="europeextentinset"/>
	<!-- 
		Output forms are represented as TABs inside the mapviewer application. 
		The defined once here are loaded default.
	-->	
	<outputs>
		<outputform	name="Map view"
				isExternal="false"
				contentName="mapTab_mc"
				default="true"
				visible="true"/>
		<!--outputform	name="Related Links" 
				isExternal="false"
				contentName="TabAliss" 
				visible="true" /-->
		<!--outputform	name="About Wise"
				isExternal="false"
				contentName="about_Wise_mc"
				visible="true" /-->

	</outputs>
	<!-- 
		The path towards an xml that describes the selection on a map.
	-->
	<visualselection path="en/maps/treeview_byUser.xml"/>
	<!-- 
		Infoboxes, only with the most common attributes.
		All infoboxes described below inside the infoboxes-tag will default use the once you define here.
	-->
	<defaultbox	titlebartext=""
			resizable="true"
			content="" 
			minimized_onload="false" 
			helpcontent="help/default.html" 
			bckgrcolor="0x616161" 
			bckgralpha="100" 
			hasbar="true" 
			hasclose="false" 
			barcolor="0x293768" 
			titlefont="Arial" 
			titlefontsize="12" 
			titlecolor="0xFFFFFF" 
			titlebold="true" 
			titlespacing="5" 
			titlebarheight="27"/>
	<!-- 
		The path towards an xml that describes the selection on a map.
	-->
	<infoboxes>
		<infobox 	titlebartext="Overview map" 
				resizable="true" 
				content="InsetMovieclip" 
				minimized_onload="true" 
				helpcontent="help/insetHelp.html" 
				bckgrcolor="0x616161" 
				bckgralpha="100" 
				hasbar="true" 
				hasclose="false" 
				barcolor="0x293768" 
				titlefont="Arial" 
				titlefontsize="12" 
				titlecolor="0xFFFFFF" 
				titlebold="true" 
				titlespacing="10" 
				titlebarheight="27" />		

		<infobox titlebartext="Slider" resizable="false"  content="SliderTool" helpcontent="" minimized_onload="false" bckgrcolor="0x000000" bckgralpha="100" hasbar="false" hasclose="false" height="26" barcolor="0x293768" titlefont="Arial"  titlefontsize="12" titlecolor="0xFFFFFF" titlebold="true" titlespacing="10" titlebarheight="27"/>
		<infobox titlebartext="Map legend" resizable="true"  content="LegendMovieclip"  minimized_onload="false" helpcontent="help/legendHelp.html" bckgrcolor="0xFFFFFF" bckgralpha="100" hasbar="true" hasclose="false"  barcolor="0x293768" titlefont="Arial" titlefontsize="12" titlecolor="0xFFFFFF" titlebold="true" titlespacing="10" titlebarheight="27"/>
		<infobox titlebartext="Find location" resizable="true" content="inputforms/SearchLocation.swf" minimized_onload="true" helpcontent="help/searchHelp.html" advanced="true" bckgrcolor="0xFFFFFF" bckgralpha="100" height="300"  hasbar="true" hasclose="false" barcolor="0x293768" titlefont="Arial" titlefontsize="12" titlecolor="0xFFFFFF" titlebold="true" titlespacing="10" titlebarheight="27"/>
		<infobox titlebartext="Layer view" resizable="true"  content="available_layer_list_mc" minimized_onload="true" helpcontent="help/layerTreeHelp.html"  advanced="true"  bckgrcolor="0xFFFFFF" bckgralpha="100" hasbar="true" hasclose="false" barcolor="0x293768" titlefont="Arial" titlefontsize="12" titlecolor="0xFFFFFF" titlebold="true" titlespacing="10" titlebarheight="27"/>
		<infobox titlebartext="New query" resizable="true" content="animated_button" minimized_onload="false" helpcontent="help/queriesTreeHelp.html" advanced="true" bckgrcolor="0xFFFFFF" bckgralpha="100" hasbar="true" hasclose="false" barcolor="0x293768" titlefont="Arial" titlefontsize="12" titlecolor="0xFFFFFF" titlebold="true" titlespacing="10" titlebarheight="27"/>		
	</infoboxes>	
</settings>

Home | flashmapping.org | Downloads | Output forms | Input forms | config.xml | firstmap.xml | layers.xml | source code | Debug options | Search

 Copyright or other proprietary statement goes here.
For problems or questions regarding this Web site contact [ProjectEmail].
Last updated: 05/08/07.