共用方式為


GeocodingBatchRequestItem Class

Definition

Batch Query object.

public class GeocodingBatchRequestItem
type GeocodingBatchRequestItem = class
Public Class GeocodingBatchRequestItem
Inheritance
GeocodingBatchRequestItem

Constructors

GeocodingBatchRequestItem()

Initializes a new instance of GeocodingBatchRequestItem.

Properties

AddressLine

The official street line of an address relative to the area, as specified by the locality, or postalCode, properties. Typical use of this element would be to provide a street address or any official address.

If query is given, should not use this parameter.

AdminDistrict

The country subdivision portion of an address, such as WA.

If query is given, should not use this parameter.

AdminDistrict2

The county for the structured address, such as King.

If query is given, should not use this parameter.

AdminDistrict3

The named area for the structured address.

If query is given, should not use this parameter.

BoundingBox

A rectangular area on the earth defined as a bounding box object. The sides of the rectangles are defined by longitude and latitude values. For more information, see Location and Area Types. When you specify this parameter, the geographical area is taken into account when computing the results of a location query.

Example: GeoBoundingBox(west, south, east, north)

Coordinates

A point on the earth specified as a longitude and latitude. When you specify this parameter, the user’s location is taken into account and the results returned may be more relevant to the user. Example: GeoPosition(longitude, latitude).

CountryRegion

Signal for the geocoding result to an ISO 3166-1 Alpha-2 region/country code that is specified e.g. FR./

If query is given, should not use this parameter.

Locality

The locality portion of an address, such as Seattle.

If query is given, should not use this parameter.

OptionalId

id of the request which would show in corresponding batchItem.

PostalCode

The postal code portion of an address.

If query is given, should not use this parameter.

Query

A string that contains information about a location, such as an address or landmark name.

Top

Maximum number of responses that will be returned. Default: 5, minimum: 1 and maximum: 20.

View

A string that specifies an ISO 3166-1 Alpha-2 region/country code. This will alter Geopolitical disputed borders and labels to align with the specified user region.

Applies to