This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.androidedition.sqlitebitmaptilecache [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.androidedition.sqlitebitmaptilecache [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.AndroidEdition.SqliteBitmapTileCache ====== | ====== ThinkGeo.MapSuite.AndroidEdition.SqliteBitmapTileCache ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | + | This class represents the base sqlite bitmap tile cache. | |
- | <!-- Class --> | + | |
===== 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.AndroidEdition.SqliteBitmapTileCache]] | + | ***ThinkGeo.MapSuite.AndroidEdition.SqliteBitmapTileCache** |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} SqliteBitmapTileCache() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#SqliteBitmapTileCache()|SqliteBitmapTileCache]] | | | Initializes a new instance of the class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#SqliteBitmapTileCache(String, String)|SqliteBitmapTileCache]] | String, String | | Initializes a new instance of the class. | | + | |
- | ==== Protected Constructors ==== | + | * //Initializes a new instance of the class.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //N/A// | ||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} SqliteBitmapTileCache(String,String) ** | ||
+ | * //Initializes a new instance of the class.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Parameters == | ||
+ | * //databasePathFilename// | ||
+ | * Type:String | ||
+ | * Description:The database path filename. | ||
+ | |||
+ | * //cacheId// | ||
+ | * Type:String | ||
+ | * Description:The cache identifier. | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Protected Constructors ==== | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} GetTile(RectangleShape) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ClearCache()|ClearCache]] | | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#DeleteTile(Tile)|DeleteTile]] | [[ThinkGeo.MapSuite.Core.Tile|Tile]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#DeleteTiles(RectangleShape)|DeleteTiles]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHigherScaleTile(RectangleShape, Double)|GetHigherScaleTile]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Double | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetTile(RectangleShape)|GetTile]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetTile(Int64, Int64)|GetTile]] | Int64, Int64 | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetTiles(RectangleShape)|GetTiles]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#SaveTile(Tile)|SaveTile]] | [[ThinkGeo.MapSuite.Core.Tile|Tile]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#SaveTiles(GeoImage, RectangleShape)|SaveTiles]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //tileBoundingBox// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetTile(Int64,Int64) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //row// | ||
+ | * Type:Int64 | ||
+ | * Description:N/A | ||
+ | |||
+ | * //column// | ||
+ | * Type:Int64 | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetTiles(RectangleShape) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //worldExtent// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetHigherScaleTile(RectangleShape,Double) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //tileBoundingBox// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //tileScale// | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} SaveTile(Tile) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //tile// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} SaveTiles(GeoImage,RectangleShape) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //bitmap// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //bitmapExtent// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} DeleteTiles(RectangleShape) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //worldExtent// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} DeleteTile(Tile) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //tile// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} ClearCache() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //obj// | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Type | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
==== Protected Methods ==== | ==== Protected Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} GetTileCore(Int64,Int64) ** |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ClearCacheCore()|ClearCacheCore]] | | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]](overriden) | This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DeleteTileCore(Tile)|DeleteTileCore]] | [[ThinkGeo.MapSuite.Core.Tile|Tile]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]](overriden) | 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}}[[#GetHigherScaleTileCore(RectangleShape, Double)|GetHigherScaleTileCore]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Double | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetTileCore(Int64, Int64)|GetTileCore]] | Int64, Int64 | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]](overriden) | 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. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MergeBitmaps(IEnumerable<BitmapTile>, Double)|MergeBitmaps]] | IEnumerable<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]>, Double | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs)|OnGettingCacheImage]] | [[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs)|OnGottenCacheImage]] | [[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#SaveTileCore(Tile)|SaveTileCore]] | [[ThinkGeo.MapSuite.Core.Tile|Tile]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]](overriden) | This abstract method will save the target tile passed in, for each sub TileCache class must implement this method. | | + | |
- | ==== Public Properties ==== | + | * //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.// |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CacheId|CacheId]] | String | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]](overriden) | Gets or sets the id of the TileCache. | | + | * //N/A// |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#DatabasePathFilename|DatabasePathFilename]] | String | | Gets or sets the database path filename. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ImageFormat|ImageFormat]] | [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#JpegQuality|JpegQuality]] | Int16 | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#LoadingTileImage|LoadingTileImage]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#NoDataTileImage|NoDataTileImage]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TileAccessMode|TileAccessMode]] | [[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TileMatrix|TileMatrix]] | [[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] | [[ThinkGeo.MapSuite.Core.TileCache|TileCache]] | | | + | |
- | ==== Protected Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] |
+ | * Description:Returns the BitmapTile corresponding to the passed in row and column. | ||
- | ==== Public Events ==== | + | == Parameters == |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | * //row// |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#GettingCacheImage|GettingCacheImage]] | [[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | * Type:Int64 |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#GottenCacheImage|GottenCacheImage]] | [[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | | + | * Description:The target row for the tile to fetch. |
- | ===== Public Constructors ===== | + | * //column// |
- | ==== SqliteBitmapTileCache() ==== | + | * Type:Int64 |
- | Initializes a new instance of the class. | + | * Description:The target column for the tile to fetch. |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ==== SqliteBitmapTileCache(String, String) ==== | + | ** {{wiki:ProtectedMethod.gif|}} ClearCacheCore() ** |
- | Initializes a new instance of the class. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | databasePathFilename | String<!-- System.String --> | The database path filename. | | + | |
- | | cacheId | String<!-- System.String --> | The cache identifier. | | + | |
- | [[#Public Constructors|Go Back]] | + | * //This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method.// |
- | ===== Protected Constructors ===== | + | == Remarks == |
- | ===== Public Methods ===== | + | * //This method will not take effect when the ReadOnly is set to true.// |
- | ==== ClearCache() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== DeleteTile(Tile) ==== | + | ** {{wiki:ProtectedMethod.gif|}} SaveTileCore(Tile) ** |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //This abstract method will save the target tile passed in, for each sub TileCache class must implement this method.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | tile | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --> | | | + | * //This method will not take effect when the ReadOnly is set to true.// |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== DeleteTiles(RectangleShape) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //tile// |
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] |
+ | * Description:The target tile to be saved. | ||
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} DeleteTileCore(Tile) ** |
- | ==== Equals(Object) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | * //This abstract method will delete the target tile passed in, for each sub TileCache class must implement this method.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | obj | Object<!-- System.Object --> | | | + | * //This method will not take effect when the ReadOnly is set to true.// |
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== GetHashCode() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //tile// |
+ | * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] | ||
+ | * Description:The target tile to be deleted. | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} uhM=(CacheEntity) ** |
- | ==== GetHigherScaleTile(RectangleShape, Double) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<!-- ThinkGeo.MapSuite.Core.BitmapTile --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | tileBoundingBox | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | * //N/A// |
- | | tileScale | Double<!-- System.Double --> | | | + | |
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Boolean |
- | ==== GetTile(RectangleShape) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<!-- ThinkGeo.MapSuite.Core.BitmapTile --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //cacheEntity// |
- | | tileBoundingBox | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.CacheEntity|CacheEntity]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} GetHigherScaleTileCore(RectangleShape,Double) ** |
- | ==== GetTile(Int64, Int64) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<!-- ThinkGeo.MapSuite.Core.BitmapTile --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | row | Int64<!-- System.Int64 --> | | | + | * //N/A// |
- | | column | Int64<!-- System.Int64 --> | | | + | |
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] |
- | ==== GetTiles(RectangleShape) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Collection<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.BitmapTile} --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //tileBoundingBox// |
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | * //tileScale// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetType() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} MergeBitmaps(IEnumerable<BitmapTile>,Double) ** |
- | <!-- System.Object --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== SaveTile(Tile) ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] |
- | | tile | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //tilesToMerge// |
- | ==== SaveTiles(GeoImage, RectangleShape) ==== | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]> |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //scale// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | bitmap | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | | | + | * Description:N/A |
- | | bitmapExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) ** |
- | ==== ToString() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ===== Protected Methods ===== | + | * Description:N/A |
- | ==== 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 === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //e// |
+ | * Type:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] | ||
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.Core.TileCache(overriden) --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) ** |
- | ==== 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | tile | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --> | The target tile to be deleted. | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.Core.TileCache(overriden) --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== Finalize() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //e// |
+ | * Type:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] | ||
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
- | ==== GetHigherScaleTileCore(RectangleShape, Double) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<!-- ThinkGeo.MapSuite.Core.BitmapTile --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | tileBoundingBox | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | * //N/A// |
- | | tileScale | Double<!-- System.Double --> | | | + | |
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== GetTileCore(Int64, Int64) ==== | + | * Description:N/A |
- | 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. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<!-- ThinkGeo.MapSuite.Core.BitmapTile --> | Returns the BitmapTile corresponding to the passed in row and column. | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
- | | row | Int64<!-- System.Int64 --> | The target row for the tile to fetch. | | + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** |
- | | column | Int64<!-- System.Int64 --> | The target column for the tile to fetch. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache(overriden) --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== MemberwiseClone() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Object |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | ==== MergeBitmaps(IEnumerable<BitmapTile>, Double) ==== | + | ==== Public Properties ==== |
- | === Return Value === | + | ** {{wiki:PublicProperty.gif|}} DatabasePathFilename ** |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]<!-- ThinkGeo.MapSuite.Core.BitmapTile --> | | | + | |
- | === Parameters === | + | * //Gets or sets the database path filename.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | tilesToMerge | IEnumerable<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.BitmapTile} --> | | | + | * //N/A// |
- | | scale | Double<!-- System.Double --> | | | + | == Return Value == |
+ | * Type:String | ||
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | ** {{wiki:PublicProperty.gif|}} ExpirationTime ** |
- | [[#Protected Methods|Go Back]] | + | |
- | ==== OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | e | [[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]]<!-- ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs --> | | | + | * //N/A// |
+ | == Return Value == | ||
+ | * Type:TimeSpan | ||
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | ** {{wiki:PublicProperty.gif|}} CacheId ** |
- | [[#Protected Methods|Go Back]] | + | |
- | ==== OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //Gets or sets the id of the TileCache.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | e | [[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]]<!-- ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs --> | | | + | * //N/A// |
+ | == Return Value == | ||
+ | * Type:String | ||
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | ** {{wiki:PublicProperty.gif|}} TileMatrix ** |
- | [[#Protected Methods|Go Back]] | + | |
- | ==== 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | tile | [[ThinkGeo.MapSuite.Core.Tile|Tile]]<!-- ThinkGeo.MapSuite.Core.Tile --> | The target tile to be saved. | | + | * //N/A// |
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] | ||
- | <!-- ThinkGeo.MapSuite.Core.TileCache(overriden) --> | + | ** {{wiki:PublicProperty.gif|}} TileAccessMode ** |
- | [[#Protected Methods|Go Back]] | + | |
- | ===== Public Properties ===== | + | |
- | ==== CacheId ==== | + | |
- | Gets or sets the id of the TileCache. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache(overriden) --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== DatabasePathFilename ==== | + | * //N/A// |
- | Gets or sets the database path filename. | + | == Return Value == |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.AndroidEdition.SqliteBitmapTileCache --> | + | ** {{wiki:PublicProperty.gif|}} NoDataTileImage ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== ImageFormat ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]]<!-- ThinkGeo.MapSuite.Core.TileImageFormat --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== JpegQuality ==== | + | * //N/A// |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
- | | Int16<!-- System.Int16 --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | ** {{wiki:PublicProperty.gif|}} LoadingTileImage ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== LoadingTileImage ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== NoDataTileImage ==== | + | * //N/A// |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
- | | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | ** {{wiki:PublicProperty.gif|}} ImageFormat ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== TileAccessMode ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]]<!-- ThinkGeo.MapSuite.Core.TileAccessMode --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== TileMatrix ==== | + | * //N/A// |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] |
- | | [[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]]<!-- ThinkGeo.MapSuite.Core.TileMatrix --> | | + | |
+ | ** {{wiki:PublicProperty.gif|}} JpegQuality ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Int16 | ||
+ | |||
+ | ==== Protected Properties ==== | ||
+ | ==== Public Events ==== | ||
+ | ** {{wiki:PublicEvent.gif|}} GottenCacheImage ** | ||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
- | <!-- ThinkGeo.MapSuite.Core.TileCache --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] |
- | [[#Public Properties|Go Back]] | + | |
- | ===== Protected Properties ===== | + | |
- | ===== Public Events ===== | + | |
- | ==== GettingCacheImage ==== | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]]<!-- ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | ** {{wiki:PublicEvent.gif|}} GettingCacheImage ** |
- | [[#Public Events|Go Back]] | + | * //N/A// |
- | ==== GottenCacheImage ==== | + | == Remarks == |
- | === Event Arguments === | + | * //N/A// |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]]<!-- ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | __NOTOC__ | ||
- | [[Category:AndroidEdition]] | ||
- | [[Category:ThinkGeo.MapSuite.AndroidEdition]] | ||
- | [[Category:UpdateDocumentation]] | ||