public class UrlTileGenerator extends TileGenerator
boundingBox, context| Constructor and Description |
|---|
UrlTileGenerator(Context context,
GeoPackage geoPackage,
String tableName,
String tileUrl,
int minZoom,
int maxZoom)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
createTile(int z,
long x,
long y)
Create the tile
|
boolean |
isTms()
Is TMS URL
|
protected void |
preTileGeneration()
Called after set up and right before tile generation starts for the first
zoom level
|
void |
setTms(boolean tms)
Set the TMS URL flag
|
close, generateTiles, getCompressFormat, getCompressQuality, getGeoPackage, getMaxZoom, getMinZoom, getProgress, getTableName, getTileBoundingBox, getTileBoundingBox, getTileCount, isGoogleTiles, setBitmapCompressionConfig, setCompressFormat, setCompressQuality, setGoogleTiles, setProgress, setTileBoundingBox, setTileBoundingBoxpublic UrlTileGenerator(Context context, GeoPackage geoPackage, String tableName, String tileUrl, int minZoom, int maxZoom)
context - geoPackage - tableName - tileUrl - minZoom - maxZoom - public boolean isTms()
public void setTms(boolean tms)
tms - true if a TMS URLprotected void preTileGeneration()
preTileGeneration in class TileGeneratorprotected byte[] createTile(int z,
long x,
long y)
createTile in class TileGenerator