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 Object → Tile → RasterTile
Implements IDisposable
Properties¶
Bitmap¶
public GeoImage Bitmap { get; set; }
Property Value¶
RasterData¶
This property is the Bitmap showing the tileView image.
public Byte[] RasterData { get; set; }
Property Value¶
ZoomIndex¶
public int ZoomIndex { get; set; }
Property Value¶
Column¶
public long Column { get; set; }
Property Value¶
Row¶
public long Row { get; set; }
Property Value¶
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¶
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¶
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()