Interface CustomFeaturesTile

  • All Known Implementing Classes:
    NumberFeaturesTile

    public interface CustomFeaturesTile
    Interface defining custom feature tile drawing. The tile drawn will be used instead of drawing all of the features.
    Since:
    1.1.2
    Author:
    osbornb
    • Method Detail

      • drawTile

        BufferedImage drawTile​(int tileWidth,
                               int tileHeight,
                               long tileFeatureCount,
                               FeatureIndexResults featureIndexResults)
        Draw a custom tile
        Parameters:
        tileWidth - tile width to draw
        tileHeight - tile height to draw
        tileFeatureCount - count of features in the requested tile
        featureIndexResults - feature index results
        Returns:
        custom image, or null
        Since:
        6.1.2
      • drawUnindexedTile

        BufferedImage drawUnindexedTile​(int tileWidth,
                                        int tileHeight,
                                        long totalFeatureCount,
                                        FeatureResultSet allFeatureResults)
        Draw a custom tile when the number of features within the tile is unknown. This is called when a feature table is not indexed and more total features exist than the max per tile.
        Parameters:
        tileWidth - tile width to draw
        tileHeight - tile height to draw
        totalFeatureCount - count of total features in the feature table
        allFeatureResults - results in a feature result set
        Returns:
        custom image, or null