@idm-plugin/geo 2.0.1 → 2.0.3

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.
@@ -241,7 +241,7 @@ export declare class LaneHelper {
241
241
  * 计算下一个距离单位的坐标及其子航线
242
242
  * @param from 起点坐标 {lng, lat}
243
243
  * @param distance 航行距离
244
- * @param route [[[lng, lat]]]
244
+ * @param route
245
245
  * @param units
246
246
  * @return { coordinate: {lng, lat}, route: [[[lng, lat]]]}
247
247
  */
@@ -343,6 +343,7 @@ export declare class LaneHelper {
343
343
  /**
344
344
  * 路径摘要
345
345
  * @param coordinates 已排序的坐标
346
+ * @param slowSpd 排出停航时间
346
347
  * @return {
347
348
  * begin: string, // 开始时间
348
349
  * end: string, // 结束时间
@@ -351,7 +352,7 @@ export declare class LaneHelper {
351
352
  * avgSpeed: number // 平均航速,单位节
352
353
  * }
353
354
  */
354
- static coordinatesSummary(coordinates: Coordinate[]): any;
355
+ static coordinatesSummary(coordinates: Coordinate[], slowSpd?: number): any;
355
356
  /**
356
357
  * 查询特定时间的船位及航行区间
357
358
  * @param utc
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idm-plugin/geo",
3
3
  "private": false,
4
- "version": "2.0.1",
4
+ "version": "2.0.3",
5
5
  "description": "idm plugin for geo in browser",
6
6
  "type": "module",
7
7
  "keywords": [