UNPKG

@deck.gl/carto

Version:

CARTO official integration with Deck.gl. Build geospatial applications using CARTO and Deck.gl.

12 lines (9 loc) 260 B
// deck.gl // SPDX-License-Identifier: MIT // Copyright (c) vis.gl contributors import Protobuf from 'pbf'; export function parsePbf(buffer: ArrayBuffer, TileReader) { const pbf = new Protobuf(buffer); const tile = TileReader.read(pbf); return tile; }