NearbySearchFilter

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

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)