@smart100/spu-web-plugin 1.0.11 → 1.0.13
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.d.ts +5 -0
- package/dist/spu-web-plugin.mjs +277 -335
- package/package.json +1 -1
- package/src/index.ts +2 -1
- package/src/map/AMapLoader.ts +1 -3
- package/src/map/MapService.ts +39 -34
- package/src/map/index.ts +92 -67
- package/src/tenantSetting.ts +51 -28
- package/src/types/index.d.ts +5 -0
package/dist/index.d.ts
CHANGED
|
@@ -99,6 +99,11 @@ export const getLocation: () => Promise<{
|
|
|
99
99
|
[propName: string]: any
|
|
100
100
|
} | null>
|
|
101
101
|
export const getDistance: (p1: [number, number], p2: [number, number]) => Promise<any>
|
|
102
|
+
export const getAddress: (location: {
|
|
103
|
+
longitude: string
|
|
104
|
+
latitude: string
|
|
105
|
+
[propName: string]: any
|
|
106
|
+
}) => Promise<string>
|
|
102
107
|
export const spuAxios: any
|
|
103
108
|
export const apaasAxios: any
|
|
104
109
|
export const axios: any
|