All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geomajas.testdata.beanContext.xml Maven / Gradle / Ivy

There is a newer version: 1.18.5
Show newest version
<!--
  ~ This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
  ~
  ~ Copyright 2008-2015 Geosparc nv, http://www.geosparc.com/, Belgium.
  ~
  ~ The program is available in open source according to the GNU Affero
  ~ General Public License. All contributions in this program are covered
  ~ by the Geomajas Contributors License Agreement. For full licensing
  ~ details, see LICENSE.txt in the project root.
  -->

<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
	xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd">

	<bean name="security.securityInfo" class="org.geomajas.security.SecurityInfo">
		<property name="loopAllServices" value="false"/>
		<property name="securityServices">
			<list>
				<bean class="org.geomajas.security.allowall.AllowAllSecurityService"/>
			</list>
		</property>
	</bean>

	<bean class="org.geomajas.testdata.rule.SecurityRule" />

	<bean id="bean" class="org.geomajas.configuration.client.ClientApplicationInfo">
		<property name="maps">
			<list>
				<bean name="beanMap" class="org.geomajas.configuration.client.ClientMapInfo">
					<property name="id" value="beanMap" />
					<property name="backgroundColor" value="#E0E0E0" />
					<property name="lineSelectStyle">
						<bean class="org.geomajas.configuration.FeatureStyleInfo">
							<property name="fillOpacity" value="0" />
							<property name="strokeColor" value="#FF6600" />
							<property name="strokeOpacity" value="1" />
						</bean>
					</property>
					<property name="pointSelectStyle">
						<bean class="org.geomajas.configuration.FeatureStyleInfo">
							<property name="fillColor" value="#FFFF00" />
						</bean>
					</property>
					<property name="polygonSelectStyle">
						<bean class="org.geomajas.configuration.FeatureStyleInfo">
							<property name="fillColor" value="#FFFF00" />
							<property name="fillOpacity" value=".5" />
						</bean>
					</property>
					<property name="crs" value="EPSG:4326" />
					<property name="scaleBarEnabled" value="true" />
					<property name="maximumScale" value="100000" />
					<property name="initialBounds">
						<bean class="org.geomajas.geometry.Bbox">
							<property name="x" value="-180" />
							<property name="y" value="-90" />
							<property name="width" value="360" />
							<property name="height" value="180" />
						</bean>
					</property>
					<property name="layers">
						<list>
							<ref bean="beansLayer" />
						</list>
					</property>
					<property name="toolbar">
						<bean class="org.geomajas.configuration.client.ClientToolbarInfo">
							<property name="id" value="toolbar"/>
							<property name="tools">
								<list>
									<bean name="ZoomToSelection" class="org.geomajas.configuration.client.ClientToolInfo" />
									<bean name="PanMode" class="org.geomajas.configuration.client.ClientToolInfo" />
									<bean name="EditMode" class="org.geomajas.configuration.client.ClientToolInfo" />
									<bean name="PrintMode" class="org.geomajas.configuration.client.ClientToolInfo" />
								</list>
							</property>
						</bean>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean class="org.geomajas.configuration.client.ClientVectorLayerInfo" id="beansLayer">
		<property name="serverLayerId" value="beans" />
		<property name="label" value="Test beans" />
		<property name="visible" value="true" />
		<property name="viewScaleMin" value="0" />
		<property name="viewScaleMax" value="100000" />
		<property name="namedStyleInfo" ref="beansStyleInfo" />
	</bean>

	<bean class="org.geomajas.internal.service.ResourceServiceImpl" id="service.ResourceService">
		<property name="rootPaths">
			<list>
				<value>classpath:org/geomajas/testdata/sld</value>
			</list>
		</property>
	</bean>

</beans>





© 2015 - 2025 Weber Informatics LLC | Privacy Policy