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 TypeMethodDescriptiondrawTile
(int tileWidth, int tileHeight, long tileFeatureCount, FeatureIndexResults featureIndexResults) Draw a custom tiledrawUnindexedTile
(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 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
-