Skip to content

VectorTile

Namespace: ThinkGeo.Core

public class VectorTile : Tile

Inheritance ObjectTileVectorTile

Properties

Content

public Byte[] Content { get; set; }

Property Value

Byte[]

ZoomIndex

public int ZoomIndex { get; set; }

Property Value

Int32

Column

public long Column { 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

VectorTile()

public VectorTile()

VectorTile(Byte[], Int32, Int64, Int64)

public VectorTile(Byte[] content, int zoom, long column, long row)

Parameters

content Byte[]

zoom Int32

column Int64

row Int64

Methods

GetFeatures()

internal Collection<Feature> GetFeatures()

Returns

Collection<Feature>

GetFeatures(List<String>)

internal Collection<Feature> GetFeatures(List<string> pbfLayerNames)

Parameters

pbfLayerNames List<String>

Returns

Collection<Feature>

GetPbfLayers()

Read all pbf layers from vector tileView.

public Collection<PbfLayer> GetPbfLayers()

Returns

Collection<PbfLayer>
All pbf layers of vector tileView.