MapsRenderingClient.GetMapCopyrightAttribution 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 Attribution API allows users to request map copyright attribution information for a section of a tileset.
public virtual Azure.Response<System.Collections.Generic.IReadOnlyList<string>> GetMapCopyrightAttribution (Azure.Maps.Rendering.MapTileSetId tileSetId, Azure.Core.GeoJson.GeoBoundingBox boundingBox, int? zoom = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMapCopyrightAttribution : Azure.Maps.Rendering.MapTileSetId * Azure.Core.GeoJson.GeoBoundingBox * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<string>>
override this.GetMapCopyrightAttribution : Azure.Maps.Rendering.MapTileSetId * Azure.Core.GeoJson.GeoBoundingBox * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<string>>
Public Overridable Function GetMapCopyrightAttribution (tileSetId As MapTileSetId, boundingBox As GeoBoundingBox, Optional zoom As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
tileSetId
or boundingBox
is null.
Applies to
Azure SDK for .NET