Builder

class Builder(center: Point)

Builder for comfortable creation of ReverseGeoOptions instance.

Constructors

Builder
Link copied to clipboard
fun Builder(center: Point)

Functions

build
Link copied to clipboard
fun build(): ReverseGeoOptions
Create ReverseGeoOptions instance from builder data.
countries
Link copied to clipboard
fun countries(vararg countries: IsoCountryCode): ReverseGeoOptions.Builder
Limit results to one or more countries.
fun countries(countries: List<IsoCountryCode>): ReverseGeoOptions.Builder
Limit results to one or more countries.
languages
Link copied to clipboard
fun languages(vararg languages: IsoLanguageCode): ReverseGeoOptions.Builder
Specify the user’s language.
fun languages(languages: List<IsoLanguageCode>): ReverseGeoOptions.Builder
Specify the user’s language.
limit
Link copied to clipboard
fun limit(limit: Int): ReverseGeoOptions.Builder
Specify the maximum number of results to return.
reverseMode
Link copied to clipboard
fun reverseMode(reverseMode: ReverseMode): ReverseGeoOptions.Builder
Decides how results are sorted in a reverse geocoding query.
types
Link copied to clipboard
fun types(vararg types: QueryType): ReverseGeoOptions.Builder
Filter results to include only a subset (one or more) of the available feature types.
fun types(types: List<QueryType>): ReverseGeoOptions.Builder
Filter results to include only a subset (one or more) of the available feature types.