====== ThinkGeo.MapSuite.AndroidEdition.SqliteBitmapTileCache ====== {{section>upgrade_map_suite_to_10.0}} This class represents the base sqlite bitmap tile cache. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.Core.TileCache *ThinkGeo.MapSuite.Core.BitmapTileCache ***ThinkGeo.MapSuite.AndroidEdition.SqliteBitmapTileCache** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} SqliteBitmapTileCache() ** * //Initializes a new instance of the class.// == Remarks == * //N/A// == Parameters ==
** {{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.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} GetTile(RectangleShape) ** * //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
** {{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
** {{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
** {{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
** {{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
** {{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
** {{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
** {{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
** {{wiki:PublicMethod.gif|}} ClearCache() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{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.// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] * Description:Returns the BitmapTile corresponding to the passed in row and column. == Parameters == * //row// * Type:Int64 * Description:The target row for the tile to fetch. * //column// * Type:Int64 * Description:The target column for the tile to fetch.
** {{wiki:ProtectedMethod.gif|}} 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 == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} 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 == * Type:Void * Description:N/A == Parameters == * //tile// * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] * Description:The target tile to be saved.
** {{wiki:ProtectedMethod.gif|}} 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 == * Type:Void * Description:N/A == Parameters == * //tile// * Type:[[ThinkGeo.MapSuite.Core.Tile|Tile]] * Description:The target tile to be deleted.
** {{wiki:ProtectedMethod.gif|}} uhM=(CacheEntity) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //cacheEntity// * Type:[[ThinkGeo.MapSuite.AndroidEdition.CacheEntity|CacheEntity]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} GetHigherScaleTileCore(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
** {{wiki:ProtectedMethod.gif|}} MergeBitmaps(IEnumerable,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]] * Description:N/A == Parameters == * //tilesToMerge// * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.BitmapTile|BitmapTile]]> * Description:N/A * //scale// * Type:Double * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} DatabasePathFilename ** * //Gets or sets the database path filename.// == Remarks == * //N/A// == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} ExpirationTime ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:TimeSpan ** {{wiki:PublicProperty.gif|}} CacheId ** * //Gets or sets the id of the TileCache.// == Remarks == * //N/A// == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} TileMatrix ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] ** {{wiki:PublicProperty.gif|}} TileAccessMode ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.TileAccessMode|TileAccessMode]] ** {{wiki:PublicProperty.gif|}} NoDataTileImage ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] ** {{wiki:PublicProperty.gif|}} LoadingTileImage ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] ** {{wiki:PublicProperty.gif|}} ImageFormat ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] ** {{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// Event Arguments:[[ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] ** {{wiki:PublicEvent.gif|}} GettingCacheImage ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]]