SearchOptions

class SearchOptions(val proximity: Point? = null, val boundingBox: BoundingBox? = null, val countries: List<String>? = null)

Search options, used for forward geocoding.

Constructors

Link copied to clipboard
constructor(proximity: Point? = null, boundingBox: BoundingBox? = null, countries: List<String>? = null)

Properties

Link copied to clipboard

Bounding box within which the search will be performed. If provided, proximity will be ignored.

Link copied to clipboard
val countries: List<String>? = null

Limit results to one or more countries.

Link copied to clipboard
val proximity: Point? = null

Bias the response to favor results that are closer to this location. If absent, current user location will be used, if available.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String