User Tools

Site Tools


thinkgeo.mapsuite.core.nativeimagetilecache

ThinkGeo.MapSuite.Core.NativeImageTileCache

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

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

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

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

Public Methods

GetTile(RectangleShape)

  • This method returns the NativeImageTile corresponding to the tile bounding box passed in.
Remarks
  • N/A
Return Value
  • Description:Returns the NativeImageTile corresponding to the passed in boundingBox.
Parameters
  • tileBoundingBox
    • Description:The target boundingBox for the tile to fetch.

GetTile(Int64,Int64)

  • This method returns the NativeImageTile corresponding to passed in row and column.
Remarks
  • N/A
Return Value
  • Description:Returns the NativeImageTile 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.

GetTiles(RectangleShape)

  • This method returns all the NativeImageTiles within the passed in world extent.
Remarks
  • N/A
Return Value
  • Type:Collection<NativeImageTile>
  • Description:Returns a collection of NativeImageTiles within the passed in worldExtent.
Parameters
  • extent
    • Description:The target worldExtent will be used to fetch all the NativeImageTiles from.

SaveTile(Tile)

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

SaveTiles(Bitmap,RectangleShape,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bitmap
    • Type:Bitmap
    • Description:N/A
  • saveContainedCellsOnly
    • Type:Boolean
    • Description:N/A

SaveTiles(Bitmap,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bitmap
    • Type:Bitmap
    • Description:N/A

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 NativeImageTile 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 NativeImageTile 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()

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

SaveTileCore(Tile)

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

DeleteTileCore(Tile)

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

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

TileMatrix

N/A

Remarks

N/A

Return Value

TileAccessMode

N/A

Remarks

N/A

Return Value

NoDataTileImage

N/A

Remarks

N/A

Return Value
  • Type:Bitmap

LoadingTileImage

N/A

Remarks

N/A

Return Value
  • Type:Bitmap

ImageFormat

N/A

Remarks

N/A

Return Value

JpegQuality

N/A

Remarks

N/A

Return Value
  • Type:Int16

CacheId

N/A

Remarks

N/A

Return Value
  • Type:String

Protected Properties

Public Events

thinkgeo.mapsuite.core.nativeimagetilecache.txt · Last modified: 2017/03/16 21:59 (external edit)