@idm-plugin/geo 1.5.5 → 1.5.7

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.
@@ -316,22 +316,9 @@ export declare class LaneHelper {
316
316
  */
317
317
  static nearestTSPointInWaypoints(ts: number, step: number, waypoints: Coordinate[]): Coordinate | undefined;
318
318
  /**
319
- * 计算AIRoute
320
- * @param from
321
- * @param to
322
- * @param options
323
- */
324
- static calculateAIRoute(from: Coordinate, to: Coordinate, options?: {
325
- requestId?: string;
326
- open?: string;
327
- close?: string;
328
- timeout?: number;
329
- }): Promise<any>;
330
- /**
331
- * 重新加载AI路由数据
332
- * @param options
319
+ * 翻转轨迹
320
+ * @param route
333
321
  */
334
- static reloadAIRoute(options: {
335
- requestId: string;
336
- }): Promise<boolean>;
322
+ static reverseRoute(route: number[][][]): number[][][];
323
+ static reverseCoordinates(coordinates: Coordinate[]): Coordinate[];
337
324
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@idm-plugin/geo",
3
3
  "private": false,
4
- "version": "1.5.5",
5
- "description": "idm plugin for geo",
4
+ "version": "1.5.7",
5
+ "description": "idm plugin for geo in browser",
6
6
  "type": "module",
7
7
  "keywords": [
8
8
  "idm",
@@ -29,7 +29,6 @@
29
29
  "dependencies": {
30
30
  "@log4js-node/log4js-api": "^1.0.2",
31
31
  "@turf/turf": "^6.5.0",
32
- "got": "11",
33
32
  "moment": "^2.30.1",
34
33
  "moment-timezone": "^0.5.45",
35
34
  "tz-lookup": "^6.1.25"