Function writeOVTile

  • Write a tile to a Protobuf. and return a buffer

    Parameters

    • tile: BaseVectorTile | VectorTile

      the tile may be a base vector tile or a S2/Mapbox vector tile

    • verbose: boolean = false

      whether to print debug messages

    Returns Uint8Array

    • a protobuffer encoded buffer using the Open Vector Tile Spec