Méthode | Description | |
---|---|---|
ExtractTileBytes ( string layer, BoundingRectangle area, string key, string contentType ) : byte[] |
Extracts a binary representation of tile from cache.
|
|
FileTileCacheAccessor ( string path ) : System.Text |
Initializes a new instance of the MapAround.Caching.FileTileCacheAccessor
|
|
GetCacheFile ( string layer, BoundingRectangle area, string key, string contentType ) : string |
Gets the physical location of the file
|
|
Invalidate ( BoundingRectangle area ) : void |
Invalidate cache given area.
|
|
Invalidate ( string layer, BoundingRectangle area ) : void |
Invalidate cache given area.
|
|
SaveTileBytes ( string layer, BoundingRectangle area, string key, byte tile, string contentType ) : void |
Saves a binary representation of an image into cache.
|
Méthode | Description | |
---|---|---|
FileNameFromCacheKey ( string cacheKey, string contentType ) : string |
Gets a file name (excluding directory name) by the cache access key.
|
|
GetAreaDir ( BoundingRectangle rectangle ) : string |
Gets area
|
|
GetLayerDir ( string Layer ) : string |
Gets layer directory
|
Méthode | Description | |
---|---|---|
CheckIntersect ( string path, double layerValue, string param ) : IEnumerable |
Helps to find the intersection.
|
|
DeleteEmptyDirectory ( string path ) : void |
Deletes an empty directory.
|
|
Lock ( ) : void | ||
Unlock ( ) : void |
public ExtractTileBytes ( string layer, BoundingRectangle area, string key, string contentType ) : byte[] | ||
layer | string | |
area | BoundingRectangle | |
key | string | Access key |
contentType | string | |
Résultat | byte[] |
protected FileNameFromCacheKey ( string cacheKey, string contentType ) : string | ||
cacheKey | string | A cache access key |
contentType | string | |
Résultat | string |
public FileTileCacheAccessor ( string path ) : System.Text | ||
path | string | The path to the files of cache |
Résultat | System.Text |
protected GetAreaDir ( BoundingRectangle rectangle ) : string | ||
rectangle | BoundingRectangle | |
Résultat | string |
public GetCacheFile ( string layer, BoundingRectangle area, string key, string contentType ) : string | ||
layer | string | |
area | BoundingRectangle | |
key | string | |
contentType | string | |
Résultat | string |
protected GetLayerDir ( string Layer ) : string | ||
Layer | string | |
Résultat | string |
public Invalidate ( BoundingRectangle area ) : void | ||
area | BoundingRectangle | |
Résultat | void |
public Invalidate ( string layer, BoundingRectangle area ) : void | ||
layer | string | Layer |
area | BoundingRectangle | Given area |
Résultat | void |
public SaveTileBytes ( string layer, BoundingRectangle area, string key, byte tile, string contentType ) : void | ||
layer | string | |
area | BoundingRectangle | |
key | string | Access key |
tile | byte | Byte array that contains a binary representation of a tile image |
contentType | string | |
Résultat | void |