MapsSearchClient.GetPolygons 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 Polygon service allows you to request the geometry data such as a city or country outline for a set of entities, previously retrieved from an Online Search request in GeoJSON format. The geometry ID is returned in the sourceGeometry object under "geometry" and "id" in either a Search Address or Search Fuzzy call.
public virtual Azure.Response<Azure.Maps.Search.Models.PolygonResult> GetPolygons (System.Collections.Generic.IEnumerable<string> geometryIds, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPolygons : seq<string> * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.PolygonResult>
override this.GetPolygons : seq<string> * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.PolygonResult>
Public Overridable Function GetPolygons (geometryIds As IEnumerable(Of String), Optional cancellationToken As CancellationToken = Nothing) As Response(Of PolygonResult)
Parameters
- geometryIds
- IEnumerable<String>
Comma separated list of geometry UUIDs, previously retrieved from an Online Search request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Remarks
Get Polygon
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor