Skip to content

RasterTile

Namespace: ThinkGeo.Core

This class represents a NativeImageTile, which is defined as scale, RectangleBox and a byte array for its tileView bitmap.

public class RasterTile : Tile, System.IDisposable

Inheritance ObjectTileRasterTile
Implements IDisposable

Properties

Bitmap

public GeoImage Bitmap { get; set; }

Property Value

GeoImage

RasterData

This property is the Bitmap showing the tileView image.

public Byte[] RasterData { get; set; }

Property Value

Byte[]

ZoomIndex

public int ZoomIndex { get; set; }

Property Value

Int32

Column

public long Column { get; set; }

Property Value

Int64

Row

public long Row { get; set; }

Property Value

Int64

CacheId

The CacheId of the Tile. This is for avoiding the issue that Tile A is saved to Tile B's Cache in a multi-threading environment.

public string CacheId { get; set; }

Property Value

String

Constructors

RasterTile()

This is the default constructor without passing any parameters. All its properties should be set via the properties.

public RasterTile()

RasterTile(Byte[], Int32, Int64, Int64)

public RasterTile(Byte[] rasterData, int zoom, long column, long row)

Parameters

rasterData Byte[]

zoom Int32

column Int64

row Int64

Methods

GetImage()

public GeoImage GetImage()

Returns

GeoImage

Finalize()

This method is the destructorof this class. Destructor cannot be called and only will be invoked automatically.

protected void Finalize()

Dispose()

This method is targeting releasing or resetting unmanaged resources.

public void Dispose()