Class MapboxVectorLayer

A MapboxVectorLayer is a storage structure for the vector tile. It may contain either the old Mapbox layers or the new S2 layers. Parses extent, keys, values, and features. Features will utilize the extent, keys, and values.

Constructors

Methods

Constructors

  • Parameters

    • pbf: Pbf

      The Protobuf object to read from

    • end: number

      The end position of the message in the buffer

    • isS2: boolean = false

      Whether the layer is an S2 layer or Mapbox layer

    Returns MapboxVectorLayer

Methods