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
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
FieldsModifier and TypeFieldDescriptionint[]A two element array of integers indicating the width and height tile buffer.int[]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, versionFields inherited from class org.mapfish.print.map.tiled.AbstractWMXLayerParams
customParams, mergeableParamsFields inherited from class org.mapfish.print.map.tiled.AbstractTiledLayerParams
rasterStyleFields inherited from class org.mapfish.print.map.AbstractLayerParams
failOnError, name, opacity -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.TiledWmsLayerParam(WmsLayerParam params, Dimension tileSize, int tileBufferWidth, int tileBufferHeight) Convert WmsLayerParam into it's tiled equivalent. -
Method Summary
Modifier and TypeMethodDescriptionintintvoidValidate some of the properties of this layer.Methods inherited from class org.mapfish.print.map.image.wms.WmsLayerParam
getBaseUrlMethods inherited from class org.mapfish.print.map.tiled.AbstractWMXLayerParams
createCommonUrl, getCustomParams, getMergeableParams, setCustomParam, validateBaseUrl
-
Field Details
-
tileSize
public int[] tileSizeA two element array of integers indicating the x and y size of each tile. -
tileBufferSize
public int[] tileBufferSizeA two element array of integers indicating the width and height tile buffer.
-
-
Constructor Details
-
TiledWmsLayerParam
public TiledWmsLayerParam()Constructor. -
TiledWmsLayerParam
public TiledWmsLayerParam(WmsLayerParam params, 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 Details
-
postConstruct
Description copied from class:WmsLayerParamValidate some of the properties of this layer.- Overrides:
postConstructin classWmsLayerParam- Throws:
URISyntaxException
-
getTileSize
-
getTileBufferWidth
public int getTileBufferWidth() -
getTileBufferHeight
public int getTileBufferHeight()
-