search Places
Gets the device's current location, then searches for places near that location, sorted by distance.
See also
Parameters
fun searchPlaces(radius: Int, chains: Array<String>?, categories: Array<String>?, groups: Array<String>?, limit: Int?, block: (status: Radar.RadarStatus, location: Location?, places: Array<RadarPlace>?) -> Unit)
Content copied to clipboard
Gets the device's current location, then searches for places near that location, sorted by distance.
See also
Parameters
Search for places near a location, sorted by distance.
See also
Parameters
near
The location to search.
radius
The radius to search, in meters. A number between 100 and 10000.
limit
The max number of places to return. A number between 1 and 100.
callback
A callback.
fun searchPlaces(near: Location, radius: Int, chains: Array<String>?, categories: Array<String>?, groups: Array<String>?, limit: Int?, block: (status: Radar.RadarStatus, location: Location?, places: Array<RadarPlace>?) -> Unit)
Content copied to clipboard
Search for places near a location, sorted by distance.
See also
Parameters
near
The location to search.
radius
The radius to search, in meters. A number between 100 and 10000.
limit
The max number of places to return. A number between 1 and 100.
block
A block callback.