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

org.geomajas.layer.bean.beanContext.xml Maven / Gradle / Ivy

<!--
  ~ This file is part of Geomajas, a component framework for building
  ~ rich Internet applications (RIA) with sophisticated capabilities for the
  ~ display, analysis and management of geographic information.
  ~ It is a building block that allows developers to add maps
  ~ and other geographic data capabilities to their web applications.
  ~
  ~ Copyright 2008-2010 Geosparc, http://www.geosparc.com, Belgium
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU Affero General Public License as
  ~ published by the Free Software Foundation, either version 3 of the
  ~ License, or (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU Affero General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Affero General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->

<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 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>

</beans>





© 2015 - 2025 Weber Informatics LLC | Privacy Policy