public class SimpleLocationCorrectStrategy
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
SimpleLocationCorrectStrategy.RecordLocationListener |
| 构造器和说明 |
|---|
SimpleLocationCorrectStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
MogoLatLng |
computerThatLonLat(double lon,
double lat,
double brng,
double dist)
根据距离和角度计算下一个经纬度
大地坐标系资料WGS-84 长半径a=6378137 短半径b=6356752.3142 扁率f=1/298.2572236
|
CloudLocationInfo |
correct(CloudLocationInfo info) |
static SimpleLocationCorrectStrategy |
getInstance() |
void |
setRecordLocationListener(SimpleLocationCorrectStrategy.RecordLocationListener recordLocationListener) |
public static SimpleLocationCorrectStrategy getInstance()
public CloudLocationInfo correct(CloudLocationInfo info)
public void setRecordLocationListener(SimpleLocationCorrectStrategy.RecordLocationListener recordLocationListener)
public MogoLatLng computerThatLonLat(double lon, double lat, double brng, double dist)