TileRequest

Prepares information for calls to get the tile blob data by the tile key.

This class works only with versioned and volatile layers where the partitioning scheme is HERE Tile.

You can initialize the request class once for a specific catalog, layer, and version (@see TileRequestParams) and use it many times to get the a tile.

example
const params: TileRequestParams = {settings: "% your `OlpClientSettings` instance % ", catalogHrn: "% the HRN instance of your catalog %", layerId: "% your layer ID %", layerType: "% versioned or volatile %", catalogVersion: "% the catalog version; for versioned layers, the latest version is used by default %"}

const request = new TileRequest(params);

const requestForTile1 = request.withTileKey(yourTileKey1);
const requestForTile2 = request.withTileKey(yourTileKey2);

Hierarchy

  • TileRequest

Constructors

constructor

Methods

getBillingTag

  • getBillingTag(): undefined | string

getFetchOption

getTileKey

  • getTileKey(): undefined | QuadKey

withBillingTag

withFetchOption

withTileKey