Class TileScaling


  • public class TileScaling
    extends Object
    Tile Scaling object, for scaling tiles from nearby zoom levels for missing tiles
    Since:
    2.0.2
    Author:
    osbornb
    • Constructor Detail

      • TileScaling

        public TileScaling()
        Default Constructor
      • TileScaling

        public TileScaling​(TileMatrixSet tileMatrixSet,
                           TileScalingType scalingType,
                           Long zoomIn,
                           Long zoomOut)
        Constructor
        Parameters:
        tileMatrixSet - tile matrix set
        scalingType - scaling type
        zoomIn - max zoom in levels
        zoomOut - max zoom out levels
      • TileScaling

        public TileScaling​(String tableName,
                           TileScalingType scalingType,
                           Long zoomIn,
                           Long zoomOut)
        Constructor
        Parameters:
        tableName - table name
        scalingType - scaling type
        zoomIn - max zoom in levels
        zoomOut - max zoom out levels
      • TileScaling

        public TileScaling​(TileScalingType scalingType,
                           Long zoomIn,
                           Long zoomOut)
        Constructor
        Parameters:
        scalingType - scaling type
        zoomIn - max zoom in levels
        zoomOut - max zoom out levels
      • TileScaling

        public TileScaling​(TileScaling tileScaling)
        Copy Constructor
        Parameters:
        tileScaling - tile scaling to copy
    • Method Detail

      • setTileMatrixSet

        public void setTileMatrixSet​(TileMatrixSet tileMatrixSet)
        Set the tile matrix set
        Parameters:
        tileMatrixSet - tile matrix set
      • getTableName

        public String getTableName()
        Get the table name of the tile table
        Returns:
        table name of the tile table
      • setTableName

        public void setTableName​(String tableName)
        Set the table name of the tile table
        Parameters:
        tableName - table name of the tile table
      • getScalingType

        public TileScalingType getScalingType()
        Get the tile scaling type
        Returns:
        tile scaling type
      • setScalingType

        public void setScalingType​(TileScalingType scalingType)
        Set the tile scaling type
        Parameters:
        scalingType - tile scaling type
      • getScalingTypeString

        public String getScalingTypeString()
        Get the tile scaling type string value
        Returns:
        tile scaling type string
      • setScalingTypeString

        public void setScalingTypeString​(String scalingType)
        Set the tile scaling type string value
        Parameters:
        scalingType - tile scaling type string
      • getZoomIn

        public Long getZoomIn()
        Get the max levels to zoom in
        Returns:
        zoom in levels
      • setZoomIn

        public void setZoomIn​(Long zoomIn)
        Set the max levels to zoom in
        Parameters:
        zoomIn - zoom in levels
      • getZoomOut

        public Long getZoomOut()
        Get the max levels to zoom out
        Returns:
        zoom out levels
      • setZoomOut

        public void setZoomOut​(Long zoomOut)
        Set the max levels to zoom out
        Parameters:
        zoomOut - zoom out level
      • isZoomIn

        public boolean isZoomIn()
        Is zoom in tile search enabled
        Returns:
        true if zoom in for tiles is allowed
      • isZoomOut

        public boolean isZoomOut()
        Is zoom out tile search enabled
        Returns:
        true if zoom out for tiles is allowed