User Tools

Site Tools


thinkgeo.mapsuite.androidedition.sqlitebitmaptilecache

This is an old revision of the document!


ThinkGeo.MapSuite.AndroidEdition.SqliteBitmapTileCache

<!– Class –>

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodSqliteBitmapTileCache Initializes a new instance of the class.
Public MethodSqliteBitmapTileCache String, String Initializes a new instance of the class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodClearCacheCore TileCache(overriden) This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method.
Protected MethodDeleteTileCore Tile TileCache(overriden) This abstract method will delete the target tile passed in, for each sub TileCache class must implement this method.
Protected MethodFinalize Object
Protected MethodGetHigherScaleTileCore RectangleShape, Double BitmapTileCache
Protected MethodGetTileCore Int64, Int64 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.
Protected MethodMemberwiseClone Object
Protected MethodMergeBitmaps IEnumerable<BitmapTile>, Double BitmapTileCache
Protected MethodOnGettingCacheImage GettingCacheImageBitmapTileCacheEventArgs BitmapTileCache
Protected MethodOnGottenCacheImage GottenCacheImageBitmapTileCacheEventArgs BitmapTileCache
Protected MethodSaveTileCore Tile TileCache(overriden) This abstract method will save the target tile passed in, for each sub TileCache class must implement this method.

Public Properties

Name Return DeclaringType Summary
Public PropertyCacheId String TileCache(overriden) Gets or sets the id of the TileCache.
Public PropertyDatabasePathFilename String Gets or sets the database path filename.
Public PropertyImageFormat TileImageFormat TileCache
Public PropertyJpegQuality Int16 TileCache
Public PropertyLoadingTileImage GeoImage TileCache
Public PropertyNoDataTileImage GeoImage TileCache
Public PropertyTileAccessMode TileAccessMode TileCache
Public PropertyTileMatrix TileMatrix TileCache

Protected Properties

Name Return DeclaringType Summary

Public Events

Public Constructors

SqliteBitmapTileCache()

Initializes a new instance of the class.

Parameters

Name Type Description

Go Back

SqliteBitmapTileCache(String, String)

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.

Go Back

Protected Constructors

Public Methods

ClearCache()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

DeleteTile(Tile)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
tile Tile<!– ThinkGeo.MapSuite.Core.Tile –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

DeleteTiles(RectangleShape)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetHigherScaleTile(RectangleShape, Double)

Return Value

Return Type Description
BitmapTile<!– ThinkGeo.MapSuite.Core.BitmapTile –>

Parameters

Name Type Description
tileBoundingBox RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>
tileScale Double<!– System.Double –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> Go Back

GetTile(RectangleShape)

Return Value

Return Type Description
BitmapTile<!– ThinkGeo.MapSuite.Core.BitmapTile –>

Parameters

Name Type Description
tileBoundingBox RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> Go Back

GetTile(Int64, Int64)

Return Value

Return Type Description
BitmapTile<!– ThinkGeo.MapSuite.Core.BitmapTile –>

Parameters

Name Type Description
row Int64<!– System.Int64 –>
column Int64<!– System.Int64 –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> Go Back

GetTiles(RectangleShape)

Return Value

Return Type Description
Collection<BitmapTile><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.BitmapTile} –>

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

SaveTile(Tile)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
tile Tile<!– ThinkGeo.MapSuite.Core.Tile –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

SaveTiles(GeoImage, RectangleShape)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
bitmap GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>
bitmapExtent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

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

Name Type Description

<!– ThinkGeo.MapSuite.Core.TileCache(overriden) –> Go Back

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

Name Type Description
tile Tile<!– ThinkGeo.MapSuite.Core.Tile –> The target tile to be deleted.

<!– ThinkGeo.MapSuite.Core.TileCache(overriden) –> Go Back

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetHigherScaleTileCore(RectangleShape, Double)

Return Value

Return Type Description
BitmapTile<!– ThinkGeo.MapSuite.Core.BitmapTile –>

Parameters

Name Type Description
tileBoundingBox RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>
tileScale Double<!– System.Double –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> Go Back

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.

Return Value

Return Type Description
BitmapTile<!– ThinkGeo.MapSuite.Core.BitmapTile –> Returns the BitmapTile corresponding to the passed in row and column.

Parameters

Name Type Description
row Int64<!– System.Int64 –> The target row for the tile to fetch.
column Int64<!– System.Int64 –> The target column for the tile to fetch.

<!– ThinkGeo.MapSuite.Core.BitmapTileCache(overriden) –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MergeBitmaps(IEnumerable<BitmapTile>, Double)

Return Value

Return Type Description
BitmapTile<!– ThinkGeo.MapSuite.Core.BitmapTile –>

Parameters

Name Type Description
tilesToMerge IEnumerable<BitmapTile><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.BitmapTile} –>
scale Double<!– System.Double –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> Go Back

OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e GettingCacheImageBitmapTileCacheEventArgs<!– ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> Go Back

OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e GottenCacheImageBitmapTileCacheEventArgs<!– ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> 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

Name Type Description
tile Tile<!– ThinkGeo.MapSuite.Core.Tile –> The target tile to be saved.

<!– ThinkGeo.MapSuite.Core.TileCache(overriden) –> 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) –> Go Back

DatabasePathFilename

Gets or sets the database path filename.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.AndroidEdition.SqliteBitmapTileCache –> Go Back

ImageFormat

Return Value

Return Type
TileImageFormat<!– ThinkGeo.MapSuite.Core.TileImageFormat –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

JpegQuality

Return Value

Return Type
Int16<!– System.Int16 –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

LoadingTileImage

Return Value

Return Type
GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

NoDataTileImage

Return Value

Return Type
GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

TileAccessMode

Return Value

Return Type
TileAccessMode<!– ThinkGeo.MapSuite.Core.TileAccessMode –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

TileMatrix

Return Value

Return Type
TileMatrix<!– ThinkGeo.MapSuite.Core.TileMatrix –>

<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back

Protected Properties

Public Events

GettingCacheImage

Event Arguments

Event Arguments
GettingCacheImageBitmapTileCacheEventArgs<!– ThinkGeo.MapSuite.Core.GettingCacheImageBitmapTileCacheEventArgs –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> Go Back

GottenCacheImage

Event Arguments

Event Arguments
GottenCacheImageBitmapTileCacheEventArgs<!– ThinkGeo.MapSuite.Core.GottenCacheImageBitmapTileCacheEventArgs –>

<!– ThinkGeo.MapSuite.Core.BitmapTileCache –> Go Back

NOTOC AndroidEdition ThinkGeo.MapSuite.AndroidEdition UpdateDocumentation

thinkgeo.mapsuite.androidedition.sqlitebitmaptilecache.1440040127.txt.gz · Last modified: 2015/09/21 10:32 (external edit)