====== ThinkGeo.MapSuite.Layers.FileBitmapTileCache ====== ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.Layers.TileCache *ThinkGeo.MapSuite.Layers.BitmapTileCache ***ThinkGeo.MapSuite.Layers.FileBitmapTileCache** *[[ThinkGeo.MapSuite.Layers.EncryptedFileBitmapTileCache]] ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} FileBitmapTileCache() ** * //This is the default constructor.// == Remarks == * //If you use this constructor, you have to set the properties manually.// == Parameters ==
** {{wiki:PublicMethod.gif|}} FileBitmapTileCache(String) ** * //This is the overloads constructor.// == Remarks == * //If you use this constructor, the other properties are set with default values.// == Parameters == * //cacheDirectory// * Type:String * Description:This parameter specifies the cache directory of the tile cache.
** {{wiki:PublicMethod.gif|}} FileBitmapTileCache(String,String) ** * //This is the overloads constructor.// == Remarks == * //If you use this constructor, the other properties are set with default values.// == Parameters == * //cacheDirectory// * Type:String * Description:This parameter specifies the cache directory of the tile cache. * //cacheId// * Type:String * Description:This parameter specifies the cache id of the tile cache.
** {{wiki:PublicMethod.gif|}} FileBitmapTileCache(String,String,TileImageFormat,TileMatrix) ** * //This is the constructor with all the parameters needed passed in.// == Remarks == * //N/A// == Parameters == * //cacheDirectory// * Type:String * Description:This parameter specifies the cache directory of the tile cache. * //cacheId// * Type:String * Description:This parameter specifies the cache id of the tile cache. * //imageFormat// * Type:[[ThinkGeo.MapSuite.Layers.TileImageFormat|TileImageFormat]] * Description:This parameter specifies the image format of the tile cahce. * //tileMatrix// * Type:[[ThinkGeo.MapSuite.Layers.TileMatrix|TileMatrix]] * Description:This parameter specifies the tile matrix of the tile cache.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} ClearCache(TimeSpan) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //tileExpiration// * Type:TimeSpan * Description:N/A
** {{wiki:PublicMethod.gif|}} ClearCache(Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //maxSizeInMegabytes// * Type:Double * Description:N/A
** {{wiki:PublicMethod.gif|}} ClearCache(TimeSpan,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //tileExpiration// * Type:TimeSpan * Description:N/A * //maxSizeInMegabytes// * Type:Double * Description:N/A
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetTileImageFileNames(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection * Description:N/A == Parameters == * //tileBoundingBox// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} GetTileImageFileName(Int64,Int64) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters == * //row// * Type:Int64 * Description:N/A * //column// * Type:Int64 * Description:N/A
** {{wiki:PublicMethod.gif|}} GetTile(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.BitmapTile|BitmapTile]] * Description:N/A == Parameters == * //tileBoundingBox// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} GetTile(Int64,Int64) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.BitmapTile|BitmapTile]] * Description:N/A == Parameters == * //row// * Type:Int64 * Description:N/A * //column// * Type:Int64 * Description:N/A
** {{wiki:PublicMethod.gif|}} GetTiles(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.Layers.BitmapTile|BitmapTile]]> * Description:N/A == Parameters == * //worldExtent// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHigherScaleTile(RectangleShape,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.BitmapTile|BitmapTile]] * Description:N/A == Parameters == * //tileBoundingBox// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A * //tileScale// * Type:Double * Description:N/A
** {{wiki:PublicMethod.gif|}} SaveTile(Tile) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //tile// * Type:[[ThinkGeo.MapSuite.Layers.Tile|Tile]] * Description:N/A
** {{wiki:PublicMethod.gif|}} SaveTiles(GeoImage,RectangleShape,Boolean) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.MapSuite.Drawing.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A * //saveContainedCellsOnly// * Type:Boolean * Description:N/A
** {{wiki:PublicMethod.gif|}} SaveTiles(GeoImage,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.MapSuite.Drawing.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} DeleteTiles(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //worldExtent// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} DeleteTile(Tile) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //tile// * Type:[[ThinkGeo.MapSuite.Layers.Tile|Tile]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ClearCache() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
===== Protected Methods ===== ** {{wiki:ProtectedMethod.gif|}} GetTileCore(Int64,Int64) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.BitmapTile|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.
** {{wiki:ProtectedMethod.gif|}} SaveTileCore(Tile) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //tile// * Type:[[ThinkGeo.MapSuite.Layers.Tile|Tile]] * Description:The target tile to be saved.
** {{wiki:ProtectedMethod.gif|}} DeleteTileCore(Tile) ** * //N/A// == Remarks == * //This method will not take effect when the Read is set to true.// == Return Value == * Type:Void * Description:N/A == Parameters == * //tile// * Type:[[ThinkGeo.MapSuite.Layers.Tile|Tile]] * Description:The target tile to be deleted.
** {{wiki:ProtectedMethod.gif|}} CheckExpiration(String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //tileImageFileName// * Type:String * Description:N/A
** {{wiki:ProtectedMethod.gif|}} GetBinariesFromBitmap(GeoImage) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Byte[] * Description:N/A == Parameters == * //bitmap// * Type:[[ThinkGeo.MapSuite.Drawing.GeoImage|GeoImage]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} ClearCacheCore() ** * //N/A// == Remarks == * //This method will not take effect when the Read is set to true.// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} GetHigherScaleTileCore(RectangleShape,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.BitmapTile|BitmapTile]] * Description:Returns the higher scale(higher zoomLevel) bitmap tile. == Parameters == * //tileBoundingBox// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:The parameter specifies the current tile bounding box. * //tileScale// * Type:Double * Description:This parameter specifies the current tile scale.
** {{wiki:ProtectedMethod.gif|}} MergeBitmaps(IEnumerable,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.BitmapTile|BitmapTile]] * Description:N/A == Parameters == * //tilesToMerge// * Type:IEnumerable<[[ThinkGeo.MapSuite.Layers.BitmapTile|BitmapTile]]> * Description:N/A * //scale// * Type:Double * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnGottenCacheImage(GottenCacheImageBitmapTileCacheEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Layers.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnGettingCacheImage(GettingCacheImageBitmapTileCacheEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Layers.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} CacheDirectory ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} ExpirationTime ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:TimeSpan ** {{wiki:PublicProperty.gif|}} TileMatrix ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.TileMatrix|TileMatrix]] ** {{wiki:PublicProperty.gif|}} TileAccessMode ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.TileAccessMode|TileAccessMode]] ** {{wiki:PublicProperty.gif|}} NoDataTileImage ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Drawing.GeoImage|GeoImage]] ** {{wiki:PublicProperty.gif|}} LoadingTileImage ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Drawing.GeoImage|GeoImage]] ** {{wiki:PublicProperty.gif|}} ImageFormat ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.TileImageFormat|TileImageFormat]] ** {{wiki:PublicProperty.gif|}} JpegQuality ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int16 ** {{wiki:PublicProperty.gif|}} CacheId ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String ==== Protected Properties ==== ==== Public Events ==== ** {{wiki:PublicEvent.gif|}} GottenCacheImage ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.GottenCacheImageBitmapTileCacheEventArgs|GottenCacheImageBitmapTileCacheEventArgs]] ** {{wiki:PublicEvent.gif|}} GettingCacheImage ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.GettingCacheImageBitmapTileCacheEventArgs|GettingCacheImageBitmapTileCacheEventArgs]]