SearchResultType

enum SearchResultType : Enum<SearchResultType>

Defines type of search result.

Entries

COUNTRY
Link copied to clipboard
Generally recognized countries or, in some cases like Hong Kong, an area of quasi-national administrative status that has been given a designated country code under ISO 3166-1.
REGION
Link copied to clipboard
Top-level sub-national administrative features, such as states in the United States or provinces in Canada or China.
POSTCODE
Link copied to clipboard
Postal codes used in country-specific national addressing systems.
DISTRICT
Link copied to clipboard
Features that are smaller than top-level administrative features but typically larger than cities, in countries that use such an additional layer in postal addressing (for example, prefectures in China).
PLACE
Link copied to clipboard
Typically these are cities, villages, municipalities, etc.
LOCALITY
Link copied to clipboard
Official sub-city features present in countries where such an additional administrative layer is used in postal addressing, or where such features are commonly referred to in local parlance.
NEIGHBORHOOD
Link copied to clipboard
Colloquial sub-city features often referred to in local parlance.
STREET
Link copied to clipboard
Features that are smaller than places and that correspond to streets in cities, villages, etc.
ADDRESS
Link copied to clipboard
Individual residential or business addresses.
POI
Link copied to clipboard
POI()
Points of interest.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int