MapsSearchClient.GetReverseGeocodingBatch 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 Reverse Geocoding Batch API sends batches of queries to Reverse Geocoding API using just a single API call. The API allows caller to batch up to 100
queries.
A reverse geocoding batchItem object can accept any of the supported reverse geocoding URI parameters.
The batch should contain at least 1
query.
public virtual Azure.Response<Azure.Maps.Search.Models.GeocodingBatchResponse> GetReverseGeocodingBatch (System.Collections.Generic.IEnumerable<Azure.Maps.Search.Models.ReverseGeocodingQuery> queries, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReverseGeocodingBatch : seq<Azure.Maps.Search.Models.ReverseGeocodingQuery> * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.GeocodingBatchResponse>
override this.GetReverseGeocodingBatch : seq<Azure.Maps.Search.Models.ReverseGeocodingQuery> * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.GeocodingBatchResponse>
Public Overridable Function GetReverseGeocodingBatch (queries As IEnumerable(Of ReverseGeocodingQuery), Optional cancellationToken As CancellationToken = Nothing) As Response(Of GeocodingBatchResponse)
Parameters
- queries
- IEnumerable<ReverseGeocodingQuery>
The list of reverse geocoding queries/requests to process. The list can contain a max of 100 queries and must contain at least 1 query.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
queries
is empty.