@idm-plugin/geo 1.9.3 → 1.9.5
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/dist/index.js +194 -172
- package/dist/index.umd.cjs +3 -3
- package/dist/lane/src/index.d.ts +16 -0
- package/dist/tropicals/src/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/lane/src/index.d.ts
CHANGED
|
@@ -362,4 +362,20 @@ export declare class LaneHelper {
|
|
|
362
362
|
* }
|
|
363
363
|
*/
|
|
364
364
|
static pickUTCSampleFromSpeed(utc: string, speed: any): any;
|
|
365
|
+
/**
|
|
366
|
+
* 查询特定时间的船位及航行区间
|
|
367
|
+
* @param utc 目标时间, UTC格式
|
|
368
|
+
* @param from 起点, 包含speed, etd, lat, lng
|
|
369
|
+
* @param route
|
|
370
|
+
* @return {
|
|
371
|
+
* routes: [],
|
|
372
|
+
* hour: Coordinate
|
|
373
|
+
* }
|
|
374
|
+
*/
|
|
375
|
+
static pickUTCSampleFromRoute(utc: string, from: {
|
|
376
|
+
lat: number;
|
|
377
|
+
lng: number;
|
|
378
|
+
speed: number;
|
|
379
|
+
etd: string;
|
|
380
|
+
}, route: any[]): any;
|
|
365
381
|
}
|