共用方式為


MapsRenderingClient.GetCopyrightFromBoundingBoxAsync Method

Definition

Returns copyright information for a given bounding box. Bounding-box requests should specify the minimum and maximum longitude and latitude (EPSG-3857) coordinates

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Rendering.RenderCopyright>> GetCopyrightFromBoundingBoxAsync (Azure.Core.GeoJson.GeoBoundingBox geoBoundingBox, bool includeText = true, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCopyrightFromBoundingBoxAsync : Azure.Core.GeoJson.GeoBoundingBox * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Rendering.RenderCopyright>>
override this.GetCopyrightFromBoundingBoxAsync : Azure.Core.GeoJson.GeoBoundingBox * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Rendering.RenderCopyright>>
Public Overridable Function GetCopyrightFromBoundingBoxAsync (geoBoundingBox As GeoBoundingBox, Optional includeText As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RenderCopyright))

Parameters

geoBoundingBox
GeoBoundingBox

Minimum coordinates (west, south, east, north) of bounding box in latitude longitude coordinate system. E.g. GeoBoundingBox(4.84228, 52.41064, 4,84923, 52.41762).

includeText
Boolean

Boolean value to include or exclude textual data from response. If false, only images and country names will be in response.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

geoBoundingBox is null.

Applies to