public class FeatureTileGenerator extends TileGenerator
boundingBox, context, projection| Constructor and Description |
|---|
FeatureTileGenerator(Context context,
GeoPackage geoPackage,
String tableName,
FeatureTiles featureTiles,
int minZoom,
int maxZoom,
BoundingBox boundingBox,
Projection projection)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
createTile(int z,
long x,
long y)
Create the tile
|
boolean |
isLinkTables()
Is the feature table going to be linked with the tile table? Defaults to
true.
|
protected void |
preTileGeneration()
Called after set up and right before tile generation starts for the first
zoom level
|
void |
setLinkTables(boolean linkTables)
Set the link tables flag
|
close, generateTiles, getCompressFormat, getCompressQuality, getGeoPackage, getMaxZoom, getMinZoom, getProgress, getScaling, getTableName, getTileCount, isGoogleTiles, setBitmapCompressionConfig, setCompressFormat, setCompressQuality, setGoogleTiles, setProgress, setScalingpublic FeatureTileGenerator(Context context, GeoPackage geoPackage, String tableName, FeatureTiles featureTiles, int minZoom, int maxZoom, BoundingBox boundingBox, Projection projection)
context - app contextgeoPackage - GeoPackagetableName - table namefeatureTiles - feature tilesminZoom - min zoommaxZoom - max zoomboundingBox - tiles bounding boxprojection - tiles projectionpublic boolean isLinkTables()
public void setLinkTables(boolean linkTables)
linkTables - protected void preTileGeneration()
preTileGeneration in class TileGeneratorprotected byte[] createTile(int z,
long x,
long y)
createTile in class TileGenerator