Table of Contents

Class RasterTileCache

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

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

public abstract class RasterTileCache : TileCache
Inheritance
RasterTileCache
Derived
Inherited Members

Remarks

TileCache system is very efficient in improving the performance of application, especially when large data or remote server images are included.

Constructors

RasterTileCache(string, GeoImageFormat)

This is the constructor of the class.

protected RasterTileCache(string cacheId, GeoImageFormat imageFormat)

Parameters

cacheId string

This is the cache identifier which marks its difference with other TileCache.

imageFormat GeoImageFormat

This is the imageFormate showing what kind of image we are trying to save.

Properties

ImageFormat

Gets or sets the tileView image format.

public GeoImageFormat ImageFormat { get; set; }

Property Value

GeoImageFormat

JpegQuality

Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg.

public short JpegQuality { get; set; }

Property Value

short

LoadingTileImage

This property returns back a preset image showing the Tile is loading.

public GeoImage LoadingTileImage { get; }

Property Value

GeoImage

NoDataTileImage

This property returns back a preset image showing the tileView data is missing.

public GeoImage NoDataTileImage { get; }

Property Value

GeoImage

Methods

ToString()

public override string ToString()

Returns

string