VersionedLayerClient | @here/olp-sdk-ts
Class VersionedLayerClient
Hierarchy
- VersionedLayerClient
Index
Constructors
Methods
Constructors
constructor
Creates the VersionedLayerClient instance with VersionedLayerClientParams.
Parameters
params: VersionedLayerClientParams
parameters for use to initialize VersionLayerClient.
Returns VersionedLayerClient
Methods
get Aggregated Data
Parameters
request: TileRequest
The
TileRequestinstance 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
fetchrequest) and, if required, abort it using theAbortControllerobject.For more information, see the
AbortControllerdocumentation.
Returns Promise<Response>
Tile data (if it exists) or the nearest parent tile data
get Data
Fetches partition data using one of the following methods: ID, quadkey, or data handle.
Parameters
dataRequest: DataRequest
The DataRequest instance of the configured request parameters.
Optional abortSignal: AbortSignal
A signal object that allows you to communicate with a request (such as the
fetchrequest) and, if required, abort it using theAbortControllerobject.For more information, see the
AbortControllerdocumentation.
Returns Promise<Response>
The data from the requested partition.
get Partitions
Fetches partitions metadata from the Query Service API using a quadkey.
Parameters
quadKeyPartitionsRequest: QuadKeyPartitionsRequest
The QuadKeyPartitionsRequest instance.
Optional abortSignal: AbortSignal
A signal object that allows you to communicate with a request (such as the
fetchrequest) and, if required, abort it using theAbortControllerobject.For more information, see the
AbortControllerdocumentation.
Returns Promise<QueryApi.Index>
The quadtree index for the requested partitions.
Fetches all partitions metadata from a layer using the partition ID from the PartitionsRequest instance.
Parameters
partitionsRequest: PartitionsRequest
The PartitionsRequest instance.
Optional abortSignal: AbortSignal
A signal object that allows you to communicate with a request (such as the
fetchrequest) and, if required, abort it using theAbortControllerobject.For more information, see the
AbortControllerdocumentation.
Returns Promise<MetadataApi.Partitions>
A list of metadata for each of the partitions from the requested layer.
If the partition IDs are not set, you get metadata from all of the partitions of the requested layer from the Metadata Service API. If the IDs are set, you get data from the Query Service API.
Generated using TypeDoc
Describes a versioned layer and provides the possibility to get partitions metadata and data.