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.0
  • Method Summary

    Modifier and Type
    Method
    Description
    drawTile(int tileWidth, int tileHeight, long tileFeatureCount, FeatureIndexResults featureIndexResults)
    Draw a custom tile
    drawUnindexedTile(int tileWidth, int tileHeight, long totalFeatureCount, FeatureCursor allFeatureResults)
    Draw a custom tile when the number of features within the tile is unknown.
  • Method Details

    • drawTile

      Bitmap 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 - results as feature index results
      Returns:
      custom bitmap, or null
    • drawUnindexedTile

      Bitmap drawUnindexedTile(int tileWidth, int tileHeight, long totalFeatureCount, FeatureCursor 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 cursor
      Returns:
      custom bitmap, or null