Top-level OGC API Tiles handle. Mirrors HonuaOgcFeatures for the tiles conformance classes.

Constructors

Properties

client: HonuaClient

Methods

  • Resolve the source-layer name to use in a MapLibre layer that renders the collection's vector tiles. The Honua server names the MVT layer after the collection identifier; for folder-prefixed identifiers the trailing segment is the layer name (the folder is a routing prefix, not part of the layer name baked into the tile).

    Parameters

    • serviceId: string

    Returns string

  • Build a MapLibre-ready vector source definition for a tiled collection.

    Produces a { type: "vector", tiles: ["…/{z}/{y}/{x}"] } object whose tile URL points at the canonical OGC API Tiles collection-tile route on the SDK's configured baseUrl. The MapLibre {z}/{y}/{x} placeholders are kept literal (the braces are not percent-encoded) while the collection / service identifier is encoded per path segment so folder-prefixed identifiers like myFolder/parcels serialize correctly.

    No network request is made; this is a pure URL-template builder. Pass minzoom / maxzoom to constrain the source, otherwise MapLibre's defaults apply.

    Parameters

    Returns MapLibreVectorSourceSpec