This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.inmemorybitmaptilecache [2015/09/21 01:05] admin |
thinkgeo.mapsuite.core.inmemorybitmaptilecache [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.InMemoryBitmapTileCache ====== | ====== ThinkGeo.MapSuite.Core.InMemoryBitmapTileCache ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This class is a concrete class inherits from BitmapTileCache. In this class, the tiles will be saved in memory and it provides some properties to control it very easily. | This class is a concrete class inherits from BitmapTileCache. In this class, the tiles will be saved in memory and it provides some properties to control it very easily. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 10: | Line 13: | ||
** {{wiki:PublicMethod.gif|}} InMemoryBitmapTileCache() ** | ** {{wiki:PublicMethod.gif|}} InMemoryBitmapTileCache() ** | ||
- | 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> | ||
Line 19: | Line 22: | ||
** {{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 35: | Line 38: | ||
** {{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 55: | Line 58: | ||
** {{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 71: | Line 74: | ||
** {{wiki:PublicMethod.gif|}} GetHigherScaleTile(RectangleShape,Double) ** | ** {{wiki:PublicMethod.gif|}} GetHigherScaleTile(RectangleShape,Double) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 91: | Line 94: | ||
** {{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 105: | Line 108: | ||
<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 == | ||
+ | * 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// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
== Return Value == | == Return Value == | ||
Line 117: | Line 144: | ||
== Parameters == | == Parameters == | ||
* //bitmap// | * //bitmap// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | * Type:Bitmap |
* Description:N/A | * Description:N/A | ||
Line 127: | Line 154: | ||
** {{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 143: | Line 170: | ||
** {{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 159: | Line 186: | ||
** {{wiki:PublicMethod.gif|}} ClearCache() ** | ** {{wiki:PublicMethod.gif|}} ClearCache() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 171: | Line 198: | ||
** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 183: | Line 210: | ||
** {{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 199: | Line 226: | ||
** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 211: | Line 238: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 224: | Line 251: | ||
** {{wiki:ProtectedMethod.gif|}} GetTileCore(Int64,Int64) ** | ** {{wiki:ProtectedMethod.gif|}} GetTileCore(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 244: | Line 271: | ||
** {{wiki:ProtectedMethod.gif|}} SaveTileCore(Tile) ** | ** {{wiki:ProtectedMethod.gif|}} SaveTileCore(Tile) ** | ||
- | This method will save the target tile passed in. | + | * //This method will save 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 260: | Line 287: | ||
** {{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 276: | Line 303: | ||
** {{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 288: | Line 315: | ||
** {{wiki:ProtectedMethod.gif|}} GetHigherScaleTileCore(RectangleShape,Double) ** | ** {{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. | + | * //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 == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 308: | Line 335: | ||
** {{wiki:ProtectedMethod.gif|}} MergeBitmaps(IEnumerable<BitmapTile>,Double) ** | ** {{wiki:ProtectedMethod.gif|}} MergeBitmaps(IEnumerable<BitmapTile>,Double) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 328: | Line 355: | ||
** {{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 344: | Line 371: | ||
** {{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 360: | Line 387: | ||
** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 372: | Line 399: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 397: | Line 424: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoCollection<T>[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[ThinkGeo.MapSuite.Core.BitmapTile, MapSuitePortableCore, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]|GeoCollection<T>]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCollection<T>[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[ThinkGeo.MapSuite.Core.BitmapTile, MapSuiteCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]|GeoCollection<T>]] |
** {{wiki:PublicProperty.gif|}} TileMatrix ** | ** {{wiki:PublicProperty.gif|}} TileMatrix ** | ||
Line 421: | Line 448: | ||
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 429: | Line 456: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | * Type:Bitmap |
** {{wiki:PublicProperty.gif|}} ImageFormat ** | ** {{wiki:PublicProperty.gif|}} ImageFormat ** |