public class TPKTile extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TPKTile.TileInfo
Temporary utility object to keep tile location/length info
Note that in a V1 cache only the tileDataOffset field is utilized as the length is stored
at that location (32-bit int) and the actual tile data is at tileDataOffset+4
In a V2 cache both fields are used and populated directly from the tile's index entry
|
static class |
TPKTile.TPKTileSorter
Sort comparator -- sorts tiles by bundle and then the tile data offset
|
Modifier and Type | Field and Description |
---|---|
int |
bundleNum |
long |
col |
String |
imageFormat |
long |
row |
byte[] |
tileData |
TPKTile.TileInfo |
tileInfo |
long |
zoomLevel |
Constructor and Description |
---|
TPKTile(long zoomLevel,
long col,
long row,
String imageFormat,
TPKTile.TileInfo tileInfo,
int bundleNum) |
Modifier and Type | Method and Description |
---|---|
void |
setTileData(byte[] tileData) |
public long zoomLevel
public long col
public long row
public String imageFormat
public byte[] tileData
public TPKTile.TileInfo tileInfo
public int bundleNum
public TPKTile(long zoomLevel, long col, long row, String imageFormat, TPKTile.TileInfo tileInfo, int bundleNum)
Copyright © 1996–2023 Geotools. All rights reserved.