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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BufferedImage
drawTile(int tileWidth, int tileHeight, long tileFeatureCount, FeatureIndexResults featureIndexResults)
Draw a custom tileBufferedImage
drawUnindexedTile(int tileWidth, int tileHeight, long totalFeatureCount, FeatureResultSet allFeatureResults)
Draw a custom tile when the number of features within the tile is unknown.
-
-
-
Method Detail
-
drawTile
BufferedImage drawTile(int tileWidth, int tileHeight, long tileFeatureCount, FeatureIndexResults featureIndexResults)
Draw a custom tile- Parameters:
tileWidth
- tile width to drawtileHeight
- tile height to drawtileFeatureCount
- count of features in the requested tilefeatureIndexResults
- 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 drawtileHeight
- tile height to drawtotalFeatureCount
- count of total features in the feature tableallFeatureResults
- results in a feature result set- Returns:
- custom image, or null
-
-