VersionedLayerClient

Describes a versioned layer and provides the possibility to get partitions metadata and data.

Hierarchy

  • VersionedLayerClient

Index

Constructors

constructor

Methods

getAggregatedData

  • getAggregatedData(request: TileRequest, abortSignal?: AbortSignal): Promise<Response>
  • brief
    Fetches data of a tile or its closest ancestor. Use this API for tile-tree structures where children tile data is aggregated and stored in parent tiles.

    Parameters

    • request: TileRequest

      The TileRequest instance that contains a complete set of request parameters.

    • Optional abortSignal: AbortSignal

      A signal object that allows you to communicate with a request (such as the fetch request) and, if required, abort it using the AbortController object.

      For more information, see the AbortController documentation.

    Returns Promise<Response>

    Tile data (if it exists) or the nearest parent tile data

getData

  • getData(dataRequest: DataRequest, abortSignal?: AbortSignal): Promise<Response>

getPartitions