@idm-plugin/geo 1.8.6 → 1.8.8

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.
@@ -331,4 +331,5 @@ export declare class LaneHelper {
331
331
  */
332
332
  static reverseRoute(route: number[][][]): number[][][];
333
333
  static reverseCoordinates(coordinates: Coordinate[]): Coordinate[];
334
+ static waypoints2RTZ(name: string, waypoints: Coordinate[]): string;
334
335
  }
@@ -18,6 +18,11 @@ export declare class LngLatHelper {
18
18
  * @return timezone => +08:30
19
19
  */
20
20
  static prettyTimeZoneOffset(offset: number): string;
21
+ /**
22
+ * @param lng
23
+ * @param precision 3位小数在百米级,4位小数在十米级, 5位小数在米级
24
+ * @param format
25
+ */
21
26
  static lng2pretty(lng: number, precision?: number, format?: string): LngLatPretty;
22
27
  /**
23
28
  * 纬度转化为精确数值
@@ -39,12 +44,12 @@ export declare class LngLatHelper {
39
44
  static roundPrecision(num: number, precision?: number): number;
40
45
  /**
41
46
  * 转换为按经度单调增/减的坐标数组
42
- * @param coordinates [[lng, lat]]
47
+ * @param coordinates
43
48
  */
44
49
  static convertToMonotonicLng2(coordinates: number[][]): number[][];
45
50
  /**
46
51
  * 转移为按经度单调增/减的坐标数组
47
- * @param coordinates [{lng, lat}]
52
+ * @param coordinates
48
53
  */
49
54
  static convertToMonotonicLng(coordinates: {
50
55
  lng: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idm-plugin/geo",
3
3
  "private": false,
4
- "version": "1.8.6",
4
+ "version": "1.8.8",
5
5
  "description": "idm plugin for geo in browser",
6
6
  "type": "module",
7
7
  "keywords": [