StructuredQuery.AddressElements (API Reference)
Class StructuredQuery.AddressElements
- Enclosing class:
- StructuredQuery
Defines query address elements which will be used to build address hierarchy during searches. It is advised to provide at least one intermediate address element when a large address element is provided for small admin area searches. For example if a user is building a query for a street and providing only country as an address element, consider providing city along with it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionAn optional field of city name, which will be used to get the results only from the given city.An optional field of country name or code, which will be used to get the results only from the given country.An optional field of district, which will be used to get the results only from the given district.An optional field of postal code, which will be used to get the results only within the given postal code. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
country
An optional field of country name or code, which will be used to get the results only from the given country.
-
city
An optional field of city name, which will be used to get the results only from the given city.
-
postalCode
An optional field of postal code, which will be used to get the results only within the given postal code.
-
district
An optional field of district, which will be used to get the results only from the given district.
-
-
Constructor Details
-
AddressElements
public AddressElements()Creates a new instance.
-
-
Method Details