@idm-plugin/geo 1.8.6 → 1.8.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/dist/index.js +29 -24
- package/dist/index.umd.cjs +2 -2
- package/dist/lngLat/src/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -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
|
* 纬度转化为精确数值
|