public class FeatureTileGenerator extends TileGenerator
boundingBox, context| Constructor and Description |
|---|
FeatureTileGenerator(Context context,
GeoPackage geoPackage,
String tableName,
FeatureTiles featureTiles,
int minZoom,
int maxZoom)
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, getTableName, getTileBoundingBox, getTileBoundingBox, getTileCount, isGoogleTiles, setBitmapCompressionConfig, setCompressFormat, setCompressQuality, setGoogleTiles, setProgress, setTileBoundingBox, setTileBoundingBoxpublic FeatureTileGenerator(Context context, GeoPackage geoPackage, String tableName, FeatureTiles featureTiles, int minZoom, int maxZoom)
context - geoPackage - tableName - featureTiles - minZoom - maxZoom - public 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