MultiVectorTile¶
Namespace: ThinkGeo.Core
public class MultiVectorTile : VectorTile
Inheritance Object → Tile → VectorTile → MultiVectorTile
Properties¶
IsFromCache¶
public bool IsFromCache { get; set; }
Property Value¶
Content¶
public Byte[] Content { get; set; }
Property Value¶
ZoomIndex¶
public int ZoomIndex { get; set; }
Property Value¶
X¶
public long X { get; set; }
Property Value¶
Column¶
public long Column { get; set; }
Property Value¶
Y¶
public long Y { 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¶
MultiVectorTile(IEnumerable<VectorTile>, Int32, Int64, Int64)¶
Constructor will merge the given tiles into one valid gzip blob.
public MultiVectorTile(IEnumerable<VectorTile> tiles, int zoom, long x, long y)
Parameters¶
tiles
IEnumerable<VectorTile>
zoom
Int32
x
Int64
y
Int64
MultiVectorTile(Byte[], Int32, Int64, Int64)¶
For deserialization or cache hits: just pass through.
public MultiVectorTile(Byte[] content, int zoom, long x, long y)
Parameters¶
content
Byte[]
zoom
Int32
x
Int64
y
Int64