Skip to content

MultiVectorTile

Namespace: ThinkGeo.Core

public class MultiVectorTile : VectorTile

Inheritance ObjectTileVectorTileMultiVectorTile

Properties

IsFromCache

public bool IsFromCache { get; set; }

Property Value

Boolean

Content

public Byte[] Content { get; set; }

Property Value

Byte[]

ZoomIndex

public int ZoomIndex { get; set; }

Property Value

Int32

X

public long X { get; set; }

Property Value

Int64

Column

public long Column { get; set; }

Property Value

Int64

Y

public long Y { get; set; }

Property Value

Int64

Row

public long Row { get; set; }

Property Value

Int64

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

String

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