你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MapsRenderingClient.GetMapCopyrightAttribution 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取地图归属 API 允许用户请求图块集某部分的地图版权归属信息。
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))
参数
- tileSetId
- MapTileSetId
图块集是在预设缩放级别分解为方形图块的统一网格的光栅或矢量数据的集合。 发出请求时, MapTileSetId 每个图块集都有要使用的 。 MapTileSetId使用 Azure Maps Creator 创建的磁贴集通过磁贴集创建 API 生成。 下面列出了Azure Maps提供的现成磁贴集。 例如,microsoft.base
。
- boundingBox
- GeoBoundingBox
表示 GeoBoundingBox 边界框的矩形区域的 。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
例外
tileSetId
或 boundingBox
为 null。