| 程序包 | 说明 |
|---|---|
| cn.leancloud | |
| cn.leancloud.ops | |
| cn.leancloud.query | |
| cn.leancloud.types |
| 限定符和类型 | 方法和说明 |
|---|---|
AVGeoPoint |
AVObject.getAVGeoPoint(String key) |
| 限定符和类型 | 方法和说明 |
|---|---|
AVQuery<T> |
AVQuery.whereNear(String key,
AVGeoPoint point)
Add a proximity based constraint for finding objects with key point values near the point
given.
|
AVQuery<T> |
AVQuery.whereWithinGeoBox(String key,
AVGeoPoint southwest,
AVGeoPoint northeast)
Add a constraint to the query that requires a particular key's coordinates be contained within
a given rectangular geographic bounding box.
|
AVQuery<T> |
AVQuery.whereWithinKilometers(String key,
AVGeoPoint point,
double maxDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
AVQuery<T> |
AVQuery.whereWithinKilometers(String key,
AVGeoPoint point,
double maxDistance,
double minDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the given ring area
Radius of earth used is 6371.0 kilometers.
|
AVQuery<T> |
AVQuery.whereWithinMiles(String key,
AVGeoPoint point,
double maxDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
AVQuery<T> |
AVQuery.whereWithinMiles(String key,
AVGeoPoint point,
double maxDistance,
double minDistance)
Add a proximity based constraint for finding objects with key point values near the point
given and within the given ring.
|
AVQuery<T> |
AVQuery.whereWithinRadians(String key,
AVGeoPoint point,
double maxDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
AVQuery<T> |
AVQuery.whereWithinRadians(String key,
AVGeoPoint point,
double maxDistance,
double minDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AVGeoPoint |
Utils.geoPointFromMap(Map<String,Object> map) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
BaseOperation.encodeGeoPointer(AVGeoPoint o) |
static Map<String,Object> |
Utils.mapFromGeoPoint(AVGeoPoint point) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
QueryConditions.whereNear(String key,
AVGeoPoint point) |
void |
QueryConditions.whereWithinGeoBox(String key,
AVGeoPoint southwest,
AVGeoPoint northeast) |
void |
QueryConditions.whereWithinKilometers(String key,
AVGeoPoint point,
double maxDistance) |
void |
QueryConditions.whereWithinKilometers(String key,
AVGeoPoint point,
double maxDistance,
double minDistance) |
void |
QueryConditions.whereWithinMiles(String key,
AVGeoPoint point,
double maxDistance) |
void |
QueryConditions.whereWithinMiles(String key,
AVGeoPoint point,
double maxDistance,
double minDistance) |
void |
QueryConditions.whereWithinRadians(String key,
AVGeoPoint point,
double maxDistance) |
void |
QueryConditions.whereWithinRadians(String key,
AVGeoPoint point,
double maxDistance,
double minDistance) |
| 限定符和类型 | 方法和说明 |
|---|---|
double |
AVGeoPoint.distanceInKilometersTo(AVGeoPoint point) |
double |
AVGeoPoint.distanceInMilesTo(AVGeoPoint point)
Get distance between this point and another geopoint in kilometers.
|
double |
AVGeoPoint.distanceInRadiansTo(AVGeoPoint point)
Get distance in radians between this point and another GeoPoint.
|
Copyright © 2019. All rights reserved.