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/17 10:31] 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 7: | Line 10: | ||
| ***ThinkGeo.MapSuite.Core.InMemoryBitmapTileCache** | ***ThinkGeo.MapSuite.Core.InMemoryBitmapTileCache** | ||
| ===== Members Summary ===== | ===== Members Summary ===== | ||
| - | === Public Constructors === | + | ==== Public Constructors ==== |
| - | <div class_table> | + | ** {{wiki:PublicMethod.gif|}} InMemoryBitmapTileCache() ** |
| - | **{{wiki:PublicMethod.gif|}}[[#InMemoryBitmapTileCache()|InMemoryBitmapTileCache]]** | + | |
| - | * **Parameters**:N/A | + | |
| - | * **DeclaringType**:N/A | + | |
| - | * **Summary**:This is the default constructor. | + | |
| - | </div> | + | |
| - | === Protected Constructors === | + | * //This is the default constructor.// |
| - | === Public Methods === | + | == Remarks == |
| - | <div class_table> | + | * //If you use this constructor, you have to set the properties manually.// |
| - | **{{wiki:PublicMethod.gif|}}[[#ClearCache()|ClearCache]]** | + | == Parameters == |
| - | * **Parameters**:N/A | + | <div newline></div> |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | + | ==== Protected Constructors ==== |
| - | * **Summary**:N/A | + | ==== Public Methods ==== |
| - | </div> | + | ** {{wiki:PublicMethod.gif|}} GetTile(RectangleShape) ** |
| - | <div class_table> | + | * //N/A// |
| - | **{{wiki:PublicMethod.gif|}}[[#DeleteTile(Tile)|DeleteTile]]** | + | == Remarks == |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | + | * //N/A// |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Return Value == |
| - | **{{wiki:PublicMethod.gif|}}[[#DeleteTiles(RectangleShape)|DeleteTiles]]** | + | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Description:N/A |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Parameters == |
| - | **{{wiki:PublicMethod.gif|}}[[#Equals(Object)|Equals]]** | + | * //tileBoundingBox// |
| - | * **Parameters**:Object | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| - | * **DeclaringType**:Object | + | * Description:N/A |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | <div newline></div> |
| - | **{{wiki:PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** | + | ** {{wiki:PublicMethod.gif|}} GetTile(Int64,Int64) ** |
| - | * **Parameters**:N/A | + | |
| - | * **DeclaringType**:Object | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | * //N/A// |
| - | **{{wiki:PublicMethod.gif|}}[[#GetHigherScaleTile(RectangleShape,Double)|GetHigherScaleTile]]** | + | == Remarks == |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],Double | + | * //N/A// |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Return Value == |
| - | **{{wiki:PublicMethod.gif|}}[[#GetTile(RectangleShape)|GetTile]]** | + | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Description:N/A |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Parameters == |
| - | **{{wiki:PublicMethod.gif|}}[[#GetTile(Int64,Int64)|GetTile]]** | + | * //row// |
| - | * **Parameters**:Int64,Int64 | + | * Type:Int64 |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | + | * Description:N/A |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | * //column// |
| - | **{{wiki:PublicMethod.gif|}}[[#GetTiles(RectangleShape)|GetTiles]]** | + | * Type:Int64 |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Description:N/A |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | <div newline></div> |
| - | **{{wiki:PublicMethod.gif|}}[[#GetType()|GetType]]** | + | ** {{wiki:PublicMethod.gif|}} GetTiles(RectangleShape) ** |
| - | * **Parameters**:N/A | + | |
| - | * **DeclaringType**:Object | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | * //N/A// |
| - | **{{wiki:PublicMethod.gif|}}[[#SaveTile(Tile)|SaveTile]]** | + | == Remarks == |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | + | * //N/A// |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Return Value == |
| - | **{{wiki:PublicMethod.gif|}}[[#SaveTiles(Bitmap,RectangleShape,Boolean)|SaveTiles]]** | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]> |
| - | * **Parameters**:Bitmap,[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],Boolean | + | * Description:N/A |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Parameters == |
| - | **{{wiki:PublicMethod.gif|}}[[#SaveTiles(Bitmap,RectangleShape)|SaveTiles]]** | + | * //worldExtent// |
| - | * **Parameters**:Bitmap,[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | + | * Description:N/A |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | <div newline></div> |
| - | **{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** | + | ** {{wiki:PublicMethod.gif|}} GetHigherScaleTile(RectangleShape,Double) ** |
| - | * **Parameters**:N/A | + | |
| - | * **DeclaringType**:Object | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | === Protected Methods === | + | * //N/A// |
| - | <div class_table> | + | == Remarks == |
| - | **{{wiki:ProtectedMethod.gif|}}[[#ClearCacheCore()|ClearCacheCore]]** | + | * //N/A// |
| - | * **Parameters**:N/A | + | |
| - | * **DeclaringType**:N/A | + | |
| - | * **Summary**:This method will clear all the tiles in the tileCache. | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Return Value == |
| - | **{{wiki:ProtectedMethod.gif|}}[[#DeleteTileCore(Tile)|DeleteTileCore]]** | + | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | + | * Description:N/A |
| - | * **DeclaringType**:N/A | + | |
| - | * **Summary**:This method will delete the target tile passed in. | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Parameters == |
| - | **{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** | + | * //tileBoundingBox// |
| - | * **Parameters**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| - | * **DeclaringType**:Object | + | * Description:N/A |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | * //tileScale// |
| - | **{{wiki:ProtectedMethod.gif|}}[[#GetHigherScaleTileCore(RectangleShape,Double)|GetHigherScaleTileCore]]** | + | * Type:Double |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],Double | + | * Description:N/A |
| - | * **DeclaringType**:N/A | + | |
| - | * **Summary**: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. | + | |
| - | </div> | + | |
| - | <div class_table> | + | <div newline></div> |
| - | **{{wiki:ProtectedMethod.gif|}}[[#GetTileCore(Int64,Int64)|GetTileCore]]** | + | ** {{wiki:PublicMethod.gif|}} SaveTile(Tile) ** |
| - | * **Parameters**:Int64,Int64 | + | |
| - | * **DeclaringType**:N/A | + | |
| - | * **Summary**:This method returns the BitmapTile corresponding to passed in row and column. | + | |
| - | </div> | + | |
| - | <div class_table> | + | * //N/A// |
| - | **{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]** | + | == Remarks == |
| - | * **Parameters**:N/A | + | * //N/A// |
| - | * **DeclaringType**:Object | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Return Value == |
| - | **{{wiki:ProtectedMethod.gif|}}[[#MergeBitmaps(IEnumerable<BitmapTile>,Double)|MergeBitmaps]]** | + | * Type:Void |
| - | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]>,Double | + | * Description:N/A |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | == Parameters == |
| - | **{{wiki:ProtectedMethod.gif|}}[[#OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs)|OnGettingCacheImage]]** | + | * //tile// |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] | + | * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | + | * Description:N/A |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | <div newline></div> |
| - | **{{wiki:ProtectedMethod.gif|}}[[#OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs)|OnGottenCacheImage]]** | + | ** {{wiki:PublicMethod.gif|}} SaveTiles(Bitmap,RectangleShape,Boolean) ** |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] | + | |
| - | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | + | |
| - | * **Summary**:N/A | + | |
| - | </div> | + | |
| - | <div class_table> | + | * //N/A// |
| - | **{{wiki:ProtectedMethod.gif|}}[[#SaveTileCore(Tile)|SaveTileCore]]** | + | == Remarks == |
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | + | * //N/A// |
| - | * **DeclaringType**:N/A | + | |
| - | * **Summary**:This method will save the target tile passed in. | + | |
| - | </div> | + | |
| - | === Public Properties === | + | == Return Value == |
| - | **{{wiki:PublicProperty.gif|}}[[#CacheId|CacheId]]** | + | * Type:Void |
| - | * **Return**:String | + | * Description:N/A |
| - | * **Summary**:N/A | + | |
| - | **{{wiki:PublicProperty.gif|}}[[#CachedTilesByScale|CachedTilesByScale]]** | + | == Parameters == |
| - | * **Return**:[[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>]] | + | * //bitmap// |
| - | * **Summary**:This property gets the Cached tiles,each item is a Dictionary with scale as its key. | + | * Type:Bitmap |
| + | * Description:N/A | ||
| - | **{{wiki:PublicProperty.gif|}}[[#ImageFormat|ImageFormat]]** | + | * //bitmapExtent// |
| - | * **Return**:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| - | * **Summary**:N/A | + | * Description:N/A |
| - | **{{wiki:PublicProperty.gif|}}[[#JpegQuality|JpegQuality]]** | + | * //saveContainedCellsOnly// |
| - | * **Return**:Int16 | + | * Type:Boolean |
| - | * **Summary**:N/A | + | * Description:N/A |
| - | **{{wiki:PublicProperty.gif|}}[[#LoadingTileImage|LoadingTileImage]]** | + | <div newline></div> |
| - | * **Return**:Bitmap | + | ** {{wiki:PublicMethod.gif|}} SaveTiles(Bitmap,RectangleShape) ** |
| - | * **Summary**:N/A | + | |
| - | **{{wiki:PublicProperty.gif|}}[[#MaximumTilesCount|MaximumTilesCount]]** | + | * //N/A// |
| - | * **Return**:Int32 | + | == Remarks == |
| - | * **Summary**:This property gets or sets the maximum tiles count, if it exceed,it will delete the old first cached tiles. | + | * //N/A// |
| - | **{{wiki:PublicProperty.gif|}}[[#NoDataTileImage|NoDataTileImage]]** | + | == Return Value == |
| - | * **Return**:Bitmap | + | * Type:Void |
| - | * **Summary**:N/A | + | * Description:N/A |
| - | **{{wiki:PublicProperty.gif|}}[[#TileAccessMode|TileAccessMode]]** | + | == Parameters == |
| - | * **Return**:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] | + | * //bitmap// |
| - | * **Summary**:N/A | + | * Type:Bitmap |
| + | * Description:N/A | ||
| - | **{{wiki:PublicProperty.gif|}}[[#TileMatrix|TileMatrix]]** | + | * //bitmapExtent// |
| - | * **Return**:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| - | * **Summary**:N/A | + | * Description:N/A |
| - | === Protected Properties === | + | <div newline></div> |
| - | === Public Events === | + | ** {{wiki:PublicMethod.gif|}} DeleteTiles(RectangleShape) ** |
| - | **{{wiki:PublicEvent.gif|}}[[#GettingCacheImage|GettingCacheImage]]** | + | |
| - | * **Event Arguments**:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] | + | |
| - | * **Summary**:N/A | + | |
| - | **{{wiki:PublicEvent.gif|}}[[#GottenCacheImage|GottenCacheImage]]** | + | * //N/A// |
| - | * **Event Arguments**:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] | + | == Remarks == |
| - | * **Summary**:N/A | + | * //N/A// |
| - | ===== Public Constructors ===== | + | == Return Value == |
| - | === InMemoryBitmapTileCache() === | + | * Type:Void |
| - | This is the default constructor. | + | * Description:N/A |
| - | ==== Remarks ==== | + | |
| - | If you use this constructor, you have to set the properties manually. | + | |
| - | ==== Parameters ==== | + | |
| - | [[#Public Constructors|Go Back]] | + | |
| - | ===== Protected Constructors ===== | + | |
| - | ===== Public Methods ===== | + | |
| - | === ClearCache() === | + | |
| - | N/A | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Parameters == |
| - | * **Return Type**:Void | + | * //worldExtent// |
| - | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| + | * Description:N/A | ||
| - | ==== Parameters ==== | + | <div newline></div> |
| - | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} DeleteTile(Tile) ** |
| - | === DeleteTile(Tile) === | + | |
| - | N/A | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | * //N/A// |
| - | * **Return Type**:Void | + | == Remarks == |
| - | * **Description**:N/A | + | * //N/A// |
| - | ==== Parameters ==== | + | == Return Value == |
| - | **tile** | + | * Type:Void |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | + | * Description:N/A |
| - | * **Description**:N/A | + | |
| - | [[#Public Methods|Go Back]] | + | == Parameters == |
| - | === DeleteTiles(RectangleShape) === | + | * //tile// |
| - | N/A | + | * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] |
| - | ==== Remarks ==== | + | * Description:N/A |
| - | N/A | + | |
| - | **Return Value** | + | <div newline></div> |
| - | * **Return Type**:Void | + | ** {{wiki:PublicMethod.gif|}} ClearCache() ** |
| - | * **Description**:N/A | + | |
| - | ==== Parameters ==== | + | * //N/A// |
| - | **worldExtent** | + | == Remarks == |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * //N/A// |
| - | * **Description**:N/A | + | |
| - | [[#Public Methods|Go Back]] | + | == Return Value == |
| - | === Equals(Object) === | + | * Type:Void |
| - | N/A | + | * Description:N/A |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Parameters == |
| - | * **Return Type**:Boolean | + | <div newline></div> |
| - | * **Description**:N/A | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
| - | ==== Parameters ==== | + | * //N/A// |
| - | **obj** | + | == Remarks == |
| - | * **Type**:Object | + | * //N/A// |
| - | * **Description**:N/A | + | |
| - | [[#Public Methods|Go Back]] | + | == Return Value == |
| - | === GetHashCode() === | + | * Type:String |
| - | N/A | + | * Description:N/A |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Parameters == |
| - | * **Return Type**:Int32 | + | <div newline></div> |
| - | * **Description**:N/A | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
| - | ==== Parameters ==== | + | * //N/A// |
| - | [[#Public Methods|Go Back]] | + | == Remarks == |
| - | === GetHigherScaleTile(RectangleShape,Double) === | + | * //N/A// |
| - | N/A | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Return Value == |
| - | * **Return Type**:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] | + | * Type:Boolean |
| - | * **Description**:N/A | + | * Description:N/A |
| - | ==== Parameters ==== | + | == Parameters == |
| - | **tileBoundingBox** | + | * //obj// |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:Object |
| - | * **Description**:N/A | + | * Description:N/A |
| - | **tileScale** | + | <div newline></div> |
| - | * **Type**:Double | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
| - | * **Description**:N/A | + | |
| - | [[#Public Methods|Go Back]] | + | * //N/A// |
| - | === GetTile(RectangleShape) === | + | == Remarks == |
| - | N/A | + | * //N/A// |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Return Value == |
| - | * **Return Type**:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] | + | * Type:Int32 |
| - | * **Description**:N/A | + | * Description:N/A |
| - | ==== Parameters ==== | + | == Parameters == |
| - | **tileBoundingBox** | + | <div newline></div> |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
| - | * **Description**:N/A | + | |
| - | [[#Public Methods|Go Back]] | + | * //N/A// |
| - | === GetTile(Int64,Int64) === | + | == Remarks == |
| - | N/A | + | * //N/A// |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Return Value == |
| - | * **Return Type**:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] | + | * Type:Type |
| - | * **Description**:N/A | + | * Description:N/A |
| - | ==== Parameters ==== | + | == Parameters == |
| - | **row** | + | <div newline></div> |
| - | * **Type**:Int64 | + | ==== Protected Methods ==== |
| - | * **Description**:N/A | + | ** {{wiki:ProtectedMethod.gif|}} GetTileCore(Int64,Int64) ** |
| - | **column** | + | * //This method returns the BitmapTile corresponding to passed in row and column.// |
| - | * **Type**:Int64 | + | == Remarks == |
| - | * **Description**:N/A | + | * //N/A// |
| - | [[#Public Methods|Go Back]] | + | == Return Value == |
| - | === GetTiles(RectangleShape) === | + | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] |
| - | N/A | + | * Description:Returns the BitmapTile corresponding to the passed in row and column. |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Parameters == |
| - | * **Return Type**:Collection<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]> | + | * //row// |
| - | * **Description**:N/A | + | * Type:Int64 |
| + | * Description:The target row for the tile to fetch. | ||
| - | ==== Parameters ==== | + | * //column// |
| - | **worldExtent** | + | * Type:Int64 |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Description:The target column for the tile to fetch. |
| - | * **Description**:N/A | + | |
| - | [[#Public Methods|Go Back]] | + | <div newline></div> |
| - | === GetType() === | + | ** {{wiki:ProtectedMethod.gif|}} SaveTileCore(Tile) ** |
| - | N/A | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | * //This method will save the target tile passed in.// |
| - | * **Return Type**:Type | + | == Remarks == |
| - | * **Description**:N/A | + | * //This method will not take effect when the ReadOnly is set to true.// |
| - | ==== Parameters ==== | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Void |
| - | === SaveTile(Tile) === | + | * Description:N/A |
| - | N/A | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Parameters == |
| - | * **Return Type**:Void | + | * //tile// |
| - | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] |
| + | * Description:The target tile to be saved. | ||
| - | ==== Parameters ==== | + | <div newline></div> |
| - | **tile** | + | ** {{wiki:ProtectedMethod.gif|}} DeleteTileCore(Tile) ** |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | + | |
| - | * **Description**:N/A | + | |
| - | [[#Public Methods|Go Back]] | + | * //This method will delete the target tile passed in.// |
| - | === SaveTiles(Bitmap,RectangleShape,Boolean) === | + | == Remarks == |
| - | N/A | + | * //This method will not take effect when the ReadOnly is set to true.// |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Return Value == |
| - | * **Return Type**:Void | + | * Type:Void |
| - | * **Description**:N/A | + | * Description:N/A |
| - | ==== Parameters ==== | + | == Parameters == |
| - | **bitmap** | + | * //tile// |
| - | * **Type**:Bitmap | + | * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] |
| - | * **Description**:N/A | + | * Description:The target tile to be deleted. |
| - | **bitmapExtent** | + | <div newline></div> |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | ** {{wiki:ProtectedMethod.gif|}} ClearCacheCore() ** |
| - | * **Description**:N/A | + | |
| - | **saveContainedCellsOnly** | + | * //This method will clear all the tiles in the tileCache.// |
| - | * **Type**:Boolean | + | == Remarks == |
| - | * **Description**:N/A | + | * //This method will not take effect when the ReadOnly is set to true.// |
| - | [[#Public Methods|Go Back]] | + | == Return Value == |
| - | === SaveTiles(Bitmap,RectangleShape) === | + | * Type:Void |
| - | N/A | + | * Description:N/A |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Parameters == |
| - | * **Return Type**:Void | + | <div newline></div> |
| - | * **Description**:N/A | + | ** {{wiki:ProtectedMethod.gif|}} GetHigherScaleTileCore(RectangleShape,Double) ** |
| - | ==== Parameters ==== | + | * //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.// |
| - | **bitmap** | + | == Remarks == |
| - | * **Type**:Bitmap | + | * //N/A// |
| - | * **Description**:N/A | + | |
| - | **bitmapExtent** | + | == Return Value == |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] |
| - | * **Description**:N/A | + | * Description:Returns the higher scale(higher zoomLevel) bitmap tile. |
| - | [[#Public Methods|Go Back]] | + | == Parameters == |
| - | === ToString() === | + | * //tileBoundingBox// |
| - | N/A | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| - | ==== Remarks ==== | + | * Description:The parameter specifies the current tile bounding box. |
| - | N/A | + | |
| - | **Return Value** | + | * //tileScale// |
| - | * **Return Type**:String | + | * Type:Double |
| - | * **Description**:N/A | + | * Description:This parameter specifies the current tile scale. |
| - | ==== Parameters ==== | + | <div newline></div> |
| - | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} MergeBitmaps(IEnumerable<BitmapTile>,Double) ** |
| - | ===== Protected Methods ===== | + | |
| - | === ClearCacheCore() === | + | |
| - | 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** | + | * //N/A// |
| - | * **Return Type**:Void | + | == Remarks == |
| - | * **Description**:N/A | + | * //N/A// |
| - | ==== Parameters ==== | + | == Return Value == |
| - | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] |
| - | === DeleteTileCore(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** | + | == Parameters == |
| - | * **Return Type**:Void | + | * //tilesToMerge// |
| - | * **Description**:N/A | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]> |
| + | * Description:N/A | ||
| - | ==== Parameters ==== | + | * //scale// |
| - | **tile** | + | * Type:Double |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | + | * Description:N/A |
| - | * **Description**:The target tile to be deleted. | + | |
| - | [[#Protected Methods|Go Back]] | + | <div newline></div> |
| - | === Finalize() === | + | ** {{wiki:ProtectedMethod.gif|}} OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) ** |
| - | N/A | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | * //N/A// |
| - | * **Return Type**:Void | + | == Remarks == |
| - | * **Description**:N/A | + | * //N/A// |
| - | ==== Parameters ==== | + | == Return Value == |
| - | [[#Protected Methods|Go Back]] | + | * Type:Void |
| - | === GetHigherScaleTileCore(RectangleShape,Double) === | + | * Description:N/A |
| - | 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 ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Parameters == |
| - | * **Return Type**:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] | + | * //e// |
| - | * **Description**:Returns the higher scale(higher zoomLevel) bitmap tile. | + | * Type:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] |
| + | * Description:N/A | ||
| - | ==== Parameters ==== | + | <div newline></div> |
| - | **tileBoundingBox** | + | ** {{wiki:ProtectedMethod.gif|}} OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) ** |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | |
| - | * **Description**:The parameter specifies the current tile bounding box. | + | |
| - | **tileScale** | + | * //N/A// |
| - | * **Type**:Double | + | == Remarks == |
| - | * **Description**:This parameter specifies the current tile scale. | + | * //N/A// |
| - | [[#Protected Methods|Go Back]] | + | == Return Value == |
| - | === GetTileCore(Int64,Int64) === | + | * Type:Void |
| - | This method returns the BitmapTile corresponding to passed in row and column. | + | * Description:N/A |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Parameters == |
| - | * **Return Type**:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] | + | * //e// |
| - | * **Description**:Returns the BitmapTile corresponding to the passed in row and column. | + | * Type:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] |
| + | * Description:N/A | ||
| - | ==== Parameters ==== | + | <div newline></div> |
| - | **row** | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
| - | * **Type**:Int64 | + | |
| - | * **Description**:The target row for the tile to fetch. | + | |
| - | **column** | + | * //N/A// |
| - | * **Type**:Int64 | + | == Remarks == |
| - | * **Description**:The target column for the tile to fetch. | + | * //N/A// |
| - | [[#Protected Methods|Go Back]] | + | == Return Value == |
| - | === MemberwiseClone() === | + | * Type:Void |
| - | N/A | + | * Description:N/A |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Parameters == |
| - | * **Return Type**:Object | + | <div newline></div> |
| - | * **Description**:N/A | + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** |
| - | ==== Parameters ==== | + | * //N/A// |
| - | [[#Protected Methods|Go Back]] | + | == Remarks == |
| - | === MergeBitmaps(IEnumerable<BitmapTile>,Double) === | + | * //N/A// |
| - | N/A | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | **Return Value** | + | == Return Value == |
| - | * **Return Type**:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] | + | * Type:Object |
| - | * **Description**:N/A | + | * Description:N/A |
| - | ==== Parameters ==== | + | == Parameters == |
| - | **tilesToMerge** | + | <div newline></div> |
| - | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]> | + | ==== Public Properties ==== |
| - | * **Description**:N/A | + | ** {{wiki:PublicProperty.gif|}} MaximumTilesCount ** |
| - | **scale** | + | This property gets or sets the maximum tiles count, if it exceed,it will delete the old first cached tiles. |
| - | * **Type**:Double | + | == Remarks == |
| - | * **Description**:N/A | + | N/A |
| + | == Return Value == | ||
| + | * Type:Int32 | ||
| - | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} CachedTilesByScale ** |
| - | === OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) === | + | |
| - | N/A | + | This property gets the Cached tiles,each item is a Dictionary with scale as its key. |
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| + | == 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, MapSuiteCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]|GeoCollection<T>]] | ||
| - | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} TileMatrix ** |
| - | * **Return Type**:Void | + | |
| - | * **Description**:N/A | + | |
| - | ==== Parameters ==== | ||
| - | **e** | ||
| - | * **Type**:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] | ||
| - | * **Description**:N/A | ||
| - | |||
| - | [[#Protected Methods|Go Back]] | ||
| - | === OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) === | ||
| N/A | N/A | ||
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| + | == Return Value == | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] | ||
| - | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} TileAccessMode ** |
| - | * **Return Type**:Void | + | |
| - | * **Description**:N/A | + | |
| - | + | ||
| - | ==== Parameters ==== | + | |
| - | **e** | + | |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] | + | |
| - | * **Description**:N/A | + | |
| - | + | ||
| - | [[#Protected Methods|Go Back]] | + | |
| - | === SaveTileCore(Tile) === | + | |
| - | 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**:Void | + | |
| - | * **Description**:N/A | + | |
| - | + | ||
| - | ==== Parameters ==== | + | |
| - | **tile** | + | |
| - | * **Type**:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | + | |
| - | * **Description**:The target tile to be saved. | + | |
| - | [[#Protected Methods|Go Back]] | ||
| - | ===== Public Properties ===== | ||
| - | === CacheId === | ||
| N/A | N/A | ||
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| - | ==== Return Value ==== | + | == Return Value == |
| - | **Return Type**:String | + | * Type:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] |
| - | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} NoDataTileImage ** |
| - | === CachedTilesByScale === | + | |
| - | This property gets the Cached tiles,each item is a Dictionary with scale as its key. | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | ==== Return Value ==== | + | |
| - | **Return 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>]] | + | |
| - | [[#Public Properties|Go Back]] | ||
| - | === ImageFormat === | ||
| N/A | N/A | ||
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| - | ==== Return Value ==== | + | == Return Value == |
| - | **Return Type**:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] | + | * Type:Bitmap |
| + | |||
| + | ** {{wiki:PublicProperty.gif|}} LoadingTileImage ** | ||
| - | [[#Public Properties|Go Back]] | ||
| - | === JpegQuality === | ||
| N/A | N/A | ||
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| - | ==== Return Value ==== | + | == Return Value == |
| - | **Return Type**:Int16 | + | * Type:Bitmap |
| + | |||
| + | ** {{wiki:PublicProperty.gif|}} ImageFormat ** | ||
| - | [[#Public Properties|Go Back]] | ||
| - | === LoadingTileImage === | ||
| N/A | N/A | ||
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| - | ==== Return Value ==== | + | == Return Value == |
| - | **Return Type**:Bitmap | + | * Type:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] |
| - | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} JpegQuality ** |
| - | === MaximumTilesCount === | + | |
| - | This property gets or sets the maximum tiles count, if it exceed,it will delete the old first cached tiles. | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | ==== Return Value ==== | + | |
| - | **Return Type**:Int32 | + | |
| - | [[#Public Properties|Go Back]] | ||
| - | === NoDataTileImage === | ||
| N/A | N/A | ||
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| - | ==== Return Value ==== | + | == Return Value == |
| - | **Return Type**:Bitmap | + | * Type:Int16 |
| - | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} CacheId ** |
| - | === TileAccessMode === | + | |
| - | N/A | + | |
| - | ==== Remarks ==== | + | |
| - | N/A | + | |
| - | ==== Return Value ==== | + | |
| - | **Return Type**:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] | + | |
| - | [[#Public Properties|Go Back]] | ||
| - | === TileMatrix === | ||
| N/A | N/A | ||
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| - | ==== Return Value ==== | + | == Return Value == |
| - | **Return Type**:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] | + | * Type:String |
| - | [[#Public Properties|Go Back]] | + | ==== Protected Properties ==== |
| - | ===== Protected Properties ===== | + | ==== Public Events ==== |
| - | ===== Public Events ===== | + | ** {{wiki:PublicEvent.gif|}} GottenCacheImage ** |
| - | === GettingCacheImage === | + | |
| N/A | N/A | ||
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| - | **Event Arguments**:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] |
| - | [[#Public Events|Go Back]] | + | ** {{wiki:PublicEvent.gif|}} GettingCacheImage ** |
| - | === GottenCacheImage === | + | |
| N/A | N/A | ||
| - | ==== Remarks ==== | + | == Remarks == |
| N/A | N/A | ||
| - | **Event Arguments**:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] |
| - | [[#Public Events|Go Back]] | ||