FileRasterTileCache¶
Inheritance Hierarchy¶
Object
TileCache
RasterTileCache
FileRasterTileCache
Members Summary¶
Public Constructors Summary¶
Name |
---|
FileRasterTileCache() |
FileRasterTileCache(String) |
FileRasterTileCache(String,String) |
FileRasterTileCache(String,String,RasterTileFormat) |
Protected Constructors Summary¶
Name |
---|
N/A |
Public Properties Summary¶
Name | Return Type | Description |
---|---|---|
CacheDirectory | String | Gets or sets the cache direcory. |
CacheId | String | N/A |
ExpirationTime | TimeSpan | N/A |
ImageFormat | RasterTileFormat | N/A |
JpegQuality | Int16 | N/A |
LoadingTileImage | GeoImage | N/A |
NoDataTileImage | GeoImage | N/A |
TileAccessMode | TileAccessMode | N/A |
Protected Properties Summary¶
Name | Return Type | Description |
---|---|---|
N/A | N/A | N/A |
Public Methods Summary¶
Name |
---|
ClearCache(TimeSpan) |
ClearCache(Double) |
ClearCache(TimeSpan,Double) |
ClearCache() |
DeleteTile(Tile) |
Equals(Object) |
GetHashCode() |
GetTile(Int32,Int64,Int64) |
GetType() |
SaveTile(Tile) |
ToString() |
Protected Methods Summary¶
Public Events Summary¶
Name | Event Arguments | Description |
---|---|---|
GottenCacheTile | GottenCacheImageBitmapTileCacheEventArgs | N/A |
GettingCacheTile | GettingCacheImageBitmapTileCacheEventArgs | N/A |
Members Detail¶
Public Constructors¶
Name |
---|
FileRasterTileCache() |
FileRasterTileCache(String) |
FileRasterTileCache(String,String) |
FileRasterTileCache(String,String,RasterTileFormat) |
Protected Constructors¶
Public Properties¶
CacheDirectory
¶
Summary
Gets or sets the cache direcory.
Remarks
N/A
Return Value
String
CacheId
¶
Summary
N/A
Remarks
N/A
Return Value
String
ExpirationTime
¶
Summary
N/A
Remarks
N/A
Return Value
TimeSpan
ImageFormat
¶
Summary
N/A
Remarks
N/A
Return Value
JpegQuality
¶
Summary
N/A
Remarks
N/A
Return Value
Int16
LoadingTileImage
¶
Summary
N/A
Remarks
N/A
Return Value
NoDataTileImage
¶
Summary
N/A
Remarks
N/A
Return Value
TileAccessMode
¶
Summary
N/A
Remarks
N/A
Return Value
Protected Properties¶
Public Methods¶
ClearCache(TimeSpan)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
tileExpiration | TimeSpan | N/A |
ClearCache(Double)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
maxSizeInMegabytes | Double | N/A |
ClearCache(TimeSpan,Double)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
tileExpiration | TimeSpan | N/A |
maxSizeInMegabytes | Double | N/A |
ClearCache()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
DeleteTile(Tile)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
tile | Tile | N/A |
Equals(Object)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Boolean | N/A |
Parameters
Name | Type | Description |
---|---|---|
obj | Object | N/A |
GetHashCode()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Int32 | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
GetTile(Int32,Int64,Int64)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Tile | N/A |
Parameters
Name | Type | Description |
---|---|---|
zoom | Int32 | N/A |
column | Int64 | N/A |
row | Int64 | N/A |
GetType()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Type | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
SaveTile(Tile)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
tile | Tile | N/A |
ToString()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
String | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
Protected Methods¶
CheckExpiration(String)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Boolean | N/A |
Parameters
Name | Type | Description |
---|---|---|
tileImageFileName | String | N/A |
ClearCacheCore()
¶
Summary
This method will clear all the tiles in the tileCache.
Remarks
This method will not take effect when the Read is set to true.
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
DeleteTileCore(Tile)
¶
Summary
This method will delete the target tileView passed in.
Remarks
This method will not take effect when the Read is set to true.
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
tile | Tile | The target tileView to be deleted. |
Finalize()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
GetTileCore(Int32,Int64,Int64)
¶
Summary
This method returns the BitmapTile corresponding to passed in row and column.
Remarks
N/A
Return Value
Type | Description |
---|---|
Tile | Returns the BitmapTile corresponding to the passed in row and column. |
Parameters
Name | Type | Description |
---|---|---|
zoom | Int32 | N/A |
column | Int64 | The target column for the tileView to fetch. |
row | Int64 | The target row for the tileView to fetch. |
MemberwiseClone()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Object | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
OnGettingCacheTile(GettingCacheImageBitmapTileCacheEventArgs)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
e | GettingCacheImageBitmapTileCacheEventArgs | N/A |
OnGottenCacheTile(GottenCacheImageBitmapTileCacheEventArgs)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
e | GottenCacheImageBitmapTileCacheEventArgs | N/A |
SaveTileCore(Tile)
¶
Summary
This method will save the target tileView passed in, you could override this API to create your own logic.
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
tile | Tile | The target tileView to be saved. |
Public Events¶
GottenCacheTile¶
N/A
Remarks
N/A
Event Arguments
GottenCacheImageBitmapTileCacheEventArgs
GettingCacheTile¶
N/A
Remarks
N/A
Event Arguments