User Tools

Site Tools


thinkgeo.mapsuite.androidedition.sqlitebitmaptilecache

This is an old revision of the document!


ThinkGeo.MapSuite.AndroidEdition.SqliteBitmapTileCache

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

SqliteBitmapTileCache()

Initializes a new instance of the class.

Remarks

N/A

Parameters

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

GetTile(RectangleShape)

N/A

Remarks

N/A

Return Value
Parameters

GetTile(Int64,Int64)

N/A

Remarks

N/A

Return Value
Parameters
  • row
    • Type:Int64
    • Description:N/A
  • column
    • Type:Int64
    • Description:N/A

GetTiles(RectangleShape)

N/A

Remarks

N/A

Return Value
Parameters

GetHigherScaleTile(RectangleShape,Double)

N/A

Remarks

N/A

Return Value
Parameters
  • tileScale
    • Type:Double
    • Description:N/A

SaveTile(Tile)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tile
    • Type:Tile
    • Description:N/A

SaveTiles(GeoImage,RectangleShape)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

DeleteTiles(RectangleShape)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

DeleteTile(Tile)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tile
    • Type:Tile
    • Description:N/A

ClearCache()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

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
  • 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.

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

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:Tile
    • Description:The target tile to be saved.

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:Tile
    • Description:The target tile to be deleted.

CheckExpiration(CacheEntity)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters

GetHigherScaleTileCore(RectangleShape,Double)

N/A

Remarks

N/A

Return Value
Parameters
  • tileScale
    • Type:Double
    • Description:N/A

MergeBitmaps(IEnumerable<BitmapTile>,Double)

N/A

Remarks

N/A

Return Value
Parameters
  • tilesToMerge
  • scale
    • Type:Double
    • Description:N/A

OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

DatabasePathFilename

Gets or sets the database path filename.

Remarks

N/A

Return Value
  • Type:String

ExpirationTime

N/A

Remarks

N/A

Return Value
  • Type:TimeSpan

CacheId

Gets or sets the id of the TileCache.

Remarks

N/A

Return Value
  • Type:String

TileMatrix

N/A

Remarks

N/A

Return Value

TileAccessMode

N/A

Remarks

N/A

Return Value

NoDataTileImage

N/A

Remarks

N/A

Return Value

LoadingTileImage

N/A

Remarks

N/A

Return Value

ImageFormat

N/A

Remarks

N/A

Return Value

JpegQuality

N/A

Remarks

N/A

Return Value
  • Type:Int16

Protected Properties

Public Events

GottenCacheImage N/A

Remarks

N/A

Event Arguments:GottenCacheImageBitmapTileCacheEventArgs

GettingCacheImage N/A

Remarks
thinkgeo.mapsuite.androidedition.sqlitebitmaptilecache.1442831526.txt.gz ยท Last modified: 2015/09/21 10:32 by admin