User Tools

Site Tools


thinkgeo.mapsuite.core.bitmaptilecache

This is an old revision of the document!


ThinkGeo.MapSuite.Core.BitmapTileCache

This is the base class for BitmapTileCache system which inherits from TileCache class.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

BitmapTileCache

Public Methods

ClearCache

  • Parameters:N/A
  • DeclaringType:TileCache
  • Summary:N/A

DeleteTile

DeleteTiles

Equals

  • Parameters:Object
  • DeclaringType:Object
  • Summary:N/A

GetHashCode

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetHigherScaleTile

  • Parameters:RectangleShape,Double
  • DeclaringType:N/A
  • Summary:This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut.

GetTile

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary:This method returns the BitmapTile corresponding to the tile bounding box passed in.

GetTile

  • Parameters:Int64,Int64
  • DeclaringType:N/A
  • Summary:This method returns the BitmapTile corresponding to passed in row and column.

GetTiles

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary:This method returns all the BitmapTiles within the passed in world extent, some of which may not has bitmap.

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

SaveTile

SaveTiles

SaveTiles

ToString

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Protected Methods

ClearCacheCore

  • Parameters:N/A
  • DeclaringType:TileCache
  • Summary:N/A

DeleteTileCore

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetHigherScaleTileCore

  • Parameters:RectangleShape,Double
  • DeclaringType:N/A
  • Summary:This method is virtual and can be overriden by its sub classes. This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut.

GetTileCore

  • Parameters:Int64,Int64
  • DeclaringType:N/A
  • Summary: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.

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

MergeBitmaps

  • Parameters:IEnumerable<BitmapTile>,Double
  • DeclaringType:N/A
  • Summary:This method will merege the passed in bitmap tiles into a larege bitmap tile.

OnGettingCacheImage

OnGottenCacheImage

SaveTileCore

Public Properties

CacheId

  • Return:String
  • Summary:N/A

ImageFormat

JpegQuality

  • Return:Int16
  • Summary:N/A

LoadingTileImage

  • Return:Bitmap
  • Summary:N/A

NoDataTileImage

  • Return:Bitmap
  • Summary:N/A

TileAccessMode

TileMatrix

Protected Properties

Public Events

Public Constructors

Protected Constructors

BitmapTileCache(String,TileImageFormat,TileMatrix)

This is the constructor of the class.

Remarks

N/A

Parameters

cacheId

  • Type:String
  • Description:This is the cache identifier which marks its difference with other TileCache. imageFormat * Type:TileImageFormat * Description:This is the imageFormate showing what kind of image we are trying to save.

tileMatrix

  • Description:This is the tile matrix system which is used for caculating tiles. Go Back ===== Public Methods ===== === ClearCache() === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== Go Back === DeleteTile(Tile) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== tile * Type:Tile * Description:N/A Go Back === DeleteTiles(RectangleShape) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== worldExtent * Type:RectangleShape * Description:N/A Go Back === Equals(Object) === N/A ==== Remarks ==== N/A Return Value * Return Type:Boolean * Description:N/A ==== Parameters ==== obj * Type:Object * Description:N/A Go Back === GetHashCode() === N/A ==== Remarks ==== N/A Return Value * Return Type:Int32 * Description:N/A ==== Parameters ==== Go Back === GetHigherScaleTile(RectangleShape,Double) === This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. ==== Remarks ==== N/A Return Value * Return Type:BitmapTile * Description:Returns the higher scale(higher zoomLevel) bitmap tile. ==== Parameters ==== tileBoundingBox * Type:RectangleShape * Description:The parameter specifies the current tile bounding box. tileScale * Type:Double * Description:This parameter specifies the current tile scale. Go Back === GetTile(RectangleShape) === This method returns the BitmapTile corresponding to the tile bounding box passed in. ==== Remarks ==== N/A Return Value * Return Type:BitmapTile * Description:Returns the BitmapTile corresponding to the passed in boundingBox. ==== Parameters ==== tileBoundingBox * Type:RectangleShape * Description:The target boundingBox for the tile to fetch. Go Back === GetTile(Int64,Int64) === This method returns the BitmapTile corresponding to passed in row and column. ==== Remarks ==== N/A Return Value * Return Type: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. Go Back === GetTiles(RectangleShape) === This method returns all the BitmapTiles within the passed in world extent, some of which may not has bitmap. ==== Remarks ==== N/A Return Value * Return Type:Collection<BitmapTile> * Description:Returns a collection of BitmapTiles within the passed in worldExtent. ==== Parameters ==== worldExtent * Type:RectangleShape * Description:The target worldExtent will be used to fetch all the BitmapTiles from. Go Back === GetType() === N/A ==== Remarks ==== N/A Return Value * Return Type:Type * Description:N/A ==== Parameters ==== Go Back === SaveTile(Tile) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== tile * Type:Tile * Description:N/A Go Back === SaveTiles(Bitmap,RectangleShape,Boolean) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== bitmap * Type:Bitmap * Description:N/A bitmapExtent * Type:RectangleShape * Description:N/A saveContainedCellsOnly * Type:Boolean * Description:N/A Go Back === SaveTiles(Bitmap,RectangleShape) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== bitmap * Type:Bitmap * Description:N/A bitmapExtent * Type:RectangleShape * Description:N/A Go Back === ToString() === N/A ==== Remarks ==== N/A Return Value * Return Type:String * Description:N/A ==== Parameters ==== Go Back ===== Protected Methods ===== === ClearCacheCore() === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== Go Back === DeleteTileCore(Tile) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== tile * Type:Tile * Description:N/A Go Back === Finalize() === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== Go Back === GetHigherScaleTileCore(RectangleShape,Double) === This method is virtual and can be overriden by its sub classes. This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. ==== Remarks ==== N/A Return Value * Return Type:BitmapTile * Description:Returns the higher scale(higher zoomLevel) bitmap tile. ==== Parameters ==== tileBoundingBox * Type:RectangleShape * Description:The parameter specifies the current tile bounding box. tileScale * Type:Double * Description:This parameter specifies the current tile scale. 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. ==== Remarks ==== N/A Return Value * Return Type: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. Go Back === MemberwiseClone() === N/A ==== Remarks ==== N/A Return Value * Return Type:Object * Description:N/A ==== Parameters ==== Go Back === MergeBitmaps(IEnumerable<BitmapTile>,Double) === This method will merege the passed in bitmap tiles into a larege bitmap tile. ==== Remarks ==== N/A Return Value * Return Type:BitmapTile * Description:Returns a merged bitmap tile. ==== Parameters ==== tilesToMerge * Type:IEnumerable<BitmapTile> * Description:The collection of tiles to be mereged. scale * Type:Double * Description:The target scale for result mereged bitmap tile. Go Back === OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== e * Type:GettingCacheImageBitmapTileCacheEventArgs * Description:N/A Go Back === OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== e * Type:GottenCacheImageBitmapTileCacheEventArgs * Description:N/A Go Back === SaveTileCore(Tile) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== tile * Type:Tile * Description:N/A Go Back ===== Public Properties ===== === CacheId === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:String Go Back === ImageFormat === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:TileImageFormat Go Back === JpegQuality === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Int16 Go Back === LoadingTileImage === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Bitmap Go Back === NoDataTileImage === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Bitmap Go Back === TileAccessMode === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:TileAccessMode Go Back === TileMatrix === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:TileMatrix Go Back ===== Protected Properties ===== ===== Public Events ===== === GettingCacheImage === N/A ==== Remarks ==== N/A Event Arguments:GettingCacheImageBitmapTileCacheEventArgs Go Back === GottenCacheImage === N/A ==== Remarks ==== N/A Event Arguments**:GottenCacheImageBitmapTileCacheEventArgs

Go Back

thinkgeo.mapsuite.core.bitmaptilecache.1442485546.txt.gz · Last modified: 2015/09/17 10:25 by admin