MapsRenderingClient.GetMapTileSet(MapTileSetId, CancellationToken) 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 Azure.Response<Azure.Maps.Rendering.MapTileSet> GetMapTileSet (Azure.Maps.Rendering.MapTileSetId tileSetId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMapTileSet : Azure.Maps.Rendering.MapTileSetId * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Rendering.MapTileSet>
override this.GetMapTileSet : Azure.Maps.Rendering.MapTileSetId * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Rendering.MapTileSet>
Public Overridable Function GetMapTileSet (tileSetId As MapTileSetId, Optional cancellationToken As CancellationToken = Nothing) As 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.