C# Class TileCook.MBTilesCache

Inheritance: ICache
显示文件 Open project: jbrwn/tc

Public Methods

Method Description
Delete ( Coord coord, string Format ) : void
Get ( Coord coord, string Format ) : byte[]
MBTilesCache ( string Database ) : System
MBTilesCache ( string Database, string Format ) : System
Put ( Coord coord, string Format, byte image ) : void

Private Methods

Method Description
CreateMBTiles ( string Database, string Format ) : void
GetInternalFormat ( ) : string
GetVersion ( ) : string
InitializeFormat ( string Format ) : string
isCompressed ( ) : bool

Method Details

Delete() public method

public Delete ( Coord coord, string Format ) : void
coord Coord
Format string
return void

Get() public method

public Get ( Coord coord, string Format ) : byte[]
coord Coord
Format string
return byte[]

MBTilesCache() public method

public MBTilesCache ( string Database ) : System
Database string
return System

MBTilesCache() public method

public MBTilesCache ( string Database, string Format ) : System
Database string
Format string
return System

Put() public method

public Put ( Coord coord, string Format, byte image ) : void
coord Coord
Format string
image byte
return void