sdk-search / com.tomtom.online.sdk.search.fuzzy / FuzzyLocationDescriptor

FuzzyLocationDescriptor

@Beta(2020, 12) data class FuzzyLocationDescriptor

Specifies the location that will be used in the Fuzzy Search.

Parameters

positionBias - The position where results should be biased. The radius parameter is specified in meters.

countryCodes - A set of country codes (e.g., FR,ES). This will limit the search to the specified countries.

boundingBox - The bounding box for the search.

mapCodes - The enum type indicating supported MapCodes.

Types

Builder

class Builder

Builder used to create an instance of FuzzyLocationDescriptor. Once constructed, the user cannot change the field values.

Properties

boundingBox

val boundingBox: BoundingBox?

The bounding box for the search.

countryCodes

val countryCodes: Set<String>

A set of country codes (e.g., FR,ES). This will limit the search to the specified countries.

mapCodes

val mapCodes: Set<MapCodeType>

The enum type indicating supported MapCodes.

positionBias

val positionBias: LatLngBias?

The position where results should be biased. The radius parameter is specified in meters.