User Tools

Site Tools


thinkgeo.mapsuite.core.inmemorybitmaptilecache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
thinkgeo.mapsuite.core.inmemorybitmaptilecache [2015/09/17 10:31]
admin
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.Core.InMemoryBitmapTileCache ====== 
-This class is a concrete class inherits from BitmapTileCache. In this class, the tiles will be saved in memory and it provides some properties to control it very easily. 
-===== Inheritance Hierarchy ===== 
-  *System.Object 
-    *ThinkGeo.MapSuite.Core.TileCache 
-      *ThinkGeo.MapSuite.Core.BitmapTileCache 
-        ***ThinkGeo.MapSuite.Core.InMemoryBitmapTileCache** 
-===== Members Summary ===== 
-=== Public Constructors === 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​InMemoryBitmapTileCache()|InMemoryBitmapTileCache]]** 
-  * **Parameters**:​N/​A 
-  * **DeclaringType**:​N/​A 
-  * **Summary**:​This is the default constructor. 
-</​div>​ 
- 
-=== Protected Constructors === 
-=== Public Methods === 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​ClearCache()|ClearCache]]** 
-  * **Parameters**:​N/​A 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​DeleteTile(Tile)|DeleteTile]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​DeleteTiles(RectangleShape)|DeleteTiles]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​Equals(Object)|Equals]]** 
-  * **Parameters**:​Object 
-  * **DeclaringType**:​Object 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​GetHashCode()|GetHashCode]]** 
-  * **Parameters**:​N/​A 
-  * **DeclaringType**:​Object 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​GetHigherScaleTile(RectangleShape,​Double)|GetHigherScaleTile]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Double 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​GetTile(RectangleShape)|GetTile]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​GetTile(Int64,​Int64)|GetTile]]** 
-  * **Parameters**:​Int64,​Int64 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​GetTiles(RectangleShape)|GetTiles]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​GetType()|GetType]]** 
-  * **Parameters**:​N/​A 
-  * **DeclaringType**:​Object 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​SaveTile(Tile)|SaveTile]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​SaveTiles(Bitmap,​RectangleShape,​Boolean)|SaveTiles]]** 
-  * **Parameters**:​Bitmap,​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Boolean 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​SaveTiles(Bitmap,​RectangleShape)|SaveTiles]]** 
-  * **Parameters**:​Bitmap,​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​PublicMethod.gif|}}[[#​ToString()|ToString]]** 
-  * **Parameters**:​N/​A 
-  * **DeclaringType**:​Object 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-=== Protected Methods === 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​ClearCacheCore()|ClearCacheCore]]** 
-  * **Parameters**:​N/​A 
-  * **DeclaringType**:​N/​A 
-  * **Summary**:​This method will clear all the tiles in the tileCache. 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​DeleteTileCore(Tile)|DeleteTileCore]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-  * **DeclaringType**:​N/​A 
-  * **Summary**:​This method will delete the target tile passed in. 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​Finalize()|Finalize]]** 
-  * **Parameters**:​N/​A 
-  * **DeclaringType**:​Object 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​GetHigherScaleTileCore(RectangleShape,​Double)|GetHigherScaleTileCore]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Double 
-  * **DeclaringType**:​N/​A 
-  * **Summary**:​This method overrides the logic in its base class BitmapTileCache. This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​GetTileCore(Int64,​Int64)|GetTileCore]]** 
-  * **Parameters**:​Int64,​Int64 
-  * **DeclaringType**:​N/​A 
-  * **Summary**:​This method returns the BitmapTile corresponding to passed in row and column. 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​MemberwiseClone()|MemberwiseClone]]** 
-  * **Parameters**:​N/​A 
-  * **DeclaringType**:​Object 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​MergeBitmaps(IEnumerable<​BitmapTile>,​Double)|MergeBitmaps]]** 
-  * **Parameters**:​IEnumerable<​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]>,​Double 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs)|OnGettingCacheImage]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs)|OnGottenCacheImage]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] 
-  * **DeclaringType**:​[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] 
-  * **Summary**:​N/​A 
-</​div>​ 
- 
-<div class_table>​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​SaveTileCore(Tile)|SaveTileCore]]** 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-  * **DeclaringType**:​N/​A 
-  * **Summary**:​This method will save the target tile passed in. 
-</​div>​ 
- 
-=== Public Properties === 
-**{{wiki:​PublicProperty.gif|}}[[#​CacheId|CacheId]]** 
-  * **Return**:​String 
-  * **Summary**:​N/​A 
- 
-**{{wiki:​PublicProperty.gif|}}[[#​CachedTilesByScale|CachedTilesByScale]]** 
-  * **Return**:​[[ThinkGeo.MapSuite.Core.GeoCollection<​T>​[[System.Collections.Generic.Dictionary`2[[System.String,​ mscorlib, Version=4.0.0.0,​ Culture=neutral,​ PublicKeyToken=b77a5c561934e089],​[ThinkGeo.MapSuite.Core.BitmapTile,​ MapSuiteCore,​ Version=9.0.0.0,​ Culture=neutral,​ PublicKeyToken=null]],​ mscorlib, Version=4.0.0.0,​ Culture=neutral,​ PublicKeyToken=b77a5c561934e089]]|GeoCollection<​T>​]] 
-  * **Summary**:​This property gets the Cached tiles,each item is a Dictionary with scale as its key. 
- 
-**{{wiki:​PublicProperty.gif|}}[[#​ImageFormat|ImageFormat]]** 
-  * **Return**:​[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] 
-  * **Summary**:​N/​A 
- 
-**{{wiki:​PublicProperty.gif|}}[[#​JpegQuality|JpegQuality]]** 
-  * **Return**:​Int16 
-  * **Summary**:​N/​A 
- 
-**{{wiki:​PublicProperty.gif|}}[[#​LoadingTileImage|LoadingTileImage]]** 
-  * **Return**:​Bitmap 
-  * **Summary**:​N/​A 
- 
-**{{wiki:​PublicProperty.gif|}}[[#​MaximumTilesCount|MaximumTilesCount]]** 
-  * **Return**:​Int32 
-  * **Summary**:​This property gets or sets the maximum tiles count, if it exceed,it will delete the old first cached tiles. 
- 
-**{{wiki:​PublicProperty.gif|}}[[#​NoDataTileImage|NoDataTileImage]]** 
-  * **Return**:​Bitmap 
-  * **Summary**:​N/​A 
- 
-**{{wiki:​PublicProperty.gif|}}[[#​TileAccessMode|TileAccessMode]]** 
-  * **Return**:​[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] 
-  * **Summary**:​N/​A 
- 
-**{{wiki:​PublicProperty.gif|}}[[#​TileMatrix|TileMatrix]]** 
-  * **Return**:​[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] 
-  * **Summary**:​N/​A 
- 
-=== Protected Properties === 
-=== Public Events === 
-**{{wiki:​PublicEvent.gif|}}[[#​GettingCacheImage|GettingCacheImage]]** 
-  * **Event Arguments**:​[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] 
-  * **Summary**:​N/​A 
- 
-**{{wiki:​PublicEvent.gif|}}[[#​GottenCacheImage|GottenCacheImage]]** 
-  * **Event Arguments**:​[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] 
-  * **Summary**:​N/​A 
- 
-===== Public Constructors ===== 
-=== InMemoryBitmapTileCache() === 
-This is the default constructor. 
-==== Remarks ==== 
-If you use this constructor,​ you have to set the properties manually. 
-==== Parameters ==== 
-[[#Public Constructors|Go Back]] 
-===== Protected Constructors ===== 
-===== Public Methods ===== 
-=== ClearCache() === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-[[#Public Methods|Go Back]] 
-=== DeleteTile(Tile) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**tile** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== DeleteTiles(RectangleShape) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**worldExtent** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== Equals(Object) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​Boolean 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**obj** 
-  * **Type**:​Object 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== GetHashCode() === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​Int32 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-[[#Public Methods|Go Back]] 
-=== GetHigherScaleTile(RectangleShape,​Double) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**tileBoundingBox** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:​N/​A 
- 
-**tileScale** 
-  * **Type**:​Double 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== GetTile(RectangleShape) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**tileBoundingBox** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== GetTile(Int64,​Int64) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**row** 
-  * **Type**:​Int64 
-  * **Description**:​N/​A 
- 
-**column** 
-  * **Type**:​Int64 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== GetTiles(RectangleShape) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​Collection<​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]>​ 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**worldExtent** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== GetType() === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Type 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-[[#Public Methods|Go Back]] 
-=== SaveTile(Tile) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**tile** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== SaveTiles(Bitmap,​RectangleShape,​Boolean) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**bitmap** 
-  * **Type**:​Bitmap 
-  * **Description**:​N/​A 
- 
-**bitmapExtent** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:​N/​A 
- 
-**saveContainedCellsOnly** 
-  * **Type**:​Boolean 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== SaveTiles(Bitmap,​RectangleShape) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**bitmap** 
-  * **Type**:​Bitmap 
-  * **Description**:​N/​A 
- 
-**bitmapExtent** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:​N/​A 
- 
-[[#Public Methods|Go Back]] 
-=== ToString() === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​String 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-[[#Public Methods|Go Back]] 
-===== Protected Methods ===== 
-=== ClearCacheCore() === 
-This method will clear all the tiles in the tileCache. 
-==== Remarks ==== 
-This method will not take effect when the ReadOnly is set to true. 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-[[#​Protected Methods|Go Back]] 
-=== DeleteTileCore(Tile) === 
-This method will delete the target tile passed in. 
-==== Remarks ==== 
-This method will not take effect when the ReadOnly is set to true. 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**tile** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-  * **Description**:​The target tile to be deleted. 
- 
-[[#​Protected Methods|Go Back]] 
-=== Finalize() === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-[[#​Protected Methods|Go Back]] 
-=== GetHigherScaleTileCore(RectangleShape,​Double) === 
-This method overrides the logic in its base class BitmapTileCache. This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] 
-  * **Description**:​Returns the higher scale(higher zoomLevel) bitmap tile. 
- 
-==== Parameters ==== 
-**tileBoundingBox** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:​The parameter specifies the current tile bounding box. 
- 
-**tileScale** 
-  * **Type**:​Double 
-  * **Description**:​This parameter specifies the current tile scale. 
- 
-[[#​Protected Methods|Go Back]] 
-=== GetTileCore(Int64,​Int64) === 
-This method returns the BitmapTile corresponding to passed in row and column. 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] 
-  * **Description**:​Returns the BitmapTile corresponding to the passed in row and column. 
- 
-==== Parameters ==== 
-**row** 
-  * **Type**:​Int64 
-  * **Description**:​The target row for the tile to fetch. 
- 
-**column** 
-  * **Type**:​Int64 
-  * **Description**:​The target column for the tile to fetch. 
- 
-[[#​Protected Methods|Go Back]] 
-=== MemberwiseClone() === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​Object 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-[[#​Protected Methods|Go Back]] 
-=== MergeBitmaps(IEnumerable<​BitmapTile>,​Double) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**tilesToMerge** 
-  * **Type**:​IEnumerable<​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]>​ 
-  * **Description**:​N/​A 
- 
-**scale** 
-  * **Type**:​Double 
-  * **Description**:​N/​A 
- 
-[[#​Protected Methods|Go Back]] 
-=== OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**e** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] 
-  * **Description**:​N/​A 
- 
-[[#​Protected Methods|Go Back]] 
-=== OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**e** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] 
-  * **Description**:​N/​A 
- 
-[[#​Protected Methods|Go Back]] 
-=== SaveTileCore(Tile) === 
-This method will save the target tile passed in. 
-==== Remarks ==== 
-This method will not take effect when the ReadOnly is set to true. 
- 
-**Return Value** 
-  * **Return Type**:Void 
-  * **Description**:​N/​A 
- 
-==== Parameters ==== 
-**tile** 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-  * **Description**:​The target tile to be saved. 
- 
-[[#​Protected Methods|Go Back]] 
-===== Public Properties ===== 
-=== CacheId === 
-N/A 
-==== Remarks ==== 
-N/A 
-==== Return Value ==== 
-**Return Type**:​String 
- 
-[[#Public Properties|Go Back]] 
-=== CachedTilesByScale === 
-This property gets the Cached tiles,each item is a Dictionary with scale as its key. 
-==== Remarks ==== 
-N/A 
-==== Return Value ==== 
-**Return Type**:​[[ThinkGeo.MapSuite.Core.GeoCollection<​T>​[[System.Collections.Generic.Dictionary`2[[System.String,​ mscorlib, Version=4.0.0.0,​ Culture=neutral,​ PublicKeyToken=b77a5c561934e089],​[ThinkGeo.MapSuite.Core.BitmapTile,​ MapSuiteCore,​ Version=9.0.0.0,​ Culture=neutral,​ PublicKeyToken=null]],​ mscorlib, Version=4.0.0.0,​ Culture=neutral,​ PublicKeyToken=b77a5c561934e089]]|GeoCollection<​T>​]] 
- 
-[[#Public Properties|Go Back]] 
-=== ImageFormat === 
-N/A 
-==== Remarks ==== 
-N/A 
-==== Return Value ==== 
-**Return Type**:​[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] 
- 
-[[#Public Properties|Go Back]] 
-=== JpegQuality === 
-N/A 
-==== Remarks ==== 
-N/A 
-==== Return Value ==== 
-**Return Type**:​Int16 
- 
-[[#Public Properties|Go Back]] 
-=== LoadingTileImage === 
-N/A 
-==== Remarks ==== 
-N/A 
-==== Return Value ==== 
-**Return Type**:​Bitmap 
- 
-[[#Public Properties|Go Back]] 
-=== MaximumTilesCount === 
-This property gets or sets the maximum tiles count, if it exceed,it will delete the old first cached tiles. 
-==== Remarks ==== 
-N/A 
-==== Return Value ==== 
-**Return Type**:​Int32 
- 
-[[#Public Properties|Go Back]] 
-=== NoDataTileImage === 
-N/A 
-==== Remarks ==== 
-N/A 
-==== Return Value ==== 
-**Return Type**:​Bitmap 
- 
-[[#Public Properties|Go Back]] 
-=== TileAccessMode === 
-N/A 
-==== Remarks ==== 
-N/A 
-==== Return Value ==== 
-**Return Type**:​[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] 
- 
-[[#Public Properties|Go Back]] 
-=== TileMatrix === 
-N/A 
-==== Remarks ==== 
-N/A 
-==== Return Value ==== 
-**Return Type**:​[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] 
- 
-[[#Public Properties|Go Back]] 
-===== Protected Properties ===== 
-===== Public Events ===== 
-=== GettingCacheImage === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Event Arguments**:​[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] 
- 
-[[#Public Events|Go Back]] 
-=== GottenCacheImage === 
-N/A 
-==== Remarks ==== 
-N/A 
- 
-**Event Arguments**:​[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] 
- 
-[[#Public Events|Go Back]] 
  
thinkgeo.mapsuite.core.inmemorybitmaptilecache.1442485911.txt.gz ยท Last modified: 2015/09/17 10:31 by admin