This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.core.tilecache [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.core.tilecache [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.TileCache ====== | ====== ThinkGeo.MapSuite.Core.TileCache ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | |||
- | <!-- Class --> | ||
This is the base class for TileCache system. | This is the base class for TileCache system. | ||
- | === 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.Core.TileCache]] | + | ***ThinkGeo.MapSuite.Core.TileCache** |
- | ***[[ThinkGeo.MapSuite.Core.BitmapTileCache]] | + | *[[ThinkGeo.MapSuite.Core.BitmapTileCache]] |
- | ***[[ThinkGeo.MapSuite.Core.EncryptedFileBitmapTileCache]] | + | *[[ThinkGeo.MapSuite.Core.NativeImageTileCache]] |
- | ***[[ThinkGeo.MapSuite.Core.FileBitmapTileCache]] | + | |
- | ***[[ThinkGeo.MapSuite.Core.FileNativeImageTileCache]] | + | |
- | ***[[ThinkGeo.MapSuite.Core.InMemoryBitmapTileCache]] | + | |
- | ***[[ThinkGeo.MapSuite.Core.NativeImageTileCache]] | + | |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} TileCache(String,TileImageFormat,TileMatrix) ** |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#TileCache(String, TileImageFormat, TileMatrix)|TileCache]] | String, [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]], [[ThinkGeo.MapSuite.Core.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 caculating tiles. | ||
+ | |||
+ | <div newline></div> | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} SaveTile(Tile) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ClearCache()|ClearCache]] | | | This method will clear all the tiles in the tileCache. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#DeleteTile(Tile)|DeleteTile]] | [[ThinkGeo.MapSuite.Core.Tile|Tile]] | | This method will delete the target tile passed in. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#DeleteTiles(RectangleShape)|DeleteTiles]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | 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}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#SaveTile(Tile)|SaveTile]] | [[ThinkGeo.MapSuite.Core.Tile|Tile]] | | 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 | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#SaveTiles(Bitmap, RectangleShape)|SaveTiles]] | Bitmap, [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | This method will save the bitmap with its extent attached into tiles. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
- | ==== Protected Methods ==== | + | * //This method will save the target tile passed in.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ClearCacheCore()|ClearCacheCore]] | | | This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method. | | + | * //This method will not take effect when the ReadOnly is set to true.// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DeleteTileCore(Tile)|DeleteTileCore]] | [[ThinkGeo.MapSuite.Core.Tile|Tile]] | | 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}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#SaveTileCore(Tile)|SaveTileCore]] | [[ThinkGeo.MapSuite.Core.Tile|Tile]] | | 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:Void |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CacheId|CacheId]] | String | | Gets or sets the id of the TileCache. | | + | * Description:N/A |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ImageFormat|ImageFormat]] | [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] | | Gets or sets the tile image format. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#JpegQuality|JpegQuality]] | Int16 | | 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 | | This property returns back a preset image showing the Tile is loading. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#NoDataTileImage|NoDataTileImage]] | Bitmap | | 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]] | | 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]] | | Gets or sets the TileMatrix which is used in caculation for tiles. | | + | |
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * //tile// |
+ | * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | ||
+ | * Description:The target tile to be saved. | ||
- | ==== Public Events ==== | + | <div newline></div> |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} SaveTiles(Bitmap,RectangleShape,Boolean) ** |
- | ===== Public Constructors ===== | + | * //N/A// |
- | ===== Protected Constructors ===== | + | == Remarks == |
- | ==== TileCache(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.Core.TileImageFormat|TileImageFormat]]<!-- ThinkGeo.MapSuite.Core.TileImageFormat --> | This is the imageFormate showing what kind of image we are trying to save. | | + | |
- | | tileMatrix | [[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]]<!-- ThinkGeo.MapSuite.Core.TileMatrix --> | This is the tile matrix system which is used for caculating tiles. | | + | |
- | [[#Protected Constructors|Go Back]] | + | == Return Value == |
- | ===== Public Methods ===== | + | * Type:Void |
- | ==== ClearCache() ==== | + | * 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 === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //bitmap// |
+ | * Type:Bitmap | ||
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | * //bitmapExtent// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | ==== DeleteTile(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 === | + | * //saveContainedCellsOnly// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Boolean |
- | | tile | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --> | The target tile to be deleted. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} SaveTiles(Bitmap,RectangleShape) ** |
- | ==== DeleteTiles(RectangleShape) ==== | + | |
- | This method will delete the tiles within the passed in worldExtent. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //This method will save the bitmap with its extent attached into tiles.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | The target extent to delete all tiles within it. | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== Equals(Object) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //bitmap// |
- | | obj | Object<!-- System.Object --> | | | + | * Type:Bitmap |
+ | * Description:The target bitmap to be saved into tiles. | ||
- | <!-- System.Object --> | + | * //bitmapExtent// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | ==== GetHashCode() ==== | + | * Description:The target extent for the bitmap. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DeleteTiles(RectangleShape) ** |
- | <!-- System.Object --> | + | * //This method will delete the tiles within the passed in worldExtent.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetType() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //worldExtent// |
- | ==== SaveTile(Tile) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | This method will save the target tile passed in. | + | * Description:The target extent to delete all tiles within it. |
- | === 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|}} DeleteTile(Tile) ** |
- | | tile | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --> | The target tile to be saved. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | * //This method will delete the target tile passed in.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== SaveTiles(Bitmap, RectangleShape, Boolean) ==== | + | * //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 |
- | | 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:The target tile to be deleted. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ClearCache() ** |
- | | 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 --> | + | * //This method will clear all the tiles in the tileCache.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== ToString() ==== | + | * //This method will not take effect when the ReadOnly is set to true.// |
- | === 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]] | + | <div newline></div> |
- | ===== Protected Methods ===== | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | ==== 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.Core.TileCache --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:String |
- | ==== 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.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --> | The target tile to be deleted. | | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
- | <!-- ThinkGeo.MapSuite.Core.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:Boolean |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //obj// |
- | ==== MemberwiseClone() ==== | + | * Type:Object |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | <!-- System.Object --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== SaveTileCore(Tile) ==== | + | * //N/A// |
- | 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 === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Int32 |
- | | tile | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --> | The target tile to be saved. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | ===== Public Properties ===== | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | ==== 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 == |
- | ==== ImageFormat ==== | + | * //N/A// |
- | Gets or sets the tile image format. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]]<!-- ThinkGeo.MapSuite.Core.TileImageFormat --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Type |
- | ==== JpegQuality ==== | + | * Description: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.Core.TileCache --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | <div newline></div> |
- | ==== LoadingTileImage ==== | + | ==== Protected Methods ==== |
- | This property returns back a preset image showing the Tile is loading. | + | ** {{wiki:ProtectedMethod.gif|}} ClearCacheCore() ** |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Bitmap<!-- System.Drawing.Bitmap --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | * //This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method.// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== NoDataTileImage ==== | + | * //This method will not take effect when the ReadOnly is set to true.// |
- | This property returns back a preset image showing the tile data is missing. | + | |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:Void |
- | | Bitmap<!-- System.Drawing.Bitmap --> | | + | * Description:N/A |
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
+ | * 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 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 == | ||
+ | * 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|}} 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 ** | ||
+ | |||
+ | Gets or sets the TileMatrix which is used in caculation for tiles. | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} TileAccessMode ** | ||
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== TileAccessMode ==== | ||
Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete | Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete | ||
- | === Remarks === | + | == Remarks == |
If you want it to take effect, you need set the ReadOnly property false. | If you want it to take effect, you need set the ReadOnly property false. | ||
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] |
- | | [[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]]<!-- ThinkGeo.MapSuite.Core.TileAccessMode --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | ** {{wiki:PublicProperty.gif|}} NoDataTileImage ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== TileMatrix ==== | + | |
- | Gets or sets the TileMatrix which is used in caculation for tiles. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]]<!-- ThinkGeo.MapSuite.Core.TileMatrix --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | This property returns back a preset image showing the tile data is missing. |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ===== Protected Properties ===== | + | N/A |
- | ===== Public Events ===== | + | == Return Value == |
- | __NOTOC__ | + | * Type:Bitmap |
- | [[Category:MapSuiteCore]] | + | |
- | [[Category:ThinkGeo.MapSuite.Core]] | + | ** {{wiki:PublicProperty.gif|}} LoadingTileImage ** |
- | [[Category:UpdateDocumentation]] | + | |
+ | This property returns back a preset image showing the Tile is loading. | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Bitmap | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} ImageFormat ** | ||
+ | |||
+ | Gets or sets the tile image format. | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} JpegQuality ** | ||
+ | |||
+ | Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg. | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Int16 | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} CacheId ** | ||
+ | |||
+ | Gets or sets the id of the TileCache. | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | |||
+ | ==== Protected Properties ==== | ||
+ | ==== Public Events ==== | ||