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¶
This property is the Bitmap showing the tileView image.
public GeoImage Bitmap { 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(GeoImage, Int32, Int64, Int64)¶
This is the constructor for Tile by passing image bitmap and the boundingBox and scale.
public RasterTile(GeoImage image, int zoom, long column, long row)
Parameters¶
image
GeoImage
zoom
Int32
column
Int64
row
Int64
Methods¶
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()