【发布时间】:2015-02-26 21:11:23
【问题描述】:
我想使用 GeoPoints 搜索两个给定距离之间的位置。使用当前的 api,我想我可以做出类似这样的伪算法:
query.whereWithinKilometers("directions", GlobalData.ownerGeoPoint, MAXIMUM distance);
减号
query.whereWithinKilometers("directions", GlobalData.ownerGeoPoint, MINIMUM distance);
我怎样才能翻译成真正的代码?
【问题讨论】:
-
听起来你想在一个甜甜圈形状的区域里找东西。对吗?
-
是的,danh。
标签: android parse-platform pfquery geopoints