Tile
Tile Class¶
A slippy-map tile identified by zoom Z and column/row X/Y
(Bing/web-mercator quadkey scheme). Owns a native handle — dispose when done.
public sealed class Tile : System.IDisposable
Inheritance System.Object → Tile
Implements System.IDisposable
Properties¶
Tile.X Property¶
Tile column.
public uint X { get; }
Property Value¶
Tile.Y Property¶
Tile row.
public uint Y { get; }
Property Value¶
Tile.Z Property¶
Zoom level.
public byte Z { get; }
Property Value¶
Methods¶
Tile.Bbox() Method¶
The tile's geographic bounds.
public Infrared.Sandbox.CsBindgen.BBox Bbox();
Returns¶
BBox
A BBox in lon/lat degrees.
Tile.Create(byte, uint, uint) Method¶
Create a tile from zoom z and tile coordinates x, y.
public static Infrared.Sandbox.CsBindgen.Tile Create(byte z, uint x, uint y);
Parameters¶
Zoom level.
Tile column.
Tile row.
Returns¶
Tile.Dispose() Method¶
Release the native tile handle.
public void Dispose();
Implements Dispose()
Tile.FromQuadkey(string) Method¶
Parse a tile from a quadkey string.
public static Infrared.Sandbox.CsBindgen.Tile FromQuadkey(string quadkey);
Parameters¶
quadkey System.String
A quadkey of digits 0-3, at most 30 long.
Returns¶
Exceptions¶
SandboxException
If the quadkey is invalid.
Tile.Quadkey() Method¶
The tile's quadkey string.
public string Quadkey();
Returns¶
System.String
The quadkey.