Builder

class Builder

Builder for OfflineSearchOptions instance creation.

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun boundingBox(boundingBox: BoundingBox): OfflineSearchOptions.Builder

Limit results to only those contained within the supplied bounding box.

Link copied to clipboard

Create OfflineSearchOptions instance from builder data.

Link copied to clipboard

Optional offline EV options.

Link copied to clipboard

Specify the maximum number of results to return. The maximum supported is 10.

Link copied to clipboard

Search origin point, used to calculate the distance to the search result.

Link copied to clipboard
fun proximity(proximity: Point?): OfflineSearchOptions.Builder

Bias the response to favor results that are closer to this location, provided as Point.

Link copied to clipboard

By default, when boundingBox is applied, all results outside the bounding box are filtered out. If searchPlacesOutsideBoundingBox is set to true, the search for places will be global, meaning results outside the boundingBox will not be filtered out, even if a boundingBox is applied. Default if false.