Skip to content

GettingTileTileCacheEventArgs

Namespace: ThinkGeo.Core

Provides data for events raised when a tile is requested from the tile cache.

public class GettingTileTileCacheEventArgs : System.EventArgs

Inheritance objectEventArgsGettingTileTileCacheEventArgs

Properties

Zoom

Gets or sets the zoom level for the tile request.

public int Zoom { get; set; }

Property Value

int

X

Gets or sets the X index of the tile.

public long X { get; set; }

Property Value

long

Y

Gets or sets the Y index of the tile.

public long Y { get; set; }

Property Value

long

TileSource

Gets or sets an optional label describing which cache or provider issued the request.

public string TileSource { get; set; }

Property Value

string

Cancel

Gets or sets a value indicating whether the tile retrieval should be canceled.

public bool Cancel { get; set; }

Property Value

bool

Constructors

GettingTileTileCacheEventArgs()

Initializes a new instance of the GettingTileTileCacheEventArgs class with default coordinates.

public GettingTileTileCacheEventArgs()

GettingTileTileCacheEventArgs(int, long, long, string)

Initializes a new instance of the GettingTileTileCacheEventArgs class.

public GettingTileTileCacheEventArgs(int zoom, long x, long y, string tileSource)

Parameters

zoom int
The zoom level of the requested tile.

x long
The X index of the tile.

y long
The Y index of the tile.

tileSource string
An optional identifier describing which cache is being queried.