whereNearSphereKilometers

fun whereNearSphereKilometers(key: String, centerLocation: NCMBGeoPoint, maxDistance: Double)

Set the conditions to search the data with location information, return data order by from near to far order, based on distance from centerLocation.

Parameters

key

field name that contains location information

centerLocation

center location for data searching

maxDistance

search radius distance from center point in kilometers