MapsRenderingClient.GetMapTileSetAsync 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.
The Get Map Tileset API allows users to request metadata for a tileset.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Rendering.MapTileSet>> GetMapTileSetAsync (Azure.Maps.Rendering.MapTileSetId tileSetId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMapTileSetAsync : Azure.Maps.Rendering.MapTileSetId * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Rendering.MapTileSet>>
override this.GetMapTileSetAsync : Azure.Maps.Rendering.MapTileSetId * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Rendering.MapTileSet>>
Public Overridable Function GetMapTileSetAsync (tileSetId As MapTileSetId, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MapTileSet))
Parameters
- tileSetId
- MapTileSetId
A tileset is a collection of raster or vector data broken up into a uniform grid of square tiles at preset zoom levels. Every tileset has a MapTileSetId to use when making requests. The MapTileSetId for tilesets created using Azure Maps Creator are generated through the Tileset Create API. The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base
.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
tileSetId
is null.
Applies to
Azure SDK for .NET