DataClient.GetCollectionAssetsForTileAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetCollectionAssetsForTileAsync(GetCollectionAssetsForTileOptions, RequestContext) |
[Protocol Method] Return assets overlapping a tile for a collection using the route with TileMatrixSetId in the path (/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets). Use this operation when you need an explicit tile matrix set in the URL.
|
| GetCollectionAssetsForTileAsync(GetCollectionAssetsForTileOptions, CancellationToken) |
Return assets overlapping a tile for a collection using the route with TileMatrixSetId in the path (/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets). Use this operation when you need an explicit tile matrix set in the URL. |
GetCollectionAssetsForTileAsync(GetCollectionAssetsForTileOptions, RequestContext)
- Source:
- DataClient.cs
[Protocol Method] Return assets overlapping a tile for a collection using the route with TileMatrixSetId in the path (/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets). Use this operation when you need an explicit tile matrix set in the URL.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> GetCollectionAssetsForTileAsync(Azure.Analytics.PlanetaryComputer.GetCollectionAssetsForTileOptions options, Azure.RequestContext context);
abstract member GetCollectionAssetsForTileAsync : Azure.Analytics.PlanetaryComputer.GetCollectionAssetsForTileOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetCollectionAssetsForTileAsync : Azure.Analytics.PlanetaryComputer.GetCollectionAssetsForTileOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetCollectionAssetsForTileAsync (options As GetCollectionAssetsForTileOptions, context As RequestContext) As Task(Of Response)
Parameters
The options for the getCollectionAssetsForTile request.
- context
- RequestContext
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
options is null.
Service returned a non-success status code.
Applies to
GetCollectionAssetsForTileAsync(GetCollectionAssetsForTileOptions, CancellationToken)
- Source:
- DataClient.cs
Return assets overlapping a tile for a collection using the route with TileMatrixSetId in the path (/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets). Use this operation when you need an explicit tile matrix set in the URL.
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.TilerAssetGeoJson>>> GetCollectionAssetsForTileAsync(Azure.Analytics.PlanetaryComputer.GetCollectionAssetsForTileOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCollectionAssetsForTileAsync : Azure.Analytics.PlanetaryComputer.GetCollectionAssetsForTileOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.TilerAssetGeoJson>>>
override this.GetCollectionAssetsForTileAsync : Azure.Analytics.PlanetaryComputer.GetCollectionAssetsForTileOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.TilerAssetGeoJson>>>
Public Overridable Function GetCollectionAssetsForTileAsync (options As GetCollectionAssetsForTileOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IReadOnlyList(Of TilerAssetGeoJson)))
Parameters
The options for the getCollectionAssetsForTile request.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
options is null.
Service returned a non-success status code.