Table of Contents

Class Tile

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

This is the base class which describle the Tile class. Tile concept is used as a rectangle image which will be saved in Memory or Hard disk to enhance the performance.

The Tile cache system is very popular in many GIS products including the GoogleMaps, VE Maps etc, the Tile can be considered a small subset used in the TileCache system.

public abstract class Tile
Inheritance
Tile
Derived
Inherited Members

Remarks

The Tile is the lowest level Tile in the Tile hierarchy. Directly inherited from Tile are BitmapTile, NativeImageTile. The methods and properties on Tile are the lowest common denominator for all the various kinds of Tiles. It marked abstract and is designed only to be inherited from.

Constructors

Tile()

This is the default constructor for Tile.

public Tile()

Tile(int, long, long)

This is the constructor for Tile by passing the boundingBox and scale.

public Tile(int zoomIndex, long column, long row)

Parameters

zoomIndex int
column long
row long

Properties

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

Column

public long Column { get; set; }

Property Value

long

Row

public long Row { get; set; }

Property Value

long

ZoomIndex

public int ZoomIndex { get; set; }

Property Value

int

Methods

CloneDeep()

This method shows the way to deep clone a Tile object.

public Tile CloneDeep()

Returns

Tile

This method returns the cloned Tile object.

Remarks

As this is a concrete public method that wraps a Core method, In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this,please contact our support team as we would be happy to work with you on extending our framework.

CloneDeepCore()

This method shows the way to override deep clone a Tile object.

protected virtual Tile CloneDeepCore()

Returns

Tile

This method returns the cloned Tile object.

Remarks

As this is a concrete public method that wraps a Core method, In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this,please contact our support team as we would be happy to work with you on extending our framework.