User Tools

Site Tools


thinkgeo.mapsuite.core.filebitmaptilecache

Differences

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

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.core.filebitmaptilecache [2015/08/20 03:08]
127.0.0.1 external edit
thinkgeo.mapsuite.core.filebitmaptilecache [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.Core.FileBitmapTileCache ====== ====== ThinkGeo.MapSuite.Core.FileBitmapTileCache ======
  
 +{{section>​upgrade_map_suite_to_10.0}}
  
- 
-<!-- Class --> 
 This class is a concrete class inherits from BitmapTileCache. In this class, the tiles will be saved in disk and can be viewed very conveniently. This class is a concrete class inherits from BitmapTileCache. In this class, the tiles will be saved in disk and can be viewed very conveniently.
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
-*System.Object +  ​*System.Object 
-**[[ThinkGeo.MapSuite.Core.TileCache]] +    *ThinkGeo.MapSuite.Core.TileCache 
-***[[ThinkGeo.MapSuite.Core.BitmapTileCache]] +      *ThinkGeo.MapSuite.Core.BitmapTileCache 
-****[[ThinkGeo.MapSuite.Core.FileBitmapTileCache]] +        ***ThinkGeo.MapSuite.Core.FileBitmapTileCache** 
-*****[[ThinkGeo.MapSuite.Core.EncryptedFileBitmapTileCache]]+          ​*[[ThinkGeo.MapSuite.Core.EncryptedFileBitmapTileCache]]
 ===== Members Summary ===== ===== Members Summary =====
 ==== Public Constructors ==== ==== Public Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} FileBitmapTileCache() ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#FileBitmapTileCache()|FileBitmapTileCache]] ​  ​| ​   |    | This is the default constructor. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​FileBitmapTileCache(String)|FileBitmapTileCache]] ​  | String ​  ​| ​   | This is the overloads constructor. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​FileBitmapTileCache(String,​ String)|FileBitmapTileCache]] ​  | String, String ​  ​| ​   | This is the overloads constructor. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​FileBitmapTileCache(String,​ String, TileImageFormat,​ TileMatrix)|FileBitmapTileCache]] ​  | String, String, [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]],​ [[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] ​  ​| ​   | This is the constructor with all the parameters needed passed in.   |+
  
-==== Protected Constructors ​==== +  * //This is the default constructor.//​ 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^+== Remarks ​== 
 +  * //If you use this constructor,​ you have to set the properties manually.//​ 
 +== Parameters ​== 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} FileBitmapTileCache(String) **
  
 +  * //This is the overloads constructor.//​
 +== Remarks ==
 +  * //If you use this constructor,​ the other properties are set with default values.//
 +== Parameters ==
 +  * //​cacheDirectory//​
 +    * Type:String
 +    * Description:​This parameter specifies the cache directory of the tile cache.
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} FileBitmapTileCache(String,​String) **
 +
 +  * //This is the overloads constructor.//​
 +== Remarks ==
 +  * //If you use this constructor,​ the other properties are set with default values.//
 +== Parameters ==
 +  * //​cacheDirectory//​
 +    * Type:String
 +    * Description:​This parameter specifies the cache directory of the tile cache.
 +
 +  * //cacheId//
 +    * Type:String
 +    * Description:​This parameter specifies the cache id of the tile cache.
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} FileBitmapTileCache(String,​String,​TileImageFormat,​TileMatrix) **
 +
 +  * //This is the constructor with all the parameters needed passed in.//
 +== Remarks ==
 +  * //N/A//
 +== Parameters ==
 +  * //​cacheDirectory//​
 +    * Type:String
 +    * Description:​This parameter specifies the cache directory of the tile cache.
 +
 +  * //cacheId//
 +    * Type:String
 +    * Description:​This parameter specifies the cache id of the tile cache.
 +
 +  * //​imageFormat//​
 +    * Type:​[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]]
 +    * Description:​This parameter specifies the image format of the tile cahce.
 +
 +  * //​tileMatrix//​
 +    * Type:​[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]]
 +    * Description:​This parameter specifies the tile matrix of the tile cache.
 +
 +<div newline></​div>​
 +==== Protected Constructors ====
 ==== Public Methods ==== ==== Public Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} ClearCache(TimeSpan) ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#​ClearCache()|ClearCache]] ​  ​| ​   | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | This method will clear all the tiles in the tileCache. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#ClearCache(TimeSpan)|ClearCache]] ​  | TimeSpan ​  ​| ​   |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ClearCache(Double)|ClearCache]] ​  | Double ​  ​| ​   |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ClearCache(TimeSpan,​ Double)|ClearCache]] ​  | TimeSpan, Double ​  ​| ​   |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​DeleteTile(Tile)|DeleteTile]] ​  | [[ThinkGeo.MapSuite.Core.Tile|Tile]] ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | This method will delete the target tile passed in.   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​DeleteTiles(RectangleShape)|DeleteTiles]] ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | This method will delete the tiles within the passed in worldExtent. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHigherScaleTile(RectangleShape,​ Double)|GetHigherScaleTile]] ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​ Double ​  | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ​  | This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetTile(RectangleShape)|GetTile]] ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ​  | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ​  | This method returns the BitmapTile corresponding to the tile bounding box passed in.   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetTile(Int64,​ Int64)|GetTile]] ​  | Int64, Int64   | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ​  | This method returns the BitmapTile corresponding to passed in row and column. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetTileImageFileName(Int64,​ Int64)|GetTileImageFileName]] ​  | Int64, Int64   ​| ​   |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetTileImageFileNames(RectangleShape)|GetTileImageFileNames]] ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ​  ​| ​   |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetTiles(RectangleShape)|GetTiles]] ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ​  | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ​  | This method returns all the BitmapTiles within the passed in world extent, some of which may not has bitmap. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​SaveTile(Tile)|SaveTile]] ​  | [[ThinkGeo.MapSuite.Core.Tile|Tile]] ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | This method will save the target tile passed in.   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​SaveTiles(Bitmap,​ RectangleShape,​ Boolean)|SaveTiles]] ​  | Bitmap, [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​ Boolean ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​SaveTiles(Bitmap,​ RectangleShape)|SaveTiles]] ​  | Bitmap, [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | This method will save the bitmap with its extent attached into tiles. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Protected Methods ==== +  * //N/A// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +== Remarks ​== 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​ClearCacheCore()|ClearCacheCore]] ​  ​| ​   | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]](overriden) ​  | This method will clear all the tiles in the tileCache. ​  | +  * //N/A//
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​DeleteTileCore(Tile)|DeleteTileCore]] ​  | [[ThinkGeo.MapSuite.Core.Tile|Tile]] ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]](overriden) ​  | This method will delete the target tile passed in.   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetHigherScaleTileCore(RectangleShape,​ Double)|GetHigherScaleTileCore]] ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​ Double ​  | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]](overriden) ​  | 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. ​  | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetTileCore(Int64,​ Int64)|GetTileCore]] ​  | Int64, Int64   | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]](overriden) ​  | This method returns the BitmapTile corresponding to passed in row and column. ​  | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MergeBitmaps(IEnumerable<​BitmapTile>,​ Double)|MergeBitmaps]] ​  | IEnumerable<​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]>,​ Double ​  | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ​  | This method will merege the passed in bitmap tiles into a larege bitmap tile.   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs)|OnGettingCacheImage]] ​  | [[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] ​  | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs)|OnGottenCacheImage]] ​  | [[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] ​  | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​SaveTileCore(Tile)|SaveTileCore]] ​  | [[ThinkGeo.MapSuite.Core.Tile|Tile]] ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]](overriden) ​  | This method will save the target tile passed in, you could override this API to create your own logic. ​  |+
  
-==== Public Properties ==== +== Return Value == 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ +  * Type:Void 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CacheDirectory|CacheDirectory]] ​  | String ​  ​| ​   | Gets or sets the cache direcory. ​  | +  * Description:N/A
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CacheId|CacheId]] ​  | String ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | Gets or sets the id of the TileCache. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ExpirationTime|ExpirationTime]] ​  | TimeSpan ​  ​| ​   |    | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ImageFormat|ImageFormat]] ​  | [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | Gets or sets the tile image format. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​JpegQuality|JpegQuality]] ​  | Int16   | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg.   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​LoadingTileImage|LoadingTileImage]] ​  | Bitmap ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | This property returns back a preset image showing the Tile is loading. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​NoDataTileImage|NoDataTileImage]] ​  | Bitmap ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | This property returns back a preset image showing the tile data is missing. ​  | +
-| {{wiki:PublicProperty.gif|Public Property}}[[#​TileAccessMode|TileAccessMode]] ​  | [[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete ​  | +
-| {{wiki:PublicProperty.gif|Public Property}}[[#​TileMatrix|TileMatrix]] ​  | [[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] ​  | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] ​  | Gets or sets the TileMatrix which is used in caculation for tiles. ​  |+
  
-==== Protected Properties ==== +== Parameters ​== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^+  * //​tileExpiration//​ 
 +    * Type:​TimeSpan 
 +    * Description:​N/​A
  
-==== Public Events ==== +<div newline></​div>​ 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ +** {{wiki:PublicMethod.gif|}} ​ClearCache(Double) **
-{{wiki:PublicEvent.gif|Public Event}}[[#​GettingCacheImage|GettingCacheImage]] ​  | [[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] ​  | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ​  ​| ​   | +
-| {{wiki:​PublicEvent.gif|Public Event}}[[#​GottenCacheImage|GottenCacheImage]] ​  | [[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] ​  | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ​  ​| ​   |+
  
-===== Public Constructors ===== +  * //N/A// 
-==== FileBitmapTileCache() ==== +== Remarks == 
-This is the default constructor. +  ​* //N/A//
-=== Remarks ​=== +
-If you use this constructor,​ you have to set the properties manually. +
-=== Parameters === +
-^  Name ^  Type ^  Description ^+
  
-[[#Public Constructors|Go Back]] +== Return Value == 
-==== FileBitmapTileCache(String) ​==== +  ​Type:Void 
-This is the overloads constructor. +  Description:N/A
-=== Remarks === +
-If you use this constructor,​ the other properties are set with default values. +
-=== Parameters === +
-^  Name ^  ​Type ​ ​Description ​+
-| cacheDirectory ​  | String<​!-- System.String --> ​  | This parameter specifies the cache directory of the tile cache. ​  |+
  
-[[#Public Constructors|Go Back]] +== Parameters == 
-==== FileBitmapTileCache(String,​ String) ==== +  ​* //​maxSizeInMegabytes//​ 
-This is the overloads constructor. +    * Type:Double 
-=== Remarks === +    * Description:N/A
-If you use this constructor,​ the other properties are set with default values. +
-=== Parameters ​=== +
-^  Name ^  ​Type ​^  ​Description ​+
-| cacheDirectory ​  | String<​!-- System.String --> ​  | This parameter specifies the cache directory of the tile cache. ​  | +
-| cacheId ​  | String<​!-- System.String --> ​  | This parameter specifies the cache id of the tile cache. ​  |+
  
-[[#Public Constructors|Go Back]] +<div newline></div
-==== FileBitmapTileCache(String,​ String, TileImageFormat,​ TileMatrix) ==== +** {{wiki:​PublicMethod.gif|}} ClearCache(TimeSpan,​Double) **
-This is the constructor with all the parameters needed passed in. +
-=== Parameters === +
-^  Name ^  Type ^  Description ^ +
-| cacheDirectory ​  | String<!-- System.String --  | This parameter specifies the cache directory of the tile cache. ​  | +
-| cacheId ​  | String<!-- System.String --  | This parameter specifies the cache id of the tile cache. ​  | +
-| imageFormat ​  | [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]]<​!-- ThinkGeo.MapSuite.Core.TileImageFormat --> ​  | This parameter specifies the image format of the tile cahce. ​  | +
-| tileMatrix ​  | [[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]]<​!-- ThinkGeo.MapSuite.Core.TileMatrix --> ​  | This parameter specifies the tile matrix of the tile cache. ​  |+
  
-[[#Public Constructors|Go Back]] +  * //N/A// 
-===== Protected Constructors ===== +== Remarks == 
-===== Public Methods ===== +  * //N/A//
-==== ClearCache() ==== +
-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 ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Void 
 +  Description:N/A
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +  * //​tileExpiration//​ 
-==== ClearCache(TimeSpan) ​==== +    ​* ​Type:TimeSpan 
-=== Return Value === +    ​* Description:​N/​A
-^ Return ​Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //​maxSizeInMegabytes//​ 
-^  Name ^  ​Type ^  Description ^ +    ​* ​Type:Double 
-| tileExpiration ​  | TimeSpan<​!-- System.TimeSpan --> ​  ​| ​   |+    ​* Description:​N/​A
  
-<!-- ThinkGeo.MapSuite.Core.FileBitmapTileCache --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} GetTileImageFileNames(RectangleShape**
-==== ClearCache(Double==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| maxSizeInMegabytes ​  | Double<​!-- System.Double --> ​  ​| ​   |+  ​* //N/A//
  
-<!-- ThinkGeo.MapSuite.Core.FileBitmapTileCache --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Collection<String> 
-==== ClearCache(TimeSpan,​ Double) ==== +  * Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-| Void<!-- System.Void --  |    |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  Description ^ +  ​* //​tileBoundingBox//​ 
-| tileExpiration ​  | TimeSpan<​!-- System.TimeSpan --> ​  ​| ​   ​+    * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-| maxSizeInMegabytes ​  | Double<​!-- System.Double --> ​  ​| ​   |+    ​* Description:​N/​A
  
-<!-- ThinkGeo.MapSuite.Core.FileBitmapTileCache --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} GetTileImageFileName(Int64,Int64**
-==== DeleteTile(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 ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| tile   | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<​!-- ThinkGeo.MapSuite.Core.Tile --> ​  | The target tile to be deleted. ​  |+  ​* //N/A//
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:String 
-==== DeleteTiles(RectangleShape) ==== +  * Description:N/A
-This method will delete the tiles within the passed in worldExtent. +
-=== Return Value === +
-^ Return ​Type Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​+  ​* //row// 
-| worldExtent ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<​!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | The target extent to delete all tiles within it.   |+    * Type:Int64 
 +    * Description:N/A
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +  * //column// 
-[[#Public Methods|Go Back]] +    ​* ​Type:Int64 
-==== Equals(Object) ==== +    ​* Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-| Boolean<​!-- System.Boolean --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​PublicMethod.gif|}} GetTile(RectangleShape) **
-| obj   | Object<​!-- System.Object --> ​  ​| ​   ​|+
  
-<!-- System.Object --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetHashCode() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Int32<​!-- System.Int32 --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +  * //​tileBoundingBox//​ 
-==== GetHigherScaleTile(RectangleShape,​ Double) ​==== +    ​* ​Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. +    * Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<!-- ThinkGeo.MapSuite.Core.BitmapTile --> ​  | Returns the higher scale(higher zoomLevel) bitmap tile.   |+
  
-=== Parameters === +<div newline></div> 
-^  Name ^  Type ^  Description ^ +** {{wiki:​PublicMethod.gif|}} GetTile(Int64,​Int64) **
-| tileBoundingBox ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --  | The parameter specifies the current tile bounding box.   | +
-| tileScale ​  | Double<!-- System.Double --  | This parameter specifies the current tile scale  ​|+
  
-<!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetTile(RectangleShape) ==== +  * //N/A//
-This method returns the BitmapTile corresponding to the tile bounding box passed in. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<​!-- ThinkGeo.MapSuite.Core.BitmapTile --> ​  | Returns the BitmapTile corresponding to the passed in boundingBox. ​  |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​^  Description ^ +  ​Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] 
-| tileBoundingBox ​  ​| ​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | The target boundingBox for the tile to fetch. ​  |+  * Description:​N/​A
  
-<!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +  * //row// 
-==== GetTile(Int64,​ Int64) ​==== +    * Type:Int64 
-This method returns the BitmapTile corresponding to passed in row and column. +    ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<​!-- ThinkGeo.MapSuite.Core.BitmapTile --> ​  | Returns the BitmapTile corresponding to the passed in row and column. ​  |+
  
-=== Parameters === +  * //column// 
-^  Name ^  ​Type ^  Description ^ +    ​* ​Type:Int64 
-| row   ​| ​Int64<!-- System.Int64 --> ​  | The target row for the tile to fetch. ​  | +    * Description:​N/​A
-| column ​  | Int64<​!-- System.Int64 --> ​  | The target column for the tile to fetch. ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.BitmapTileCache --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} GetTiles(RectangleShape**
-==== GetTileImageFileName(Int64, Int64==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| String<​!-- System.String --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| row   | Int64<​!-- System.Int64 --> ​  ​| ​   | +  ​* //N/A//
-| column ​  | Int64<​!-- System.Int64 --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.Core.FileBitmapTileCache --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Collection<​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]> 
-==== GetTileImageFileNames(RectangleShape) ==== +  * Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-Collection<​String><​!-- System.Collections.ObjectModel.Collection{System.String} --  |    |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  Description ^ +  ​* //​worldExtent//​ 
-| tileBoundingBox ​  ​| ​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  ​| ​   |+    * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​N/​A
  
-<!-- ThinkGeo.MapSuite.Core.FileBitmapTileCache --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} GetHigherScaleTile(RectangleShape,Double**
-==== GetTiles(RectangleShape) ​==== +
-This method returns all the BitmapTiles within the passed in world extent, some of which may not has bitmap. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Collection<​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.BitmapTile} --> ​  | Returns a collection of BitmapTiles within the passed in worldExtent. ​  |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| worldExtent ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<​!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | The target worldExtent will be used to fetch all the BitmapTiles from.   |+  ​* //N/A//
  
-<​!-- ​ThinkGeo.MapSuite.Core.BitmapTileCache --> +== Return Value == 
-[[#Public Methods|Go Back]] +  * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] 
-==== GetType() ==== +  ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| Type<!-- System.Type --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​^+  ​* //​tileBoundingBox//​ 
 +    * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:N/A
  
-<!-- System.Object --> +  * //​tileScale//​ 
-[[#Public Methods|Go Back]] +    ​* ​Type:Double 
-==== SaveTile(Tile) ==== +    ​* Description:​N/​A
-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 ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​PublicMethod.gif|}} SaveTile(Tile) **
-| tile   | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --> ​  | The target tile to be saved. ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== SaveTiles(Bitmap,​ RectangleShape,​ Boolean) ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​+  ​Type:Void 
-| bitmap ​  | Bitmap<​!-- System.Drawing.Bitmap --> ​  ​| ​   | +  Description:N/A
-| bitmapExtent ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<​!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  ​| ​   | +
-| saveContainedCellsOnly ​  | Boolean<​!-- System.Boolean --> ​  ​| ​   |+
  
-<​!-- ​ThinkGeo.MapSuite.Core.TileCache --> +== Parameters == 
-[[#Public Methods|Go Back]] +  * //tile// 
-==== SaveTiles(Bitmap,​ RectangleShape) ==== +    * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-This method will save the bitmap with its extent attached into tiles. +    ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div
-^  Name ^  Type ^  Description ^ +** {{wiki:​PublicMethod.gif|}} SaveTiles(Bitmap,​RectangleShape,Boolean) **
-| bitmap ​  | Bitmap<!-- System.Drawing.Bitmap --  | The target bitmap to be saved into tiles. ​  | +
-| bitmapExtent ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | The target extent for the bitmap. ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== ToString() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| String<​!-- System.String --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Void 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +  * //bitmap// 
-===== Protected Methods ===== +    ​* ​Type:Bitmap 
-==== ClearCacheCore() ==== +    ​* Description:​N/​A
-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 ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //​bitmapExtent//​ 
-^  Name ^  ​Type ^  ​Description ​^+    ​* ​Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:N/A
  
-<!-- ThinkGeo.MapSuite.Core.TileCache(overriden) --> +  * //​saveContainedCellsOnly//​ 
-[[#​Protected Methods|Go Back]] +    ​* ​Type:Boolean 
-==== DeleteTileCore(Tile) ==== +    ​* Description:​N/​A
-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 ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​PublicMethod.gif|}} SaveTiles(Bitmap,​RectangleShape) **
-| tile   | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --  | The target tile to be deleted  ​|+
  
-<!-- ThinkGeo.MapSuite.Core.TileCache(overriden) --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== Finalize() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Void 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#​Protected Methods|Go Back]] +  * //bitmap// 
-==== GetHigherScaleTileCore(RectangleShape,​ Double) ​==== +    * Type:Bitmap 
-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. +    ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<​!-- ThinkGeo.MapSuite.Core.BitmapTile --> ​  | Returns the higher scale(higher zoomLevel) bitmap tile.   |+
  
-=== Parameters === +  * //​bitmapExtent//​ 
-^  Name ^  ​Type ^  Description ^ +    ​* ​Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-| tileBoundingBox ​  ​| ​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | The parameter specifies the current tile bounding box.   | +    * Description:​N/​A
-| tileScale ​  | Double<​!-- System.Double --> ​  | This parameter specifies the current tile scale. ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.BitmapTileCache(overriden) --+<div newline></​div
-[[#​Protected Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} DeleteTiles(RectangleShape**
-==== GetTileCore(Int64, Int64==== +
-This method returns the BitmapTile corresponding to passed in row and column. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<​!-- ThinkGeo.MapSuite.Core.BitmapTile --> ​  | Returns the BitmapTile corresponding to the passed in row and column. ​  |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| row   | Int64<​!-- System.Int64 --> ​  | The target row for the tile to fetch. ​  | +  ​* //N/A//
-| column ​  | Int64<​!-- System.Int64 --> ​  | The target column for the tile to fetch. ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.BitmapTileCache(overriden) --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  ​* ​Type:Void 
-==== MemberwiseClone() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​^+  ​* //​worldExtent//​ 
 +    * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:N/A
  
-<!-- System.Object --> +<div newline></div
-[[#​Protected Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} DeleteTile(Tile) **
-==== MergeBitmaps(IEnumerable<BitmapTile>, Double) ==== +
-This method will merege the passed in bitmap tiles into a larege bitmap tile. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<​!-- ThinkGeo.MapSuite.Core.BitmapTile --> ​  | Returns a merged bitmap tile.   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| tilesToMerge ​  | IEnumerable<​[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]><​!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.BitmapTile} --> ​  | The collection of tiles to be mereged. ​  | +  ​* //N/A//
-| scale   | Double<​!-- System.Double --> ​  | The target scale for result mereged bitmap tile.   |+
  
-<!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  ​* ​Type:Void 
-==== OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  Description ^ +  ​* //tile// 
-| e   ​| ​[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]]<!-- ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs --> ​  ​| ​   |+    * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
 +    * Description:​N/​A
  
-<!-- ThinkGeo.MapSuite.Core.BitmapTileCache --+<div newline></​div
-[[#​Protected Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} ClearCache() **
-==== OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| e   | [[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]]<​!-- ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs --> ​  ​| ​   |+  ​* //N/A//
  
-<!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  ​* ​Type:Void 
-==== SaveTileCore(Tile) ==== +  * Description:N/A
-This method will save the target tile passed in, you could override this API to create your own logic. +
-=== Return Value === +
-^ Return ​Type Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Parameters == 
- Name ^  ​Type ​ ​Description ​^ +<div newline></​div>​ 
-| tile   ​| [[ThinkGeo.MapSuite.Core.Tile|Tile]]<​!-- ThinkGeo.MapSuite.Core.Tile ​--> ​  | The target tile to be saved  ​|+** {{wiki:​PublicMethod.gif|}} ToString() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​String 
 +  * Description:​N/​A 
 + 
 +== Parameters =
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} Equals(Object) ** 
 + 
 +  * //N/A// 
 +== Remarks ​== 
 +  ​* //N/A// 
 + 
 +== Return Value == 
 +  Type:Boolean 
 +  Description:N/A 
 + 
 +== Parameters == 
 +  * //obj// 
 +    * Type:​Object 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} GetHashCode() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Int32 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} GetType() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Type 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +==== Protected Methods ==== 
 +** {{wiki:​ProtectedMethod.gif|}} GetTileCore(Int64,​Int64) ** 
 + 
 +  * //This method returns the BitmapTile corresponding to passed in row and column.// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * 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. 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} SaveTileCore(Tile) ** 
 + 
 +  * //This method will save the target tile passed in, you could override this API to create your own logic.// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //tile// 
 +    * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
 +    * Description:​The target tile to be saved. 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} 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 == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //tile// 
 +    * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
 +    * Description:​The target tile to be deleted. 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} CheckExpiration(String) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Boolean 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​tileImageFileName//​ 
 +    * Type:​String 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} GetBinariesFromBitmap(Bitmap) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Byte[] 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​bitmap//​ 
 +    * Type:​Bitmap 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} 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 == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} 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 == 
 +  * 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. 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} MergeBitmaps(IEnumerable<​BitmapTile>,​Double) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * 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 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //e// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //e// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Finalize() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Object 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetEncoder(ImageFormat) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​ImageCodecInfo 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​format//​ 
 +    * Type:​ImageFormat 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetTemporaryFolder() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​String 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +==== Public Properties ==== 
 +** {{wiki:​PublicProperty.gif|}} CacheDirectory **
  
-<!-- ThinkGeo.MapSuite.Core.TileCache(overriden) --> 
-[[#​Protected Methods|Go Back]] 
-===== Public Properties ===== 
-==== CacheDirectory ==== 
 Gets or sets the cache direcory. Gets or sets the cache direcory.
-=== Return Value === +== Remarks == 
-^ Return ​Type +N/A 
-| String<​!-- System.String ​--> ​  |+== Return Value == 
 +  ​* ​Type:String
  
-<!-- ThinkGeo.MapSuite.Core.FileBitmapTileCache --> +** {{wiki:​PublicProperty.gif|}} ExpirationTime **
-[[#Public Properties|Go Back]] +
-==== CacheId ==== +
-Gets or sets the id of the TileCache. +
-=== Return Value === +
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== ExpirationTime ==== +N/A 
-=== Return Value === +== Return Value == 
-^ Return ​Type +  ​* ​Type:TimeSpan
-| TimeSpan<​!-- System.TimeSpan ​--> ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.FileBitmapTileCache --> +** {{wiki:​PublicProperty.gif|}} TileMatrix **
-[[#Public Properties|Go Back]] +
-==== ImageFormat ==== +
-Gets or sets the tile image format. +
-=== Return Value === +
-^ Return Type ^ +
-| [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]]<​!-- ThinkGeo.MapSuite.Core.TileImageFormat --> ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== JpegQuality ==== +N/A 
-Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg. +== Return Value == 
-=== Return Value === +  ​* ​Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]]
-^ Return ​Type +
-| Int16<​!-- System.Int16 --> ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +** {{wiki:​PublicProperty.gif|}} TileAccessMode **
-[[#Public Properties|Go Back]] +
-==== LoadingTileImage ==== +
-This property returns back a preset image showing the Tile is loading. +
-=== Return Value === +
-^ Return Type ^ +
-| Bitmap<​!-- System.Drawing.Bitmap --> ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== NoDataTileImage ==== +N/A 
-This property returns back a preset image showing the tile data is missing. +== Return Value == 
-=== Return Value === +  ​* ​Type:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]]
-^ Return ​Type +
-| Bitmap<​!-- System.Drawing.Bitmap --> ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +** {{wiki:​PublicProperty.gif|}} NoDataTileImage **
-[[#Public Properties|Go Back]] +
-==== TileAccessMode ==== +
-Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete +
-=== Remarks === +
-If you want it to take effect, you need set the ReadOnly property false. +
-=== Return Value === +
-^ Return Type ^ +
-| [[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]]<​!-- ThinkGeo.MapSuite.Core.TileAccessMode --> ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== TileMatrix ​==== +N/A 
-Gets or sets the TileMatrix which is used in caculation for tiles+== Return Value == 
-=== Return Value === +  * Type:​Bitmap 
-^ Return ​Type ^ + 
-| [[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]]<!-- ThinkGeo.MapSuite.Core.TileMatrix --> ​  |+** {{wiki:​PublicProperty.gif|}} LoadingTileImage ** 
 + 
 +N/A 
 +== Remarks == 
 +N/A 
 +== Return Value == 
 +  ​* ​Type:Bitmap 
 + 
 +** {{wiki:​PublicProperty.gif|}} ImageFormat ** 
 + 
 +N/A 
 +== Remarks == 
 +N/A 
 +== Return Value == 
 +  * Type:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] 
 + 
 +** {{wiki:​PublicProperty.gif|}} JpegQuality ** 
 + 
 +N/A 
 +== Remarks == 
 +N/A 
 +== Return Value == 
 +  * Type:​Int16 
 + 
 +** {{wiki:​PublicProperty.gif|}} CacheId ** 
 + 
 +N/A 
 +== Remarks == 
 +N/A 
 +== Return Value == 
 +  * Type:​String 
 + 
 +==== Protected Properties ==== 
 +==== Public Events ==== 
 +** {{wiki:​PublicEvent.gif|}} GottenCacheImage ** 
 +N/A 
 +== Remarks == 
 +N/A
  
-<!-- ThinkGeo.MapSuite.Core.TileCache --> +Event Arguments:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]]
-[[#Public Properties|Go Back]] +
-===== Protected Properties ===== +
-===== Public Events ===== +
-==== GettingCacheImage ==== +
-=== Event Arguments ​=== +
-^ Event Arguments ^ +
-[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]]<!-- ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs --> ​  |+
  
-<!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> +** {{wiki:​PublicEvent.gif|}} GettingCacheImage ** 
-[[#Public Events|Go Back]] +N/A 
-==== GottenCacheImage ==== +== Remarks ​== 
-=== Event Arguments === +N/A
-^ Event Arguments ^ +
-| [[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]]<​!-- ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs --> ​  |+
  
-<​!-- ​ThinkGeo.MapSuite.Core.BitmapTileCache --> +Event Arguments:​[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]]
-[[#Public Events|Go Back]]+
  
-__NOTOC__ 
-[[Category:​MapSuiteCore]] 
-[[Category:​ThinkGeo.MapSuite.Core]] 
-[[Category:​UpdateDocumentation]] 
  
thinkgeo.mapsuite.core.filebitmaptilecache.1440040128.txt.gz · Last modified: 2015/09/17 09:00 (external edit)