|
Online Maps v3
|
File cache atlas. More...
Public Member Functions | |
| void | Add (OnlineMapsCache cache, OnlineMapsTile tile, byte[] bytes) |
| Adds the tile to the cache. | |
| void | Add (OnlineMapsCache cache, OnlineMapsTile tile, OnlineMapsProvider.MapType mapType, byte[] bytes) |
| Adds the tile to the cache. | |
| string | GetFullPath (OnlineMapsCache cache, string shortFilename) |
| Gets the full path to the tile. | |
Public Member Functions inherited from OnlineMapsCache.CacheAtlas< FileCacheItem > | |
| CacheAtlas () | |
| Constructor. | |
| bool | Contains (string filename) |
| Checks whether the atlas contains the specified file. | |
| T | CreateItem (string filename, int size, long time) |
| Creates a new item. | |
| void | DeleteOldItems (OnlineMapsCache cache) |
| Deletes old items. | |
| void | Load (OnlineMapsCache cache) |
| Loads the atlas from the cache. | |
| void | Save (OnlineMapsCache cache) |
| Saves the atlas. | |
Static Public Attributes | |
| const string | AtlasName = "tilecacheatlas.dat" |
| File cache atlas name. | |
Properties | |
| override string | atlasName [get] |
| Gets the name of the atlas. | |
Properties inherited from OnlineMapsCache.CacheAtlas< FileCacheItem > | |
| string | atlasName [get] |
| Name of the atlas. | |
| int | size [get, protected set] |
| Size of the atlas. | |
Additional Inherited Members | |
Protected Attributes inherited from OnlineMapsCache.CacheAtlas< FileCacheItem > | |
| int | capacity |
| Capacity of the atlas. | |
| int | count |
| Count of items in the atlas. | |
| T[] | items |
| Items of the atlas. | |
Static Protected Attributes inherited from OnlineMapsCache.CacheAtlas< FileCacheItem > | |
| const short | ATLAS_VERSION |
| Version of the atlas. | |
File cache atlas.
| void OnlineMapsCache.FileCacheAtlas.Add | ( | OnlineMapsCache | cache, |
| OnlineMapsTile | tile, | ||
| byte[] | bytes ) |
Adds the tile to the cache.
| cache | Cache |
| tile | Tile |
| bytes | Bytes of tile |
| void OnlineMapsCache.FileCacheAtlas.Add | ( | OnlineMapsCache | cache, |
| OnlineMapsTile | tile, | ||
| OnlineMapsProvider.MapType | mapType, | ||
| byte[] | bytes ) |
Adds the tile to the cache.
| cache | Cache |
| tile | Tile |
| mapType | Map Type |
| bytes | Bytes of tile |
| string OnlineMapsCache.FileCacheAtlas.GetFullPath | ( | OnlineMapsCache | cache, |
| string | shortFilename ) |
Gets the full path to the tile.
| cache | Cache |
| shortFilename | Short filename without extension |