@idm-plugin/geo 1.5.6 → 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.
- package/README.md +1 -1
- package/dist/index.js +353 -397
- package/dist/index.umd.cjs +2 -2
- package/dist/lane/src/index.d.ts +0 -19
- package/package.json +2 -3
package/dist/lane/src/index.d.ts
CHANGED
|
@@ -321,23 +321,4 @@ export declare class LaneHelper {
|
|
|
321
321
|
*/
|
|
322
322
|
static reverseRoute(route: number[][][]): number[][][];
|
|
323
323
|
static reverseCoordinates(coordinates: Coordinate[]): Coordinate[];
|
|
324
|
-
/**
|
|
325
|
-
* 计算AIRoute
|
|
326
|
-
* @param from
|
|
327
|
-
* @param to
|
|
328
|
-
* @param options
|
|
329
|
-
*/
|
|
330
|
-
static calculateAIRoute(from: Coordinate, to: Coordinate, options?: {
|
|
331
|
-
requestId?: string;
|
|
332
|
-
open?: string;
|
|
333
|
-
close?: string;
|
|
334
|
-
timeout?: number;
|
|
335
|
-
}): Promise<any>;
|
|
336
|
-
/**
|
|
337
|
-
* 重新加载AI路由数据
|
|
338
|
-
* @param options
|
|
339
|
-
*/
|
|
340
|
-
static reloadAIRoute(options: {
|
|
341
|
-
requestId: string;
|
|
342
|
-
}): Promise<boolean>;
|
|
343
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
|
-
"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"
|