User Tools

Site Tools


thinkgeo.mapsuite.core.tilecache

This is an old revision of the document!


ThinkGeo.MapSuite.Core.TileCache

This is the base class for TileCache system.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

TileCache

Public Methods

ClearCache

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method will clear all the tiles in the tileCache.

DeleteTile

  • Parameters:Tile
  • DeclaringType:N/A
  • Summary:This method will delete the target tile passed in.

DeleteTiles

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary:This method will delete the tiles within the passed in worldExtent.

Equals

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

GetHashCode

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

GetType

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

SaveTile

  • Parameters:Tile
  • DeclaringType:N/A
  • Summary:This method will save the target tile passed in.

SaveTiles

  • Parameters:Bitmap,RectangleShape,Boolean
  • DeclaringType:N/A
  • Summary:N/A

SaveTiles

  • Parameters:Bitmap,RectangleShape
  • DeclaringType:N/A
  • Summary:This method will save the bitmap with its extent attached into tiles.

ToString

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

Protected Methods

ClearCacheCore

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method.

DeleteTileCore

  • Parameters:Tile
  • DeclaringType:N/A
  • Summary:This abstract method will delete the target tile passed in, for each sub TileCache class must implement this method.

Finalize

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

MemberwiseClone

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

SaveTileCore

  • Parameters:Tile
  • DeclaringType:N/A
  • Summary:This abstract method will save the target tile passed in, for each sub TileCache class must implement this method.

Public Properties

CacheId

  • Return:String
  • Summary:Gets or sets the id of the TileCache.

ImageFormat

JpegQuality

  • Return:Int16
  • Summary:Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg.

LoadingTileImage

  • Return:Bitmap
  • Summary:This property returns back a preset image showing the Tile is loading.

NoDataTileImage

  • Return:Bitmap
  • Summary:This property returns back a preset image showing the tile data is missing.

TileAccessMode

  • Summary:Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete

TileMatrix

  • Return:TileMatrix
  • Summary:Gets or sets the TileMatrix which is used in caculation for tiles.

Protected Properties

Public Events

Public Constructors

Protected Constructors

TileCache(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() === This method will clear all the tiles in the tileCache. ==== Remarks ==== This method will not take effect when the ReadOnly is set to true. Return Value * Return Type:Void * Description:N/A ==== Parameters ==== Go Back === DeleteTile(Tile) === This method will delete the target tile passed in. ==== Remarks ==== This method will not take effect when the ReadOnly is set to true. Return Value * Return Type:Void * Description:N/A ==== Parameters ==== tile * Type:Tile * Description:The target tile to be deleted. Go Back === DeleteTiles(RectangleShape) === This method will delete the tiles within the passed in worldExtent. ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== worldExtent * Type:RectangleShape * Description:The target extent to delete all tiles within it. 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 === GetType() === N/A ==== Remarks ==== N/A Return Value * Return Type:Type * Description:N/A ==== Parameters ==== Go Back === SaveTile(Tile) === This method will save the target tile passed in. ==== Remarks ==== This method will not take effect when the ReadOnly is set to true. Return Value * Return Type:Void * Description:N/A ==== Parameters ==== tile * Type:Tile * Description:The target tile to be saved. 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) === This method will save the bitmap with its extent attached into tiles. ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== bitmap * Type:Bitmap * Description:The target bitmap to be saved into tiles. bitmapExtent * Type:RectangleShape * Description:The target extent for the bitmap. Go Back === ToString() === N/A ==== Remarks ==== N/A Return Value * Return Type:String * Description:N/A ==== Parameters ==== 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:Void * Description:N/A ==== Parameters ==== 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:Void * Description:N/A ==== Parameters ==== tile * Type:Tile * Description:The target tile to be deleted. Go Back === Finalize() === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== Go Back === MemberwiseClone() === N/A ==== Remarks ==== N/A Return Value * Return Type:Object * Description:N/A ==== Parameters ==== 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:Void * Description:N/A ==== Parameters ==== tile * Type:Tile * Description:The target tile to be saved. Go Back ===== Public Properties ===== === CacheId === Gets or sets the id of the TileCache. ==== Remarks ==== N/A ==== Return Value ==== Return Type:String Go Back === ImageFormat === Gets or sets the tile image format. ==== Remarks ==== N/A ==== Return Value ==== Return Type:TileImageFormat Go Back === JpegQuality === Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg. ==== Remarks ==== N/A ==== Return Value ==== Return Type:Int16 Go Back === LoadingTileImage === This property returns back a preset image showing the Tile is loading. ==== Remarks ==== N/A ==== Return Value ==== Return Type:Bitmap Go Back === NoDataTileImage === This property returns back a preset image showing the tile data is missing. ==== Remarks ==== N/A ==== Return Value ==== Return Type:Bitmap Go Back === TileAccessMode === Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete ==== Remarks ==== If you want it to take effect, you need set the ReadOnly property false. ==== Return Value ==== Return Type:TileAccessMode Go Back === TileMatrix === Gets or sets the TileMatrix which is used in caculation for tiles. ==== Remarks ==== N/A ==== Return Value ==== Return Type**:TileMatrix

Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.tilecache.1442486459.txt.gz · Last modified: 2015/09/17 10:40 by admin