Create a new tile client bound to the given connector.
Byte-range reader for accessing FGB files. Shared
across all subsequent tile() calls.
Optionaloptions: TileOptionsTile-level tiling option defaults applied to every call unless overridden by per-source options.
Release connector resources (pooled connections, file handles, etc.).
After calling close(), this client instance must not be used again.
Resolves when the underlying connector has been closed.
Generate a vector tile from multiple FlatGeobuf sources.
Each source produces one MVT layer in the output PBF. Layer ordering
matches the order of the sources array.
Tile zoom level.
Tile column.
Tile row.
Array of source descriptors; each becomes one MVT layer.
PBF-encoded Mapbox Vector Tile containing one layer per source.
Generate a vector tile from a single FlatGeobuf source.
Convenience overload that wraps the source in a single-element array and delegates to the multi-source implementation.
Tile zoom level.
Tile column.
Tile row.
Single source descriptor; produces one MVT layer.
PBF-encoded Mapbox Vector Tile containing one layer.
Semi-stateful tile client.
A single Connector is bound at construction; Source descriptors are provided per
tile()call. An instance-level tile bounds cache is shared across calls, avoiding redundant tile-to-mercator calculations.Use case: application sharing one HTTP connector (with auth headers) but querying different FGB sources depending on request context.
Example