Package org.mapfish.print.map.tiled.wms
Class TiledWmsLayerParam
- java.lang.Object
-
- org.mapfish.print.map.AbstractLayerParams
-
- org.mapfish.print.map.tiled.AbstractTiledLayerParams
-
- org.mapfish.print.map.tiled.AbstractWMXLayerParams
-
- org.mapfish.print.map.image.wms.WmsLayerParam
-
- org.mapfish.print.map.tiled.wms.TiledWmsLayerParam
-
public final class TiledWmsLayerParam extends WmsLayerParam
The parameters for configuration a Tiled WMS layer.What is meant by a "tiled wms layer" is a layer based on a WMS layer but instead of a single large image for the layer multiple wms requests are made and the resulting images are combined as tiles.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mapfish.print.map.image.wms.WmsLayerParam
WmsLayerParam.ServerType
-
-
Field Summary
Fields Modifier and Type Field Description int[]
tileBufferSize
A two element array of integers indicating the width and height tile buffer.int[]
tileSize
A two element array of integers indicating the x and y size of each tile.-
Fields inherited from class org.mapfish.print.map.image.wms.WmsLayerParam
baseURL, imageFormat, layers, method, serverType, styles, useNativeAngle, version
-
Fields inherited from class org.mapfish.print.map.tiled.AbstractWMXLayerParams
customParams, mergeableParams
-
Fields inherited from class org.mapfish.print.map.tiled.AbstractTiledLayerParams
rasterStyle
-
Fields inherited from class org.mapfish.print.map.AbstractLayerParams
failOnError, name, opacity
-
-
Constructor Summary
Constructors Constructor Description TiledWmsLayerParam()
Constructor.TiledWmsLayerParam(WmsLayerParam params, java.awt.Dimension tileSize, int tileBufferWidth, int tileBufferHeight)
Convert WmsLayerParam into it's tiled equivalent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTileBufferHeight()
int
getTileBufferWidth()
java.awt.Dimension
getTileSize()
void
postConstruct()
Validate some of the properties of this layer.-
Methods inherited from class org.mapfish.print.map.image.wms.WmsLayerParam
getBaseUrl
-
Methods inherited from class org.mapfish.print.map.tiled.AbstractWMXLayerParams
createCommonUrl, getCustomParams, getMergeableParams, setCustomParam, validateBaseUrl
-
-
-
-
Constructor Detail
-
TiledWmsLayerParam
public TiledWmsLayerParam()
Constructor.
-
TiledWmsLayerParam
public TiledWmsLayerParam(WmsLayerParam params, java.awt.Dimension tileSize, int tileBufferWidth, int tileBufferHeight)
Convert WmsLayerParam into it's tiled equivalent.- Parameters:
params
- the WMS parameters to converttileSize
- The size of the tilestileBufferWidth
- The width of the the buffer tile for meta tiletileBufferHeight
- The height of the the buffer tile for meta tile
-
-
Method Detail
-
postConstruct
public void postConstruct() throws java.net.URISyntaxException
Description copied from class:WmsLayerParam
Validate some of the properties of this layer.- Overrides:
postConstruct
in classWmsLayerParam
- Throws:
java.net.URISyntaxException
-
getTileSize
public java.awt.Dimension getTileSize()
-
getTileBufferWidth
public int getTileBufferWidth()
-
getTileBufferHeight
public int getTileBufferHeight()
-
-