Udostępnij za pośrednictwem


MapsRenderingClient.GetMapCopyrightAttributionAsync Method

Definition

The Get Map Attribution API allows users to request map copyright attribution information for a section of a tileset.

public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<string>>> GetMapCopyrightAttributionAsync (Azure.Maps.Rendering.MapTileSetId tileSetId, Azure.Core.GeoJson.GeoBoundingBox boundingBox, int? zoom = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMapCopyrightAttributionAsync : Azure.Maps.Rendering.MapTileSetId * Azure.Core.GeoJson.GeoBoundingBox * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<string>>>
override this.GetMapCopyrightAttributionAsync : Azure.Maps.Rendering.MapTileSetId * Azure.Core.GeoJson.GeoBoundingBox * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<string>>>
Public Overridable Function GetMapCopyrightAttributionAsync (tileSetId As MapTileSetId, boundingBox As GeoBoundingBox, Optional zoom As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IReadOnlyList(Of String)))

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.

boundingBox
GeoBoundingBox

The GeoBoundingBox that represents the rectangular area of a bounding box.

zoom
Nullable<Int32>

Zoom level for the desired map attribution. Available values are 0 to 22.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tileSetId or boundingBox is null.

Applies to