Manages map tiles
More...
◆ Add()
Add a tile to the manager
- Parameters
-
◆ GetTile() [1/2]
OnlineMapsTile OnlineMapsTileManager.GetTile |
( |
int |
zoom, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
Gets a tile for zoom, x, y.
- Parameters
-
zoom | Tile zoom |
x | Tile X |
y | Tile Y |
- Returns
- Tile or null
◆ GetTile() [2/2]
bool OnlineMapsTileManager.GetTile |
( |
int |
zoom, |
|
|
int |
x, |
|
|
int |
y, |
|
|
out OnlineMapsTile |
tile |
|
) |
| |
Gets a tile for zoom, x, y.
- Parameters
-
zoom | Tile zoom |
x | Tile X |
y | Tile Y |
tile | Tile |
- Returns
- True - success, false - otherwise
◆ GetTileKey()
static ulong OnlineMapsTileManager.GetTileKey |
( |
int |
zoom, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
static |
Gets a tile key for zoom, x, y.
- Parameters
-
zoom | Tile zoom |
x | Tile X |
y | Tile Y |
- Returns
- Tile key
◆ Remove()
◆ Reset()
void OnlineMapsTileManager.Reset |
( |
| ) |
|
Reset state of tile manager and dispose all tiles
◆ StartDownloading()
void OnlineMapsTileManager.StartDownloading |
( |
| ) |
|
Start next downloads (if any).
◆ StartDownloadTile()
static void OnlineMapsTileManager.StartDownloadTile |
( |
OnlineMapsTile |
tile | ) |
|
|
static |
Starts downloading of specified tile.
- Parameters
-
tile | Tile to be downloaded. |
◆ maxTileDownloads
int OnlineMapsTileManager.maxTileDownloads = 5 |
|
static |
The maximum number simultaneously downloading tiles.
◆ OnLoadFromCache
This event is used to load a tile from the cache. Use this event only if you are implementing your own caching system.
◆ OnPreloadTiles
Action OnlineMapsTileManager.OnPreloadTiles |
|
static |
The event occurs after generating buffer and before update control to preload tiles for tileset.
◆ OnPrepareDownloadTile
This event is used in preparation for loading a tile.
◆ OnStartDownloadTile
An event that occurs when loading the tile. Allows you to intercept of loading tile, and load it yourself.
◆ OnTileLoaded
This event is occurs when a tile is loaded.
◆ dTiles
◆ map
◆ tiles