@Beta(2020, 12) class Builder
Builder used to create an instance of FuzzyLocationDescriptor. Once constructed, the user cannot change the field values.
Builder()
Builder used to create an instance of FuzzyLocationDescriptor. Once constructed, the user cannot change the field values. |
fun boundingBox(boundingBox: BoundingBox): FuzzyLocationDescriptor.Builder
The bounding box for the search. |
|
fun build(): FuzzyLocationDescriptor
Constructs a new FuzzySearchSpecification. |
|
fun countryCodes(countryCodes: Set<String>): FuzzyLocationDescriptor.Builder
A comma-separated string of country codes (e.g., FR,ES). This will limit the search to the specified countries. |
|
fun mapCodes(mapCodes: List<MapCodeType>): FuzzyLocationDescriptor.Builder
The list of supported MapCodes. |
|
fun positionBias(positionBias: LatLngBias): FuzzyLocationDescriptor.Builder
The position where results should be biased. The radius parameter is specified in meters. |