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

    • Field Detail

      • tileSize

        public int[] tileSize
        A two element array of integers indicating the x and y size of each tile.
      • tileBufferSize

        public int[] tileBufferSize
        A two element array of integers indicating the width and height tile buffer.
    • 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 convert
        tileSize - The size of the tiles
        tileBufferWidth - The width of the the buffer tile for meta tile
        tileBufferHeight - 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 class WmsLayerParam
        Throws:
        java.net.URISyntaxException
      • getTileSize

        public java.awt.Dimension getTileSize()
      • getTileBufferWidth

        public int getTileBufferWidth()
      • getTileBufferHeight

        public int getTileBufferHeight()