This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
thinkgeo.mapsuite.portablecore.filenativeimagetilecache [2015/09/21 08:08] admin |
thinkgeo.mapsuite.portablecore.filenativeimagetilecache [2017/03/16 21:59] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ThinkGeo.MapSuite.Core.FileNativeImageTileCache ====== | ====== ThinkGeo.MapSuite.Core.FileNativeImageTileCache ====== | ||
| + | |||
| + | {{section>upgrade_map_suite_to_10.0}} | ||
| + | |||
| This class is a concrete class inherits from NativeImageTileCache. In this class, the tiles will be saved in disk and can be viewed very conveniently. | This class is a concrete class inherits from NativeImageTileCache. In this class, the tiles will be saved in disk and can be viewed very conveniently. | ||
| ===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
| Line 10: | Line 13: | ||
| ** {{wiki:PublicMethod.gif|}} FileNativeImageTileCache() ** | ** {{wiki:PublicMethod.gif|}} FileNativeImageTileCache() ** | ||
| - | This is the default constructor. | + | * //This is the default constructor.// |
| == Remarks == | == Remarks == | ||
| - | If you use this constructor, you have to set the properties manually. | + | * //If you use this constructor, you have to set the properties manually.// |
| == Parameters == | == Parameters == | ||
| <div newline></div> | <div newline></div> | ||
| ** {{wiki:PublicMethod.gif|}} FileNativeImageTileCache(String,String,TileImageFormat,TileMatrix) ** | ** {{wiki:PublicMethod.gif|}} FileNativeImageTileCache(String,String,TileImageFormat,TileMatrix) ** | ||
| - | This is the constructor with all the parameters needed passed in. | + | * //This is the constructor with all the parameters needed passed in.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Parameters == | == Parameters == | ||
| * //cacheDirectory// | * //cacheDirectory// | ||
| Line 42: | Line 45: | ||
| ** {{wiki:PublicMethod.gif|}} GetTile(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} GetTile(RectangleShape) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 58: | Line 61: | ||
| ** {{wiki:PublicMethod.gif|}} GetTile(Int64,Int64) ** | ** {{wiki:PublicMethod.gif|}} GetTile(Int64,Int64) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 78: | Line 81: | ||
| ** {{wiki:PublicMethod.gif|}} GetTiles(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} GetTiles(RectangleShape) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 94: | Line 97: | ||
| ** {{wiki:PublicMethod.gif|}} SaveTile(Tile) ** | ** {{wiki:PublicMethod.gif|}} SaveTile(Tile) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 108: | Line 111: | ||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}} SaveTiles(Bitmap,RectangleShape,Boolean) ** | + | ** {{wiki:PublicMethod.gif|}} SaveTiles(GeoImage,RectangleShape) ** |
| - | + | ||
| - | N/A | + | |
| - | == Remarks == | + | |
| - | N/A | + | |
| - | + | ||
| - | == Return Value == | + | |
| - | * Type:Void | + | |
| - | * Description:N/A | + | |
| - | + | ||
| - | == Parameters == | + | |
| - | * //bitmap// | + | |
| - | * Type:Bitmap | + | |
| - | * Description:N/A | + | |
| - | + | ||
| - | * //bitmapExtent// | + | |
| - | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | |
| - | * Description:N/A | + | |
| - | + | ||
| - | * //saveContainedCellsOnly// | + | |
| - | * Type:Boolean | + | |
| - | * Description:N/A | + | |
| - | + | ||
| - | <div newline></div> | + | |
| - | ** {{wiki:PublicMethod.gif|}} SaveTiles(Bitmap,RectangleShape) ** | + | |
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 144: | Line 123: | ||
| == Parameters == | == Parameters == | ||
| * //bitmap// | * //bitmap// | ||
| - | * Type:Bitmap | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
| * Description:N/A | * Description:N/A | ||
| Line 154: | Line 133: | ||
| ** {{wiki:PublicMethod.gif|}} DeleteTiles(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} DeleteTiles(RectangleShape) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 170: | Line 149: | ||
| ** {{wiki:PublicMethod.gif|}} DeleteTile(Tile) ** | ** {{wiki:PublicMethod.gif|}} DeleteTile(Tile) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 186: | Line 165: | ||
| ** {{wiki:PublicMethod.gif|}} ClearCache() ** | ** {{wiki:PublicMethod.gif|}} ClearCache() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 198: | Line 177: | ||
| ** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 210: | Line 189: | ||
| ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 226: | Line 205: | ||
| ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 238: | Line 217: | ||
| ** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 251: | Line 230: | ||
| ** {{wiki:ProtectedMethod.gif|}} GetTileCore(Int64,Int64) ** | ** {{wiki:ProtectedMethod.gif|}} GetTileCore(Int64,Int64) ** | ||
| - | This method returns the NativeImageTile corresponding to passed in row and column. | + | * //This method returns the NativeImageTile corresponding to passed in row and column.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 271: | Line 250: | ||
| ** {{wiki:ProtectedMethod.gif|}} SaveTileCore(Tile) ** | ** {{wiki:ProtectedMethod.gif|}} SaveTileCore(Tile) ** | ||
| - | This method will save the target tile passed in, you could override this API to create your own logic. | + | * //This method will save the target tile passed in, you could override this API to create your own logic.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 287: | Line 266: | ||
| ** {{wiki:ProtectedMethod.gif|}} DeleteTileCore(Tile) ** | ** {{wiki:ProtectedMethod.gif|}} DeleteTileCore(Tile) ** | ||
| - | This method will delete the target tile passed in. | + | * //This method will delete the target tile passed in.// |
| == Remarks == | == Remarks == | ||
| - | This method will not take effect when the ReadOnly is set to true. | + | * //This method will not take effect when the ReadOnly is set to true.// |
| == Return Value == | == Return Value == | ||
| Line 303: | Line 282: | ||
| ** {{wiki:ProtectedMethod.gif|}} ClearCacheCore() ** | ** {{wiki:ProtectedMethod.gif|}} ClearCacheCore() ** | ||
| - | This method will clear all the tiles in the tileCache. | + | * //This method will clear all the tiles in the tileCache.// |
| == Remarks == | == Remarks == | ||
| - | This method will not take effect when the ReadOnly is set to true. | + | * //This method will not take effect when the ReadOnly is set to true.// |
| == Return Value == | == Return Value == | ||
| Line 315: | Line 294: | ||
| ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 327: | Line 306: | ||
| ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 340: | Line 319: | ||
| ** {{wiki:PublicProperty.gif|}} CacheDirectory ** | ** {{wiki:PublicProperty.gif|}} CacheDirectory ** | ||
| - | Gets or sets the cache direcory. | + | * //Gets or sets the cache direcory.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| * Type:String | * Type:String | ||
| Line 348: | Line 327: | ||
| ** {{wiki:PublicProperty.gif|}} TileMatrix ** | ** {{wiki:PublicProperty.gif|}} TileMatrix ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] | * Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] | ||
| Line 356: | Line 335: | ||
| ** {{wiki:PublicProperty.gif|}} TileAccessMode ** | ** {{wiki:PublicProperty.gif|}} TileAccessMode ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] | * Type:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] | ||
| Line 364: | Line 343: | ||
| ** {{wiki:PublicProperty.gif|}} NoDataTileImage ** | ** {{wiki:PublicProperty.gif|}} NoDataTileImage ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| - | * Type:Bitmap | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
| ** {{wiki:PublicProperty.gif|}} LoadingTileImage ** | ** {{wiki:PublicProperty.gif|}} LoadingTileImage ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| - | * Type:Bitmap | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
| ** {{wiki:PublicProperty.gif|}} ImageFormat ** | ** {{wiki:PublicProperty.gif|}} ImageFormat ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] | * Type:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] | ||
| Line 388: | Line 367: | ||
| ** {{wiki:PublicProperty.gif|}} JpegQuality ** | ** {{wiki:PublicProperty.gif|}} JpegQuality ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| * Type:Int16 | * Type:Int16 | ||
| Line 396: | Line 375: | ||
| ** {{wiki:PublicProperty.gif|}} CacheId ** | ** {{wiki:PublicProperty.gif|}} CacheId ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| * Type:String | * Type:String | ||