PathSnapshot
代表一次轨迹查询的结果。
getPathLength();
Section titled “getPathLength();” double getPathLength();获取当前轨迹快照的路程长度,单位为米 。
double
List getPoints();
Section titled “List getPoints();”List<Position> getPoints();获取当前轨迹中的所有 Position 对象。
List
getLatestPoint();
Section titled “getLatestPoint();”Position getLatestPoint();获取当前轨迹中最新的地理位置。
Position