This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.bitmaptilecache [2015/09/21 01:01] admin |
thinkgeo.mapsuite.core.bitmaptilecache [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.BitmapTileCache ====== | ====== ThinkGeo.MapSuite.Core.BitmapTileCache ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This is the base class for BitmapTileCache system which inherits from TileCache class. | This is the base class for BitmapTileCache system which inherits from TileCache class. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 12: | Line 15: | ||
** {{wiki:ProtectedMethod.gif|}} BitmapTileCache(String,TileImageFormat,TileMatrix) ** | ** {{wiki:ProtectedMethod.gif|}} BitmapTileCache(String,TileImageFormat,TileMatrix) ** | ||
- | This is the constructor of the class. | + | * //This is the constructor of the class.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Parameters == | == Parameters == | ||
* //cacheId// | * //cacheId// | ||
Line 32: | Line 35: | ||
** {{wiki:PublicMethod.gif|}} GetTile(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} GetTile(RectangleShape) ** | ||
- | This method returns the BitmapTile corresponding to the tile bounding box passed in. | + | * //This method returns the BitmapTile corresponding to the tile bounding box passed in.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 48: | Line 51: | ||
** {{wiki:PublicMethod.gif|}} GetTile(Int64,Int64) ** | ** {{wiki:PublicMethod.gif|}} GetTile(Int64,Int64) ** | ||
- | This method returns the BitmapTile corresponding to passed in row and column. | + | * //This method returns the BitmapTile corresponding to passed in row and column.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 68: | Line 71: | ||
** {{wiki:PublicMethod.gif|}} GetTiles(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} GetTiles(RectangleShape) ** | ||
- | This method returns all the BitmapTiles within the passed in world extent, some of which may not has bitmap. | + | * //This method returns all the BitmapTiles within the passed in world extent, some of which may not has bitmap.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 84: | Line 87: | ||
** {{wiki:PublicMethod.gif|}} GetHigherScaleTile(RectangleShape,Double) ** | ** {{wiki:PublicMethod.gif|}} GetHigherScaleTile(RectangleShape,Double) ** | ||
- | This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. | + | * //This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 104: | Line 107: | ||
** {{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 118: | Line 121: | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} SaveTiles(GeoImage,RectangleShape) ** | + | ** {{wiki:PublicMethod.gif|}} SaveTiles(Bitmap,RectangleShape,Boolean) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 130: | Line 133: | ||
== Parameters == | == Parameters == | ||
* //bitmap// | * //bitmap// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | * 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// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //bitmap// | ||
+ | * Type:Bitmap | ||
* Description:N/A | * Description:N/A | ||
Line 140: | Line 167: | ||
** {{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 156: | Line 183: | ||
** {{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 172: | Line 199: | ||
** {{wiki:PublicMethod.gif|}} ClearCache() ** | ** {{wiki:PublicMethod.gif|}} ClearCache() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 184: | Line 211: | ||
** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 196: | Line 223: | ||
** {{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 212: | Line 239: | ||
** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 224: | Line 251: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 237: | Line 264: | ||
** {{wiki:ProtectedMethod.gif|}} GetTileCore(Int64,Int64) ** | ** {{wiki:ProtectedMethod.gif|}} GetTileCore(Int64,Int64) ** | ||
- | This abstract method returns the BitmapTile corresponding to passed in row and column. Each concrete TileCache need to implement this logic to get tile from a row and column. | + | * //This abstract method returns the BitmapTile corresponding to passed in row and column. Each concrete TileCache need to implement this logic to get tile from a row and column.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 257: | Line 284: | ||
** {{wiki:ProtectedMethod.gif|}} GetHigherScaleTileCore(RectangleShape,Double) ** | ** {{wiki:ProtectedMethod.gif|}} GetHigherScaleTileCore(RectangleShape,Double) ** | ||
- | This method is virtual and can be overriden by its sub classes. This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. | + | * //This method is virtual and can be overriden by its sub classes. This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 277: | Line 304: | ||
** {{wiki:ProtectedMethod.gif|}} MergeBitmaps(IEnumerable<BitmapTile>,Double) ** | ** {{wiki:ProtectedMethod.gif|}} MergeBitmaps(IEnumerable<BitmapTile>,Double) ** | ||
- | This method will merege the passed in bitmap tiles into a larege bitmap tile. | + | * //This method will merege the passed in bitmap tiles into a larege bitmap tile.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 297: | Line 324: | ||
** {{wiki:ProtectedMethod.gif|}} OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 313: | Line 340: | ||
** {{wiki:ProtectedMethod.gif|}} OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 329: | Line 356: | ||
** {{wiki:ProtectedMethod.gif|}} ClearCacheCore() ** | ** {{wiki:ProtectedMethod.gif|}} ClearCacheCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 341: | Line 368: | ||
** {{wiki:ProtectedMethod.gif|}} SaveTileCore(Tile) ** | ** {{wiki:ProtectedMethod.gif|}} SaveTileCore(Tile) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 357: | Line 384: | ||
** {{wiki:ProtectedMethod.gif|}} DeleteTileCore(Tile) ** | ** {{wiki:ProtectedMethod.gif|}} DeleteTileCore(Tile) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 373: | Line 400: | ||
** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 385: | Line 412: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 418: | Line 445: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | * Type:Bitmap |
** {{wiki:PublicProperty.gif|}} LoadingTileImage ** | ** {{wiki:PublicProperty.gif|}} LoadingTileImage ** | ||
Line 426: | Line 453: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | * Type:Bitmap |
** {{wiki:PublicProperty.gif|}} ImageFormat ** | ** {{wiki:PublicProperty.gif|}} ImageFormat ** |