User Tools

Site Tools


thinkgeo.mapsuite.portablecore.nativeimagetilecache

Differences

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

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.portablecore.nativeimagetilecache [2015/08/20 03:08]
127.0.0.1 external edit
thinkgeo.mapsuite.portablecore.nativeimagetilecache [2017/03/16 21:59] (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.PortableCore.NativeImageTileCache ======+====== ThinkGeo.MapSuite.Core.NativeImageTileCache ======
  
 +{{section>​upgrade_map_suite_to_10.0}}
  
- 
-<!-- Class --> 
 This is the base class for NativeTileCache system which inherits from TileCache class. This is the base class for NativeTileCache system which inherits from TileCache class.
-=== Remarks === 
-TileCahce system is very efficient in improving the performance of application,​ especially when large data or remote server images are included. 
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
-*System.Object +  ​*System.Object 
-**[[ThinkGeo.MapSuite.PortableCore.TileCache]] +    *ThinkGeo.MapSuite.Core.TileCache 
-***[[ThinkGeo.MapSuite.PortableCore.NativeImageTileCache]] +      ***ThinkGeo.MapSuite.Core.NativeImageTileCache** 
-****[[ThinkGeo.MapSuite.PortableCore.FileNativeImageTileCache]]+        ​*[[ThinkGeo.MapSuite.Core.FileNativeImageTileCache]]
 ===== Members Summary ===== ===== Members Summary =====
 ==== Public Constructors ==== ==== Public Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
 ==== Protected Constructors ==== ==== Protected Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​ProtectedMethod.gif|}} NativeImageTileCache(String,​TileImageFormat,​TileMatrix) ​**
-{{wiki:​ProtectedMethod.gif|Protected Method}}[[#NativeImageTileCache(String,​ TileImageFormat,​ TileMatrix)|NativeImageTileCache]] ​  | String, [[ThinkGeo.MapSuite.PortableCore.TileImageFormat|TileImageFormat]],​ [[ThinkGeo.MapSuite.PortableCore.TileMatrix|TileMatrix]] ​  ​| ​   | This is the constructor of the class. ​  |+
  
 +  * //This is the constructor of the class.//
 +== Remarks ==
 +  * //N/A//
 +== Parameters ==
 +  * //cacheId//
 +    * Type:String
 +    * Description:​This is the cache identifier which marks its difference with other TileCache.
 +
 +  * //​imageFormat//​
 +    * Type:​[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]]
 +    * Description:​This is the imageFormate showing what kind of image we are trying to save.
 +
 +  * //​tileMatrix//​
 +    * Type:​[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]]
 +    * Description:​This is the tile matrix system which is used for calculating tiles.
 +
 +<div newline></​div>​
 ==== Public Methods ==== ==== Public Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} GetTile(RectangleShape) ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#​ClearCache()|ClearCache]] ​  ​| ​   | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | This method will clear all the tiles in the tileCache. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​DeleteTile(Tile)|DeleteTile]] ​  | [[ThinkGeo.MapSuite.PortableCore.Tile|Tile]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | This method will delete the target tile passed in.   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​DeleteTiles(RectangleShape)|DeleteTiles]] ​  | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]] ​  | [[ThinkGeo.MapSuite.PortableCore.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}}[[#GetTile(RectangleShape)|GetTile]] ​  | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]] ​  ​| ​   | This method returns the NativeImageTile corresponding to the tile bounding box passed in.   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetTile(Int64,​ Int64)|GetTile]] ​  | Int64, Int64   ​| ​   | This method returns the NativeImageTile corresponding to passed in row and column. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetTiles(RectangleShape)|GetTiles]] ​  | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]] ​  ​| ​   | This method returns all the NativeImageTiles within the passed in world extent. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​SaveTile(Tile)|SaveTile]] ​  | [[ThinkGeo.MapSuite.PortableCore.Tile|Tile]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | This method will save the target tile passed in.   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​SaveTiles(GeoImage,​ RectangleShape)|SaveTiles]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]],​ [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | This method will save the bitmap with its extent attached into tiles. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Protected Methods ==== +  ​* //This method returns the NativeImageTile corresponding to the tile bounding box passed in.// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +== Remarks == 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​ClearCacheCore()|ClearCacheCore]] ​  ​| ​   | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  ​This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method. ​  | +  * //N/A//
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​DeleteTileCore(Tile)|DeleteTileCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.Tile|Tile]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | This abstract method will delete the target tile passed in, for each sub TileCache class must implement this method. ​  | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetTileCore(Int64,​ Int64)|GetTileCore]] ​  | Int64, Int64   ​| ​   | This abstract ​method returns the NativeImageTile corresponding to passed in row and columnEach concrete TileCache need to implement this logic to get tile from a row and column. ​  | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​SaveTileCore(Tile)|SaveTileCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.Tile|Tile]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | This abstract method will save the target tile passed in, for each sub TileCache class must implement this method. ​  |+
  
-==== Public Properties ==== +== Return Value == 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ +  * Type:​[[ThinkGeo.MapSuite.Core.NativeImageTile|NativeImageTile]] 
-| {{wiki:PublicProperty.gif|Public Property}}[[#​CacheId|CacheId]] ​  | String ​  ​| ​[[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]]   | Gets or sets the id of the TileCache. ​  | +  * Description:Returns ​the NativeImageTile corresponding ​to the passed ​in boundingBox.
-| {{wiki:PublicProperty.gif|Public Property}}[[#​ImageFormat|ImageFormat]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileImageFormat|TileImageFormat]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | Gets or sets the tile image format. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​JpegQuality|JpegQuality]] ​  | Int16   | [[ThinkGeo.MapSuite.PortableCore.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]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | This property returns back a preset image showing ​the Tile is loading. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​NoDataTileImage|NoDataTileImage]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | This property returns back a preset image showing the tile data is missing. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​TileAccessMode|TileAccessMode]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileAccessMode|TileAccessMode]] ​  | [[ThinkGeo.MapSuite.PortableCore.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.PortableCore.TileMatrix|TileMatrix]] ​  | [[ThinkGeo.MapSuite.PortableCore.TileCache|TileCache]] ​  | Gets or sets the TileMatrix which is used in caculation for tiles  |+
  
-==== Protected Properties ==== +== Parameters ​== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^+  * //​tileBoundingBox//​ 
 +    * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​The target boundingBox for the tile to fetch.
  
-==== Public Events ==== +<div newline></​div>​ 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^+** {{wiki:​PublicMethod.gif|}} GetTile(Int64,​Int64) **
  
-===== Public Constructors ===== +  * //This method returns ​the NativeImageTile corresponding to passed in row and column.// 
-===== Protected Constructors ===== +== Remarks ​== 
-==== NativeImageTileCache(String,​ TileImageFormat,​ TileMatrix) ==== +  ​* //N/A//
-This is the constructor of the class+
-=== Parameters === +
- Name ^  Type ^  Description ^ +
-| cacheId ​  | String<​!-- System.String --> ​  | This is the cache identifier which marks its difference with other TileCache. ​  | +
-| imageFormat ​  | [[ThinkGeo.MapSuite.PortableCore.TileImageFormat|TileImageFormat]]<​!-- ThinkGeo.MapSuite.PortableCore.TileImageFormat --> ​  | This is the imageFormate showing what kind of image we are trying to save.   | +
-| tileMatrix ​  | [[ThinkGeo.MapSuite.PortableCore.TileMatrix|TileMatrix]]<​!-- ThinkGeo.MapSuite.PortableCore.TileMatrix --> ​  | This is the tile matrix system which is used for caculating tiles. ​  |+
  
-[[#​Protected Constructors|Go Back]] +== Return Value == 
-===== Public Methods ===== +  * Type:​[[ThinkGeo.MapSuite.Core.NativeImageTile|NativeImageTile]] 
-==== ClearCache() ==== +  * Description:​Returns ​the NativeImageTile corresponding ​to the passed in row and column.
-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 ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​^+  ​* //row// 
 +    * Type:Int64 
 +    * Description:The target row for the tile to fetch.
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +  * //column// 
-[[#Public Methods|Go Back]] +    * Type:Int64 
-==== DeleteTile(Tile) ==== +    * Description:​The target column for the tile to fetch.
-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|}} GetTiles(RectangleShape) **
-| tile   | [[ThinkGeo.MapSuite.PortableCore.Tile|Tile]]<!-- ThinkGeo.MapSuite.PortableCore.Tile --  | The target tile to be deleted  ​|+
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +  * //This method ​returns all the NativeImageTiles ​within the passed in world extent.// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== DeleteTiles(RectangleShape) ==== +  * //N/A//
-This method ​will delete ​the tiles within the passed in worldExtent+
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​^  Description ^ +  ​Type:​Collection<​[[ThinkGeo.MapSuite.Core.NativeImageTile|NativeImageTile]]> 
-| worldExtent ​  ​| ​[[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.PortableCore.RectangleShape --  | The target extent to delete all tiles within ​it  |+  * Description:​Returns a collection of NativeImageTiles ​within ​the passed in worldExtent.
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.TileCache --> +== Parameters == 
-[[#Public Methods|Go Back]] +  * //​extent//​ 
-==== Equals(Object) ==== +    * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-=== Return Value === +    ​* ​Description:The target worldExtent will be used to fetch all the NativeImageTiles from.
-^ Return Type ^ Description ​+
-| Boolean<​!-- System.Boolean --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​PublicMethod.gif|}} SaveTile(Tile) **
-| 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:Void 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +  * //tile// 
-==== GetTile(RectangleShape) ​==== +    ​* ​Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
-This method returns the NativeImageTile corresponding to the tile bounding box passed in. +    * Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-[[ThinkGeo.MapSuite.PortableCore.NativeImageTile|NativeImageTile]]<!-- ThinkGeo.MapSuite.PortableCore.NativeImageTile --> ​  | Returns the NativeImageTile corresponding to the passed in boundingBox. ​  |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​PublicMethod.gif|}} SaveTiles(GeoImage,​RectangleShape) **
-| tileBoundingBox ​  | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.PortableCore.RectangleShape --> ​  | The target boundingBox for the tile to fetch. ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.NativeImageTileCache --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetTile(Int64,​ Int64) ==== +  * //N/A//
-This method returns the NativeImageTile corresponding to passed in row and column. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| [[ThinkGeo.MapSuite.PortableCore.NativeImageTile|NativeImageTile]]<​!-- ThinkGeo.MapSuite.PortableCore.NativeImageTile --> ​  | Returns the NativeImageTile corresponding to the passed in row and column. ​  |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​+  ​Type:Void 
-| 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.PortableCore.NativeImageTileCache --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +  * //bitmap// 
-==== GetTiles(RectangleShape) ​==== +    ​* ​Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-This method returns all the NativeImageTiles within the passed in world extent. +    * Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-| Collection<​[[ThinkGeo.MapSuite.PortableCore.NativeImageTile|NativeImageTile]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.NativeImageTile} --> ​  | Returns a collection of NativeImageTiles within the passed in worldExtent. ​  |+
  
-=== Parameters === +  * //​bitmapExtent//​ 
-^  Name ^  ​Type ^  Description ^ +    ​* ​Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-| extent ​  ​| ​[[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.PortableCore.RectangleShape --> ​  | The target worldExtent will be used to fetch all the NativeImageTiles from.   |+    * Description:​N/​A
  
-<!-- ThinkGeo.MapSuite.PortableCore.NativeImageTileCache --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} DeleteTiles(RectangleShape**
-==== GetType() ==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Type<!-- System.Type --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
-^  Name ^  Type ^  Description ^+== Remarks ​== 
 +  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Void 
-==== 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 ​=== +== Parameters == 
-^  Name ^  ​Type ​^  Description ^ +  ​* //​worldExtent//​ 
-| tile   ​| ​[[ThinkGeo.MapSuite.PortableCore.Tile|Tile]]<!-- ThinkGeo.MapSuite.PortableCore.Tile --> ​  | The target tile to be saved. ​  |+    * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​N/​A
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} DeleteTile(Tile**
-==== SaveTiles(GeoImage, RectangleShape==== +
-This method will save the bitmap with its extent attached into tiles. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| bitmap ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  | The target bitmap to be saved into tiles. ​  | +  ​* //N/A//
-| bitmapExtent ​  | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]<​!-- ThinkGeo.MapSuite.PortableCore.RectangleShape --> ​  | The target extent for the bitmap. ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Void 
-==== ToString() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| String<​!-- System.String --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​^+  ​* //tile// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
 +    * Description:N/A
  
-<!-- System.Object --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} ClearCache() **
-===== Protected Methods ===== +
-==== ClearCacheCore() ==== +
-This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method. +
-=== 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 ​== 
 +  ​* //N/A//
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  ​* ​Type:Void 
-==== DeleteTileCore(Tile) ==== +  * Description:N/A
-This abstract method will delete the target tile passed in, for each sub TileCache class must implement this method. +
-=== Remarks === +
-This method will not take effect when the ReadOnly is set to true. +
-=== Return Value === +
-^ Return ​Type Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  Type ^  Description ^ +<div newline></​div>​ 
-| tile   | [[ThinkGeo.MapSuite.PortableCore.Tile|Tile]]<!-- ThinkGeo.MapSuite.PortableCore.Tile --  | The target tile to be deleted  ​|+** {{wiki:​PublicMethod.gif|}} ToString() **
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +  * //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:String 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#​Protected Methods|Go Back]] +<div newline></​div>​ 
-==== GetTileCore(Int64,​ Int64) ​==== +** {{wiki:​PublicMethod.gif|}} Equals(Object) **
-This abstract method returns the NativeImageTile corresponding to passed in row and column. Each concrete TileCache need to implement this logic to get tile from a row and column. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| [[ThinkGeo.MapSuite.PortableCore.NativeImageTile|NativeImageTile]]<!-- ThinkGeo.MapSuite.PortableCore.NativeImageTile --  | Returns the NativeImageTile 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.PortableCore.NativeImageTileCache --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  ​* ​Type:Boolean 
-==== MemberwiseClone() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​^+  ​* //obj// 
 +    * Type:Object 
 +    * Description:N/A
  
-<!-- System.Object --+<div newline></​div
-[[#​Protected Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} GetHashCode() **
-==== SaveTileCore(Tile==== +
-This abstract method will save the target tile passed in, for each sub TileCache class must implement this method. +
-=== 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.PortableCore.Tile|Tile]]<​!-- ThinkGeo.MapSuite.PortableCore.Tile --> ​  | The target tile to be saved. ​  |+  ​* //N/A//
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  ​* ​Type:Int32 
-===== Public Properties ===== +  * Description:​N/​A
-==== CacheId ==== +
-Gets or sets the id of the TileCache. +
-=== Return Value === +
-^ Return ​Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +== Parameters ​== 
-[[#Public Properties|Go Back]] +<div newline></​div>​ 
-==== ImageFormat ​==== +** {{wiki:​PublicMethod.gif|}} GetType() **
-Gets or sets the tile image format. +
-=== Return Value === +
-^ Return Type ^ +
-| [[ThinkGeo.MapSuite.PortableCore.TileImageFormat|TileImageFormat]]<​!-- ThinkGeo.MapSuite.PortableCore.TileImageFormat --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.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 Type ^ +
-| Int16<​!-- System.Int16 --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +== Return Value == 
-[[#Public Properties|Go Back]] +  * Type:Type 
-==== LoadingTileImage ==== +  * Description:​N/​A
-This property returns back a preset image showing the Tile is loading. +
-=== Return Value === +
-^ Return ​Type ^ +
-| [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +== Parameters ​== 
-[[#Public Properties|Go Back]] +<div newline></​div>​ 
-==== NoDataTileImage ​==== +==== Protected Methods ​==== 
-This property returns back a preset image showing the tile data is missing. +** {{wiki:​ProtectedMethod.gif|}} GetTileCore(Int64,​Int64) **
-=== Return Value === +
-^ Return Type ^ +
-| [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache ​--> +  * //This abstract method returns the NativeImageTile corresponding to passed in row and columnEach concrete ​TileCache ​need to implement this logic to get tile from a row and column.// 
-[[#Public Properties|Go Back]] +== Remarks == 
-==== TileAccessMode ==== +  * //N/A//
-Gets or sets the Mode for the TileCache access the tilesThe 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.PortableCore.TileAccessMode|TileAccessMode]]<​!-- ThinkGeo.MapSuite.PortableCore.TileAccessMode --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --> +== Return Value == 
-[[#Public Properties|Go Back]] +  ​* ​Type:[[ThinkGeo.MapSuite.Core.NativeImageTile|NativeImageTile]] 
-==== TileMatrix ==== +  * Description:​Returns the NativeImageTile corresponding to the passed in row and column.
-Gets or sets the TileMatrix which is used in caculation for tiles. +
-=== Return Value === +
-^ Return ​Type +
-[[ThinkGeo.MapSuite.PortableCore.TileMatrix|TileMatrix]]<!-- ThinkGeo.MapSuite.PortableCore.TileMatrix --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.TileCache --+== Parameters == 
-[[#Public Properties|Go Back]] +  * //row// 
-===== Protected Properties ​===== +    * Type:​Int64 
-===== Public ​Events ​===== +    * Description:​The target row for the tile to fetch. 
-__NOTOC__ + 
-[[Category:​MapSuitePortableCore]] +  * //​column//​ 
-[[Category:​ThinkGeo.MapSuite.PortableCore]] +    * Type:​Int64 
-[[Category:UpdateDocumentation]]+    * Description:​The target column for the tile to fetch. 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} ClearCacheCore() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} SaveTileCore(Tile) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //tile// 
 +    * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div
 +** {{wiki:​ProtectedMethod.gif|}} DeleteTileCore(Tile) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //tile// 
 +    * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] 
 +    * 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>​ 
 +==== Public ​Properties ​===
 +** {{wiki:​PublicProperty.gif|}} TileMatrix ** 
 + 
 +  * //N/A// 
 +== Remarks ​== 
 +  * //N/A// 
 +== Return Value == 
 +  * Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] 
 + 
 +** {{wiki:​PublicProperty.gif|}} TileAccessMode ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 +== Return Value == 
 +  * Type:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] 
 + 
 +** {{wiki:PublicProperty.gif|}} NoDataTileImage ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 +== Return Value == 
 +  * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 + 
 +** {{wiki:​PublicProperty.gif|}} LoadingTileImage ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 +== Return Value == 
 +  * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 + 
 +** {{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 ====
  
thinkgeo.mapsuite.portablecore.nativeimagetilecache.1440040133.txt.gz · Last modified: 2015/09/23 01:38 (external edit)