toggle menu
mapsglmaps
androidJvm
switch theme
search in API
mapsglmaps
/
com.xweather.mapsglmaps.tiles
/
TileCache
Tile
Cache
class
TileCache
<
DataType
:
TileData
>
Members
Constructors
Tile
Cache
Link copied to clipboard
constructor
(
)
Properties
_pending
Link copied to clipboard
val
_pending
:
MutableMap
<
String
,
Tile
<
DataType
>
>
_persistents
Link copied to clipboard
val
_persistents
:
MutableMap
<
String
,
Tile
<
DataType
>
>
_requested
Tiles
Link copied to clipboard
val
_requestedTiles
:
MutableMap
<
String
,
Int
>
_stale
Link copied to clipboard
val
_stale
:
MutableMap
<
String
,
Boolean
>
_tiles
Link copied to clipboard
val
_tiles
:
MutableMap
<
String
,
Tile
<
DataType
>
>
already
Bound
Link copied to clipboard
var
alreadyBound
:
Boolean
capacity
Link copied to clipboard
val
capacity
:
Int
copy
Map
Link copied to clipboard
lateinit
var
copyMap
:
MutableMap
<
String
,
Tile
<
DataType
>
>
count
Link copied to clipboard
val
count
:
Int
hash
Map
Link copied to clipboard
val
hashMap
:
HashMap
<
String
,
Int
>
keys
Link copied to clipboard
val
keys
:
Set
<
String
>
last
Tile
Count
Link copied to clipboard
var
lastTileCount
:
Int
levels
Link copied to clipboard
val
levels
:
MutableMap
<
Int
,
MutableList
<
Tile
<
DataType
>
>
>
pending
Count
Link copied to clipboard
val
pendingCount
:
Int
stale
Count
Link copied to clipboard
val
staleCount
:
Int
Functions
bind
Textures
Link copied to clipboard
fun
bindTextures
(
)
:
HashMap
<
String
,
Int
>
Called from LayerHost. This is a placeholder until a better solution (RenderState?) is created
contains
Link copied to clipboard
fun
contains
(
coord
:
TileCoord
)
:
Boolean
get
Link copied to clipboard
operator
fun
get
(
coord
:
TileCoord
)
:
Tile
<
DataType
>
?
is
Pending
Link copied to clipboard
fun
isPending
(
coord
:
TileCoord
)
:
Boolean
is
Stale
Link copied to clipboard
fun
isStale
(
tile
:
Tile
<
DataType
>
)
:
Boolean
remove
All
Link copied to clipboard
fun
removeAll
(
)
set
Link copied to clipboard
operator
fun
set
(
coord
:
TileCoord
,
tile
:
Tile
<
DataType
>
?
)
set
Pending
Link copied to clipboard
fun
setPending
(
isPending
:
Boolean
,
tile
:
Tile
<
DataType
>
)
set
Stale
Link copied to clipboard
fun
setStale
(
isStale
:
Boolean
,
tile
:
Tile
<
DataType
>
)
update
Tile
Link copied to clipboard
fun
updateTile
(
tile
:
Tile
<
DataType
>
)
fun
updateTile
(
tile
:
Tile
<
DataType
>
,
coord
:
TileCoord
)