Query builder for suggester.
fun setSpatialRestriction(spatialRestriction: List?<GeoPoint>): SuggestQueryBuilder
Set the search area limit in the form of a polygon. The first and the last points of the polygon do not have to match.
No limit by default
fun setAreaOfInterest(rect: GeoRect?): SuggestQueryBuilder
Set a rectangular region of interest in geographic coordinates. A typical value is visible_rect from ICamera - the enclosing rectangle of the viewing area.
fun setAllowedResultTypes(allowedResultTypes: List<SuggestedType>): SuggestQueryBuilder
Set the object types allowed in the query result.
By default is all except Route
fun setSuggestorType(suggestorType: SuggestorType): SuggestQueryBuilder
Set the type of suggester.
The default value is #SuggestorType::General
fun setLimit(limit: Int): SuggestQueryBuilder
fun build(): SuggestQuery
Create a request to the suggester.
@JvmStatic fun fromQueryText(queryText: String): SuggestQueryBuilder
Start building a suggestion query for the given text and the area of interest.