@idm-plugin/geo 1.6.8 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@ export interface Coordinate {
17
17
  velocity?: number;
18
18
  pilot?: boolean;
19
19
  positionTime?: number;
20
+ utc?: string;
20
21
  }
21
22
  export declare class LaneHelper {
22
23
  /**
@@ -321,6 +322,12 @@ export declare class LaneHelper {
321
322
  * @param positions 带时间(positionTime)的轨迹
322
323
  */
323
324
  static deadReckoning(ts: number, positions: Coordinate[]): any;
325
+ /**
326
+ * 推测船位时间
327
+ * @param coordinate
328
+ * @param positions
329
+ */
330
+ static deadReckoningTime(coordinate: Coordinate, positions: Coordinate[]): Coordinate | undefined;
324
331
  /**
325
332
  * 翻转轨迹
326
333
  * @param route
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idm-plugin/geo",
3
3
  "private": false,
4
- "version": "1.6.8",
4
+ "version": "1.7.0",
5
5
  "description": "idm plugin for geo in browser",
6
6
  "type": "module",
7
7
  "keywords": [