Skip to content

PbfLayer

Namespace: ThinkGeo.Core

Class to access a Pbf layer

public class PbfLayer

Inheritance ObjectPbfLayer

Properties

Name

Name of this layer https://github.com/mapbox/vector-tileView-spec/blob/master/2.1/vector_tile.proto#L57

public string Name { get; private set; }

Property Value

String

Version

Version of this layer https://github.com/mapbox/vector-tileView-spec/blob/master/2.1/vector_tile.proto#L55

public ulong Version { get; private set; }

Property Value

UInt64

Keys

Keys contained in this layer

public List<string> Keys { get; private set; }

Property Value

List<String>

Constructors

PbfLayer(Byte[])

Initialize Pbf layer with data

public PbfLayer(Byte[] data)

Parameters

data Byte[]
Raw layer data as byte array

Methods

GetPbfFeature(Int32)

Get a feature of this layer

internal PbfFeature GetPbfFeature(int featureIndex)

Parameters

featureIndex Int32
Index of the feature to request

Returns

PbfFeature
New vector tileView feature.