NearbySearchFilter

open class NearbySearchFilter(val language: String?, val maxRadius: Long = 0, val maxNumber: Long = 0, val classID: Long = -1, val distanceByRoute: Boolean = false) : SearchFilter

A search filter used for ReverseSearchEngine.searchAround

Parameters

language

The preferred language that will be used to perform the address lookup (An US-ASCII string that defines an ISO 639-1 (2-letter) language code). If empty or there is no available translation in map data, the default language will be used (each country has a default official language)

maxRadius

The circle radius in meters, 0 to search until maxNumber POIs found

maxNumber

The maximum number of POIs to search for, 0 to look for every POI in maxRadius

classID

The class ID of the POIs to search, -1 to search for any POI

distanceByRoute

Return distance as a crow flies (false) or by route (true)

Inheritors

Constructors

Link copied to clipboard
constructor(language: String?, maxRadius: Long = 0, maxNumber: Long = 0, classID: Long = -1, distanceByRoute: Boolean = false)

Properties

Link copied to clipboard
open val classID: Long
Link copied to clipboard
Link copied to clipboard
open override val language: String?
Link copied to clipboard
open val maxNumber: Long
Link copied to clipboard
open val maxRadius: Long