Interface CustomFeaturesTile
-
- All Known Implementing Classes:
NumberFeaturesTile
public interface CustomFeaturesTileInterface defining custom feature tile drawing. The tile drawn will be used instead of drawing all of the features.- Since:
- 1.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitmapdrawTile(int tileWidth, int tileHeight, long tileFeatureCount, FeatureIndexResults featureIndexResults)Draw a custom tileBitmapdrawUnindexedTile(int tileWidth, int tileHeight, long totalFeatureCount, FeatureCursor allFeatureResults)Draw a custom tile when the number of features within the tile is unknown.
-
-
-
Method Detail
-
drawTile
Bitmap 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- 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 drawtileHeight- tile height to drawtotalFeatureCount- count of total features in the feature tableallFeatureResults- results in a feature cursor- Returns:
- custom bitmap, or null
-
-