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 viewport.
fun setAllowedResultTypes(allowedResultTypes: List<SuggestedType>): SuggestQueryBuilder
Set the object types allowed in the query result.
The default set includes all types except Route.
fun setSuggestorType(suggestorType: SuggestorType): SuggestQueryBuilder
Set suggester type.
#SuggestorType by default::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.