
org.geomajas.testdata.simplevectorsContext.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geomajas-testdata Show documentation
Show all versions of geomajas-testdata Show documentation
Geomajas server: Main - test data
<!-- ~ 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 name="simplevectors" class="org.geomajas.configuration.client.ClientApplicationInfo" > <property name="maps"> <list> <bean name="mainMap" class="org.geomajas.configuration.client.ClientMapInfo"> <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:900913"/> <property name="scaleBarEnabled" value="true"/> <property name="maximumScale" value="100000"/> <property name="initialBounds"> <bean class="org.geomajas.geometry.Bbox"> <property name="x" value="-3500000"/> <property name="y" value="-4500000"/> <property name="width" value="10000000"/> <property name="height" value="10000000"/> </bean> </property> <property name="resolutions"> <list> <value>156543.03</value> <value>78271.52</value> <value>39135.76</value> <value>19567.88</value> <value>9783.94</value> <value>4891.97</value> <value>2445.98</value> <value>1222.99</value> <value>611.49</value> <value>305.75</value> <value>152.874057</value> <value>76.4370283</value> <value>38.2185141</value> <value>19.1092571</value> <value>9.55462853</value> <value>4.77731427</value> <value>2.38865713</value> <value>1.19432857</value> </list> </property> <property name="layers"> <list> <ref bean="countriesLayer"/> </list> </property> </bean> <bean name="overviewMap" class="org.geomajas.configuration.client.ClientMapInfo"> <property name="backgroundColor" value="#FFFFFF" /> <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="false"/> <property name="panButtonsEnabled" value="false"/> <property name="maximumScale" value="100000"/> <property name="initialBounds"> <bean class="org.geomajas.geometry.Bbox"> <property name="x" value="-20"/> <property name="y" value="-50"/> <property name="width" value="35"/> <property name="height" value="26"/> </bean> </property> <property name="resolutions"> <list> <value>156543.03</value> <value>78271.52</value> <value>39135.76</value> <value>19567.88</value> <value>9783.94</value> <value>4891.97</value> <value>2445.98</value> <value>1222.99</value> <value>611.49</value> <value>305.75</value> <value>152.874057</value> <value>76.4370283</value> <value>38.2185141</value> <value>19.1092571</value> <value>9.55462853</value> <value>4.77731427</value> <value>2.38865713</value> <value>1.19432857</value> </list> </property> <property name="layers"> <list> <ref bean="countriesLayer"/> </list> </property> </bean> <bean name="coordTestMap" class="org.geomajas.configuration.client.ClientMapInfo"> <property name="id" value="coordTestMap"/> <property name="crs" value="EPSG:900913"/> <property name="layers"> <list> <ref bean="countriesLayer"/> </list> </property> <property name="initialBounds"> <bean class="org.geomajas.geometry.Bbox"> <property name="x" value="-20"/> <property name="y" value="-50"/> <property name="width" value="35"/> <property name="height" value="26"/> </bean> </property> <property name="userData"> <bean class="org.geomajas.configuration.client.ClientApplicationInfo.DummyClientUserDataInfo"> <property name="dummy" value="some data" /> </bean> </property> <property name="widgetInfo"> <map> <entry key="layerTree"> <bean class="org.geomajas.configuration.client.ClientApplicationInfo.DummyClientWidgetInfo"> <property name="dummy" value="layer1, layer2" /> </bean> </entry> </map> </property> </bean> </list> </property> <property name="widgetInfo"> <map> <entry key="mapSelect"> <bean class="org.geomajas.configuration.client.ClientApplicationInfo.DummyClientWidgetInfo"> <property name="dummy" value="map1, map2" /> </bean> </entry> </map> </property> </bean> <bean class="org.geomajas.configuration.client.ClientVectorLayerInfo" id="countriesLayer"> <property name="serverLayerId" value="countries" /> <property name="label" value="Countries"/> <property name="visible" value="true"/> <property name="viewScaleMin" value="0"/> <property name="viewScaleMax" value="100000"/> <property name="namedStyleInfo" ref="countriesStyleInfo" /> <property name="widgetInfo"> <map> <entry key="customLayerInfoWidget"> <bean class="org.geomajas.configuration.client.ClientApplicationInfo.DummyClientWidgetInfo"> <property name="dummy" value="org.geomajas.widget.IpsumWidget" /> </bean> </entry> </map> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy