MCPcopy Create free account
hub / github.com/mapbox/pbf / writeTile

Function writeTile

test/fixtures/vector_tile.js:10–12  ·  view source on GitHub ↗
(obj, pbf)

Source from the content-addressed store, hash-verified

8 return obj;
9}
10export function writeTile(obj, pbf) {
11 if (obj.layers) for (const item of obj.layers) pbf.writeMessage(3, writeTileLayer, item);
12}
13
14export const TileGeomType = {
15 "UNKNOWN": 0,

Callers 3

bench-tiles.jsFile · 0.90
bench.jsFile · 0.90
compile.test.jsFile · 0.85

Calls 1

writeMessageMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…