org.geomajas.gwt2.example.context.layerWmsBluemarble.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geomajas-client-gwt2-example-jar Show documentation
Show all versions of geomajas-client-gwt2-example-jar Show documentation
Geomajas GWT2 client: Main - Examples
<!-- ~ 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="layerWmsBluemarble" class="org.geomajas.layer.wms.WmsLayer" > <property name="layerInfo" ref="layerWmsBluemarbleInfo" /> <!-- When configuring your own applications, please do not use this WMS server --> <property name="baseWmsUrl" value="http://apps.geomajas.org/geoserver/wms"/> <property name="version" value="1.1.1"/> <property name="format" value="image/png"/> <property name="styles" value=""/> </bean> <bean name="layerWmsBluemarbleInfo" class="org.geomajas.configuration.RasterLayerInfo"> <property name="crs" value="EPSG:4326"/> <property name="maxExtent"> <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="360"/> </bean> </property> <property name="resolutions"> <list> <value>0.5</value> <value>0.25</value> <value>0.125</value> <value>0.0625</value> <value>0.03125</value> <value>0.015625</value> <value>0.0078125</value> <value>0.00390625</value> <value>0.001953125</value> <value>0.0009765625</value> <value>0.00048828125</value> <value>0.000244140625</value> <value>0.000122070312</value> </list> </property> <property name="dataSourceName" value="bluemarble" /> <property name="tileWidth" value="512"/> <property name="tileHeight" value="512"/> </bean> </beans>