GettingTileTileCacheEventArgs¶
Namespace: ThinkGeo.Core
Provides data for events raised when a tile is requested from the tile cache.
public class GettingTileTileCacheEventArgs : System.EventArgs
Inheritance object → EventArgs → GettingTileTileCacheEventArgs
Properties¶
Zoom¶
Gets or sets the zoom level for the tile request.
public int Zoom { get; set; }
Property Value¶
X¶
Gets or sets the X index of the tile.
public long X { get; set; }
Property Value¶
Y¶
Gets or sets the Y index of the tile.
public long Y { get; set; }
Property Value¶
TileSource¶
Gets or sets an optional label describing which cache or provider issued the request.
public string TileSource { get; set; }
Property Value¶
Cancel¶
Gets or sets a value indicating whether the tile retrieval should be canceled.
public bool Cancel { get; set; }
Property Value¶
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.