where Near Sphere Miles
fun whereNearSphereMiles(key: String, centerLocation: NCMBGeoPoint, maxDistance: Double)
Content copied to clipboard
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
center Location
center location for data searching
max Distance
search radius distance from center point in miles